Checking new app update using Firebase Remote Config.
Step 1 : Install the Firebase SDK in your app, and be sure to add the dependency for Remote Config to your app-level
Step 2 : Go to https://console.firebase.google.com/u/0/project/<your-project-name>/config
and create new parameter in config.
build.gradle
file as part of this step.Create a new project in firebase console and download google-services.json file and put in your app src directory.compile 'com.google.firebase:firebase-config:11.0.4'
Step 2 : Go to https://console.firebase.google.com/u/0/project/<your-project-name>/config
and create new parameter in config.
Step 3 : Create force-update checker interface. Here all fetching key should have same name as declared in the firebase console.
Step 4 : Add update check listener inside fragment or in your activity class, and call fetch method for fetching firebase config.
Helpful article :)
ReplyDeleteThank you Prabhat
Delete