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

Notification not received When App is closed #152

Open
Monikaprime opened this issue Jul 20, 2020 · 2 comments
Open

Notification not received When App is closed #152

Monikaprime opened this issue Jul 20, 2020 · 2 comments

Comments

@Monikaprime
Copy link

when app is not opened then too notification not received

@jbtdevgit
Copy link

jbtdevgit commented Nov 18, 2020

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

@ali-h2010
Copy link

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

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