From 7d17eca0e8b4ca200e6102c28995051d3ddfc114 Mon Sep 17 00:00:00 2001 From: Rodrigo Lazo Date: Wed, 24 Apr 2024 12:17:59 -0400 Subject: [PATCH 1/2] Update README.md Add caution section on top --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 0d18467f..60e3bb4d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # Google AI SDK for Android + +> [!CAUTION] +> The Google AI SDK for Android is recommended for prototyping only. If you plan to enable billing, we strongly recommend that you use a backend SDK to access the Google AI Gemini API. You risk +> potentially exposing your API key to malicious actors if you embed your API key directly in your Android app or fetch it remotely at runtime. + + The Google AI client SDK for Android enables developers to use Google's state-of-the-art generative AI models (like Gemini) to build AI-powered features and applications. This SDK supports use cases like: - Generate text from text-only input - Generate text from text-and-images input (multimodal) From 918f2dba2bdedb99d19e50c876e68f4c277e795c Mon Sep 17 00:00:00 2001 From: Rodrigo Lazo Date: Wed, 24 Apr 2024 12:54:00 -0400 Subject: [PATCH 2/2] Update README.md Co-authored-by: rachelsaunders <52258509+rachelsaunders@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 60e3bb4d..04533937 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ > [!CAUTION] -> The Google AI SDK for Android is recommended for prototyping only. If you plan to enable billing, we strongly recommend that you use a backend SDK to access the Google AI Gemini API. You risk +> **The Google AI SDK for Android is recommended for prototyping only.** If you plan to enable billing, we strongly recommend that you use a backend SDK to access the Google AI Gemini API. You risk > potentially exposing your API key to malicious actors if you embed your API key directly in your Android app or fetch it remotely at runtime.