You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App is not loading the remote config with a fresh install and first load.
Expected behavior
App must always load the remote config even with the first load.
Reproduction
none
Steps to reproduce
Uninstall the existing app if any.
Install the fresh app and load the firebase remote config, it's getting loaded with the static (default) values and not fetching it from the server.
Close the app and open it again, it works.
Plugin(s)
Did you test the latest version?
Platform(s)
Current behavior
App is not loading the remote config with a fresh install and first load.
Expected behavior
App must always load the remote config even with the first load.
Reproduction
none
Steps to reproduce
Uninstall the existing app if any.
Install the fresh app and load the firebase remote config, it's getting loaded with the static (default) values and not fetching it from the server.
Close the app and open it again, it works.
await FirebaseRemoteConfig.fetchConfig({ minimumFetchIntervalInSeconds: 1200, });
await FirebaseRemoteConfig.activate();
const { value } = await FirebaseRemoteConfig.getString({ key: 'key', });
The value is empty.
Other information
In iOS methods, after the implementation it's calling
call.resolve()
which is causing this issue and not waiting to complete the fetch or activate.Capacitor doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 4.7.3
@capacitor/core: 4.7.3
@capacitor/android: 4.7.3
@capacitor/ios: 4.7.3
Installed Dependencies:
@capacitor/cli: 4.7.1
@capacitor/core: 4.7.1
@capacitor/android: 4.7.3
@capacitor/ios: 4.7.1
[success] iOS looking great! 👌
Before submitting
The text was updated successfully, but these errors were encountered: