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

onNotification event not fired #628

Open
Ahmed-Abdelftah opened this issue Nov 18, 2019 · 4 comments
Open

onNotification event not fired #628

Ahmed-Abdelftah opened this issue Nov 18, 2019 · 4 comments

Comments

@Ahmed-Abdelftah
Copy link

I am trying to handle firebase push notification in my app , i can get token successfully also notification sent successfully when app is in background or closed, but when app is in foreground no thing happened.
I am listening on onNotification event but it never fired , neither when app is on foreground nor when notification is clicked, any help would be very appreciated.

@hungtranqn
Copy link

Same issue.
Any solution ? Thanks.

@rahul-maurya1992
Copy link

I'm facing the same issue. is there any contributor who can tell us what's happening in the new version? I have tried to downgrade the plugin but because gradle and google services updated there policies and version it's not installing.

@bendspoons
Copy link

If on Android, check if those lines are present in your AndroidManifest.xml

<activity android:exported="true" android:launchMode="singleTop" android:name="com.gae.scaffolder.plugin.FCMPluginActivity">
   <intent-filter>
     <action android:name="FCM_PLUGIN_ACTIVITY"/>
     <category android:name="android.intent.category.DEFAULT"/>
   </intent-filter>
 </activity>
 <service android:name="com.gae.scaffolder.plugin.MyFirebaseMessagingService">
   <intent-filter>
     <action android:name="com.google.firebase.MESSAGING_EVENT"/>
   </intent-filter>
 </service>
 <service android:name="com.gae.scaffolder.plugin.MyFirebaseInstanceIDService">
   <intent-filter>
     <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
   </intent-filter>
 </service>

@ragcsalo
Copy link

Same for me on iOS...

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

5 participants