Firebase Config Plugin
This plugin allows you to get firebase remote config values from firebase console.
Platforms:
Android 4.4+, iOS 8+, MacOS 10.13+Functions:
firebaseConfig.init()
firebaseConfig.fetchData(listener)
listener(function) If event.isError == true then no data was received. If event.isError == false then data was received
firebaseConfig.getDouble("key")
-- get number value(decimal value on android)firebaseConfig.getLong("key")
-- get number value(big numbers on android)firebaseConfig.getBoolean("key")
-- get boolean valuefirebaseConfig.getString("key")
-- get string valuefirebaseConfig.getInstanceId(listener)
listener(function) If event.isError == true then no InstanceId was not received. If event.isError == false then event.token and event.instanceID are returned
Make sure you download and include GoogleServices-Info.plist and put in root folder of corona project. Also add your google-services.json to your root folder and useGoogleServicesJson = true in build.settings.