Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

iOS: Push Notifications not working in Background or when application is reopened #243

Closed
sudhanshu-15 opened this issue Dec 19, 2016 · 11 comments
Milestone

Comments

@sudhanshu-15
Copy link

I am facing this issue where the application is able to receive push notification when in foreground but does nothing when in background. There is no sound, no badge data, no notification in the notification. I followed the issues previously created for this but couldn't find anything substantial. I tried the suggestions made by others to resolve this, like setting the priority high but nothing works. The application works flawlessly on Android.
Moreover the push notifications stop working altogether when the application is reopened.
Can someone help me on this or point me to the right direction?

@sudhanshu-15
Copy link
Author

Can someone please suggest a fix for this?

@balasasidhar
Copy link

+1

@sudhanshu-15
Copy link
Author

#237 same issue

@EddyVerbruggen EddyVerbruggen added this to the 3.9.2 milestone Jan 20, 2017
EddyVerbruggen added a commit that referenced this issue Jan 20, 2017
iOS Notification not received in background mode #258
iOS: Push Notifications not working in Background or when application is reopened #243
Notification message not shown when app is in the background #237
@EddyVerbruggen
Copy link
Owner

Please update to 3.9.2 and take note of the update messaging instructions, let me know if issues remain afterwards.

@sudhanshu-15
Copy link
Author

@EddyVerbruggen it seems the issue has returned. The background notification stopped working again. I tried following the instructions like the last time but it no longer works. Rechecked my APNS certs, Provisioning Profile and they seem to be in place. Checked XCode and things are as they are supposed to be.

image

image

image

image

Can you please look into this? Thanks a lot.

@EddyVerbruggen
Copy link
Owner

I'll need your project then.

@sudhanshu-15
Copy link
Author

Sending in few mins.

@sudhanshu-15
Copy link
Author

Sent. Thanks!

@EddyVerbruggen
Copy link
Owner

@sudhanshu-15 You have plugin version 3.9.0 in your iOS project. This sh** was fixed in 3.9.2.

@sudhanshu-15
Copy link
Author

Ohh darn! I did update my plugin :/ this is strange. Let me update and get back to you. Thanks a lot for looking.

@sudhanshu-15
Copy link
Author

I was missing the updated plugin version some how, fixed it and now it is working as expected.

EddyVerbruggen added a commit that referenced this issue Apr 18, 2017
iOS Notification not received in background mode #258
iOS: Push Notifications not working in Background or when application is reopened #243
Notification message not shown when app is in the background #237
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants