Skip to content

reproio/remote-config-demo

Repository files navigation

Remote Config Sample Application

How to build the demo application.

  1. Install Android Studio Jellyfish or later.
  2. Clone this repository.
  3. Open this project in Android Studio.
  4. Android Studio should synchronize automatically with gradle, but you may need to synchronize manully with File > Sync Project with Gradle File.
  5. Then please select the app by build configuration.

6. You can build the demo app with `Run`.

  1. You may validate application runtime logs in the Logcat panel of the debug area.

Setup

  1. Please set your Repro SDK Token at MainActivity.kt > setupRepro() -> setup('<YOUR_REPRO_SDK_TOKEN>').
  2. You also may change the Repro SDK Version at app > build.gradle > dependencies to use the latest SDK.

Remote-Config Parameters

Key Type Example
title string Tシャツ
message string 夏に着るおしゃれアイテム!
title_color string 333333
image_url string, null https://example.com/sample.jpg
spring_mode string true
button_position string, A or B A

Change Theme

Spring theme is applied if spring_mode is set to "true". If you enable Spring Mode, you cannot change title_color.

Normal Mode Spring Mode
normal mode spring mode
Button Position A Button Position B
button position A button position B

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages