Fire event listener directly after app launch #5877
-
This question is related to capawesome-team/capacitor-firebase#140 I use the Firebase Android/iOS SDK in my plugin. These fire an event at app startup, which my plugin passes to the webview. Unfortunately, the event listeners are not yet registered at this time, so the app misses the event at startup. My question: Can the plugin get notified when the app is ready? The plugin |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is a third param on notifyListeners called retainUntilConsumed, if you set it to true it will keep the call until the js is set to listen to it |
Beta Was this translation helpful? Give feedback.
There is a third param on notifyListeners called retainUntilConsumed, if you set it to true it will keep the call until the js is set to listen to it