Describe the bug
The onMessage callback is always called twice
To Reproduce
Steps to reproduce the behavior:
- Setup the plugin, do a
print statement in the onMessage callback
- Keep the app in the foreground
- Send a FCM message
- 2 print on the console
Expected behavior
Only one print on the console
Additional context
I don' t have the same issue with onBackgroundMessage. It's called once as expected
Describe the bug
The
onMessagecallback is always called twiceTo Reproduce
Steps to reproduce the behavior:
printstatement in theonMessagecallbackExpected behavior
Only one print on the console
Additional context
I don' t have the same issue with
onBackgroundMessage. It's called once as expected