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

Commit 40bb7d5

Browse files
author
Juras Norkus
committed
fix: remote config foregroundActivity instance
1 parent 61ec764 commit 40bb7d5

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)