Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 4a41c62

Browse files
Merge pull request #1049 from EddyVerbruggen/remote-config-fix-1048
fix: remote config foregroundActivity instance
2 parents 61ec764 + 40bb7d5 commit 4a41c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firebase.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ firebase.getRemoteConfig = arg => {
586586
runGetRemoteConfig();
587587
} else {
588588
// if this is called before application.start() wait for the event to fire
589-
appModule.on(appModule.launchEvent, runGetRemoteConfig);
589+
appModule.on(appModule.resumeEvent, runGetRemoteConfig);
590590
}
591591
} catch (ex) {
592592
console.log("Error in firebase.getRemoteConfig: " + ex);

0 commit comments

Comments
 (0)