Waller
1.0
1.0
  • Welcome
  • Installation
    • Getting Started
    • Import Project
    • Package Name ( app id )
    • Firebase
    • Push Notification
    • Access Key
    • Remote Config
    • Ad Networks
    • Change Logo
    • Change Color
    • Change Text
  • Changelog
  • Rating and Support
  • License
Powered by GitBook
On this page
  1. Installation

Remote Config

Firebase remote Config

PreviousAccess KeyNextAd Networks

Last updated 2 years ago

ENABLE or DISABLE

set true for fetch config with firebase remote config

public class AppConfig {
    public static final boolean USE_REMOTE_CONFIG = true;
}

Remote config is used to update data and some important configurations in the application. This configuration can change from firebase console .

This step is optional, you can change App Config directly to file on android AppConfig.java, but after app publish you can change app configration from firebase remote Config.

If you need more explanation about Remote Config here video from Firebase

Remote Config used for this app, you can configure Ads, Notification, and General data from this file. Some values are not explained and can be understood easily according to the variable name * value can change remotely (optional), please read documentation to follow instruction.

We have 3 section for config, General, Ads, Notification :

AppConfig.java
public class AppConfig {
    // config for General Application
    public static class General {
        . . .
    }

    // config for Ad Network
    public static class Ads {
        . . .
    }
    
    // config for Notification
    public static class Notification {
        . . .
    }
}

How to change Config?

3. Add Key Value , key is the lowercase name variable at AppConfig.java this is remote config form

1. Go to your firebase console , select your project 2. Go to menu Remote Config

https://console.firebase.google.com/