Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to dispatchEvent on android #76

Open
martinglover opened this issue Mar 18, 2024 · 1 comment
Open

Unable to dispatchEvent on android #76

martinglover opened this issue Mar 18, 2024 · 1 comment
Assignees

Comments

@martinglover
Copy link

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 the AppDelegate on didReceiveRemoteNotification

How is this achieved on android?

@orioncx
Copy link

orioncx commented Mar 20, 2024

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

@theproducer theproducer self-assigned this Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants