wizpanda / cordova-plugin-firebase-lib

This repository is moving & merging to https://github.com/wizpanda/cordova-plugin-firebase-lib to avoid confusion to developers.
https://www.wizpanda.com/
MIT License
68 stars 38 forks source link

Remote Config: activateFetched returns null in iOS #35

Open craidencool13 opened 5 years ago

craidencool13 commented 5 years ago

Describe the bug

Using remote config activateFetched returns null in iOS but returns true in android

window.FirebasePlugin.fetch(600, () => { window.FirebasePlugin.activateFetched(function (activated) { console.log('Activate fetch result', activated) //Always null on iOS window.FirebasePlugin.getValue(configName, (res) => { console.log("Get value result", res) resolve(res); }, error => { console.log("Get value error ", error); reject(error); }); },error => { console.log('Activate fetch error', error); reject(error); }); },error =>{ console.log('Ferch Error', error) reject(error); });

Plugin Version

"cordova-plugin-firebase-lib": "3.3.0",

Desktop (please complete the following information):