From 9bf5ada845c4c3e55af2243d1ff5c4b2acc9d0ea Mon Sep 17 00:00:00 2001 From: Caren Date: Fri, 5 Sep 2025 14:51:44 -0700 Subject: [PATCH 1/5] Add instructions about enabling imagen for running the app --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d15851d1..709ac850 100644 --- a/README.md +++ b/README.md @@ -26,15 +26,17 @@ The app combines a variety of different Google technologies, such as: ## Setup and installation 1. Clone the repository. -2. Create a [Firebase project](https://firebase.google.com/products/firebase-ai-logic) and +1. Create a [Firebase project](https://firebase.google.com/products/firebase-ai-logic) and generate a `google-services.json` file. Place the file in the app folder: `app/google-services.json`. Be sure to enable [Vertex AI API](https://console.cloud.google.com/apis/library/aiplatform.googleapis.com). Ensure to also enable [AppCheck](https://console.firebase.google.com/project/_/appcheck) on your Firebase project to prevent API abuse. -3. This project makes use of remote config on Firebase too, you can import the [Firebase Remote config](https://firebase.google.com/docs/remote-config) settings from +1. This project makes use of remote config on Firebase too, you can import the [Firebase Remote config](https://firebase.google.com/docs/remote-config) settings from [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml) -4. If you'd like to change the font that the app renders with, an optional spec can be placed in +1. In [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml), update the value of `use_imagen`[core/network/src/main/res/xml/remote_config_defaults.xml#L40] to `true`. + +1. If you'd like to change the font that the app renders with, an optional spec can be placed in `~/.gradle/gradle.properties` file: ```properties From 93e57f35a4f00482fd74ce98fcbb67ec0613903f Mon Sep 17 00:00:00 2001 From: Caren Date: Fri, 5 Sep 2025 14:53:24 -0700 Subject: [PATCH 2/5] fix broken link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 709ac850..3fff9947 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ The app combines a variety of different Google technologies, such as: 1. This project makes use of remote config on Firebase too, you can import the [Firebase Remote config](https://firebase.google.com/docs/remote-config) settings from [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml) -1. In [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml), update the value of `use_imagen`[core/network/src/main/res/xml/remote_config_defaults.xml#L40] to `true`. +1. In [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml), update the value of [`use_imagen`](core/network/src/main/res/xml/remote_config_defaults.xml#L40) to `true`. 1. If you'd like to change the font that the app renders with, an optional spec can be placed in `~/.gradle/gradle.properties` file: From 0e6c2f11e63f4bb7dd22296f3f0b50d85de19b63 Mon Sep 17 00:00:00 2001 From: Caren Date: Fri, 5 Sep 2025 14:57:53 -0700 Subject: [PATCH 3/5] fix numbering in list --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3fff9947..e73f3c47 100644 --- a/README.md +++ b/README.md @@ -26,17 +26,17 @@ The app combines a variety of different Google technologies, such as: ## Setup and installation 1. Clone the repository. -1. Create a [Firebase project](https://firebase.google.com/products/firebase-ai-logic) and +2. Create a [Firebase project](https://firebase.google.com/products/firebase-ai-logic) and generate a `google-services.json` file. Place the file in the app folder: `app/google-services.json`. Be sure to enable [Vertex AI API](https://console.cloud.google.com/apis/library/aiplatform.googleapis.com). Ensure to also enable [AppCheck](https://console.firebase.google.com/project/_/appcheck) on your Firebase project to prevent API abuse. -1. This project makes use of remote config on Firebase too, you can import the [Firebase Remote config](https://firebase.google.com/docs/remote-config) settings from +3. This project makes use of remote config on Firebase too, you can import the [Firebase Remote config](https://firebase.google.com/docs/remote-config) settings from [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml) -1. In [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml), update the value of [`use_imagen`](core/network/src/main/res/xml/remote_config_defaults.xml#L40) to `true`. +4. In [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml), update the value of [`use_imagen`](core/network/src/main/res/xml/remote_config_defaults.xml#L40) to `true`. -1. If you'd like to change the font that the app renders with, an optional spec can be placed in +5. If you'd like to change the font that the app renders with, an optional spec can be placed in `~/.gradle/gradle.properties` file: ```properties From 52ae31406e6f578eab6f3cde7883eb5c1afe40a2 Mon Sep 17 00:00:00 2001 From: Caren Date: Fri, 5 Sep 2025 14:58:59 -0700 Subject: [PATCH 4/5] update remote_config value before importing --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e73f3c47..1cea1cdb 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,9 @@ The app combines a variety of different Google technologies, such as: generate a `google-services.json` file. Place the file in the app folder: `app/google-services.json`. Be sure to enable [Vertex AI API](https://console.cloud.google.com/apis/library/aiplatform.googleapis.com). Ensure to also enable [AppCheck](https://console.firebase.google.com/project/_/appcheck) on your Firebase project to prevent API abuse. - -3. This project makes use of remote config on Firebase too, you can import the [Firebase Remote config](https://firebase.google.com/docs/remote-config) settings from +3. In [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml), update the value of [`use_imagen`](core/network/src/main/res/xml/remote_config_defaults.xml#L40) to `true`. +4. This project makes use of remote config on Firebase too, you can import the [Firebase Remote config](https://firebase.google.com/docs/remote-config) settings from [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml) - -4. In [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml), update the value of [`use_imagen`](core/network/src/main/res/xml/remote_config_defaults.xml#L40) to `true`. - 5. If you'd like to change the font that the app renders with, an optional spec can be placed in `~/.gradle/gradle.properties` file: From 2d4a06853b242a461f83eb879e98cbe367b84bf8 Mon Sep 17 00:00:00 2001 From: Caren Date: Fri, 5 Sep 2025 15:00:19 -0700 Subject: [PATCH 5/5] consolidate steps --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1cea1cdb..214eb0eb 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,9 @@ The app combines a variety of different Google technologies, such as: generate a `google-services.json` file. Place the file in the app folder: `app/google-services.json`. Be sure to enable [Vertex AI API](https://console.cloud.google.com/apis/library/aiplatform.googleapis.com). Ensure to also enable [AppCheck](https://console.firebase.google.com/project/_/appcheck) on your Firebase project to prevent API abuse. -3. In [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml), update the value of [`use_imagen`](core/network/src/main/res/xml/remote_config_defaults.xml#L40) to `true`. -4. This project makes use of remote config on Firebase too, you can import the [Firebase Remote config](https://firebase.google.com/docs/remote-config) settings from +3. This project makes use of remote config on Firebase. In [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml), update the value of [`use_imagen`](core/network/src/main/res/xml/remote_config_defaults.xml#L40) to `true`, then import the [Firebase Remote config](https://firebase.google.com/docs/remote-config) settings from [`remote_config_defaults.xml`](core/network/src/main/res/xml/remote_config_defaults.xml) -5. If you'd like to change the font that the app renders with, an optional spec can be placed in +4. If you'd like to change the font that the app renders with, an optional spec can be placed in `~/.gradle/gradle.properties` file: ```properties