Open martinglover opened 2 months ago
Same problem. I believe steps is extend FirebaseMessagingService, then override onMessageReceived, and then....what? May be need to call BackgroundRunnerPlugin.dispatchEvent somehow but it does not provide any static methods
I am trying to dispatch an event on receiving a notification while the app is closed.
On iOS this is demonstrated by adding
BackgroundRunnerPlugin.dispatchEvent(event: "remoteNotification", eventArgs: userInfo)
to theAppDelegate
on didReceiveRemoteNotificationHow is this achieved on android?