As you develop your app with Firebase AI Logic , you might want to go beyond the basics discussed in the main guides. The solutions outlined in this section offer guidance on more advanced use cases.
Protect your app from unauthorized clients
For mobile and web apps, you need to protect the Gemini API and your project resources from abuse by unauthorized clients. You can use Firebase App Check to verify that all API calls are from your actual app.
See the Firebase App Check guide
Update values in your app without releasing a new version of your app
If you need to dynamically change values in your app without releasing a new version of your app, you can use Firebase Remote Config . Examples include changing the model name, system instructions, prompts, safety settings, or input for a request.
See the Remote Config solution
Dynamically and conditionally set runtime configurations
If you want to set configurations based on runtime conditions, you can use Firebase Remote Config . One example is changing the location where you run the Vertex AI service and generative model based on an end-user's location.
See the Remote Config solution
Manage files and include large files in multimodal requests
By using Cloud Storage for Firebase , you can take advantage of a fast, secure, and scalable infrastructure for file storage and management. Plus, you can include larger files in your multimodal requests using a Cloud Storage for Firebase URL.
See the Cloud Storage for Firebase solution
We're actively working on other solutions and guides, so check back soon!

