к каталогу

📦 androidify/ android

Sample app for Androidify

Открыть на GitHubобновлён 1нед назад
Звёзды
2.0k
Форки
303
За неделю
За месяц
Рост %
Язык
Kotlin

Установка и запуск

Setup and installation

  1. Clone the repository.
  2. Create a Firebase project 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. Ensure to also enable AppCheck on your Firebase project to prevent API abuse.
  3. This project makes use of remote config on Firebase. In remote_config_defaults.xml, update the value of use_imagen to true, then import the Firebase Remote config settings from remote_config_defaults.xml.
    • Navigate to your Firebase project console.
    • In the left-hand menu, under the "Run" section, select "Remote Config".
    • Click on the "Upload template" button.
    • Browse and select the [setup/remote_config_defaults.json](setup/remote_config_defaults.json) file from your local repository.
    • Click "Publish" to apply the settings.
  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:
fontName="Roboto Flex"

For Googlers, get this info from go/androidify-api-setup

Из README репозитория · полный README на GitHub

Категории

Теги

androidcomposefirebasegeminijetpacksample