PushNotificationPlugin icon indicating copy to clipboard operation
PushNotificationPlugin copied to clipboard

Notification not received When App is closed

Open Monikaprime opened this issue 5 years ago • 2 comments

when app is not opened then too notification not received

Monikaprime avatar Jul 20 '20 08:07 Monikaprime

Include this in your manifest file <uses-permission android:name="android.permission.WAKE_LOCK" /> <permission android:name="co.my.packagename.permission.C2D_MESSAGE" android:protectionLevel="signature" /> <uses-permission android:name="co.my.packagename.C2D_MESSAGE" /> <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />

Info.plist <key>UIBackgroundModes</key> <array> <string>voip</string> <string>fetch</string> <string>remote notification</string> </array>

Update, #153 please see the posted solution here and try it if it would work on your end

jbtdevgit avatar Nov 18 '20 00:11 jbtdevgit

@jbtamaresgit , i am facing the opposite of this issue. When app is open, i am not receiving the push notification

ali-h2010 avatar Jun 01 '22 12:06 ali-h2010