I have an application, it uses APNS, so I have code that subscribes to notifications, and everything works fine. But every time I reinstall app, and run it with xcode, I get allow push notification dialog. Every time.
I found hundreds questions about how to achieve this dialog again, but none - how to stop achieving them. I need help!
It's seems known IOS9 bug, here is a link for developer forum and still no response from apple and no solution:
Related
So I am whitelabeling the Rocket.chat app for iOS. I have already done this for Android and it is working very well. The issue I'm having is that the app works on the simulator, but it does not receive any notifications. I have followed these instructions to no avail. It seems as if the app is not able to communicate with Firebase. Additionally, when I first launch the app after installing, it asks if I want to enable notifications, so the app itself is working. I'm really not sure what to try next. Thank you for your help. If you need any additional information, just let me know.
So the simulator cannot receive push notifications. Seems strange, but that was the problem.
A few days ago, I got the issue below.
I've been getting notifications for the past several days. The notification had been enabled, and the app was working (I received push notification) until it suddenly didn't yesterday. And when I open the app, it suddenly asks me to enable notification (please see the picture "iOS Push Notification Permission Alert.png")
iOS Push Notification Permission Alert.png
I guessed that my client removed the app and re-installed, so all permissions were lost. But they said that they didn't.
So, How can it happen?
My concerns are:
If notification was enabled, how can it show the alert above again? Is there a possible way?
If notification was not enabled, why have I received the notification for the past several days?
Under which scenario(s), would an app suddenly disable already enabled notification? Is there a way to disable notification permission for the app on the iOS phone by programming?
I will appreciate your answers so much!
P/s: I read the post disable push notification in app, but it doesn't help for my questions.
This is only possible if the app is reinstalled or the notifications are turned off from the settings.
There is one setting in iPhone which will allow iPhone to offload the unused apps and if this happened, there will be a cloud icon on the left of app title.The app will be reinstalled when you click it again.
And it seems that it will also happened when the storage of iPhone is not enough.
So I guess this happened in your client's phone.
This setting is in both Setting-iTunes & App Stores-Offload Unused Apps and Setting-General-iPhone Storage-Offload Unused Apps.
I'm currently working on implementing push notification for my app using React Native and OneSignal. I've managed to set the settings for Android and iOS, but I noticed the iOS side keeps disappearing from time to time and appearing again. Same thing with the dashboard, the iOS logo sometimes appear and disappear.
When trying to send notification while only targeting my iOS device, sometimes the system would show Total Number of Recipient to be 0 as well. The device itself only received the notifications from time to time while the android side always received them.
Anyone ever have this issue as well? And did you managed to solve it?
EDIT:
I cannot seem to find a way to fix this so I decided to do a workaround instead by creating another project inside OneSignal and disable the old one. The push notification is working fine now.
OneSignal fixed this issue today with the dashboard not saving/persisting data. You should be able to save your settings now. Best to contact OneSignal directly with issues like this.
My app uses GCM to send push notifications and it all worked great.
Recently, one of subdcribers bought iPhone 7 and wrote to me, that push notifications dont work.
I've checked the logs from GCM - message is sent correctly:
{"multicast_id":6854913573879465744,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1484614306664165%6a57bb166a57bb16"}]}
She does receive other notifications from facebook, viber, etc., so no trouble with network.
Notifications are enabled in general and for my app.
"Do not disturb" is off.
Other subscribers with iOS 10.2 successfully receive notifications on their iPhones 5/6.
Reinstalling the app didnt help. App successfully receives the token, but doesnt receive notifications after.
What else can I check? Thank you.
I think this is a common issue on iPhone7. Check it here. I guess you have done all the workarounds in the link given but still no luck to fix the issue. Maybe this thread might help. Suggested action is to make sure that on your project settings, under the Capabilities Tab, scroll down to Push Notifications and turn it to ON. This automatically generates an entitlements file that contains the key APS Environment.
Using Parse service, I implemented Apple Push Notification service in my app.
This is a link I referred: https://parse.com/tutorials/push-notifications
However, I changed my mind not to use it for now. And then, I deleted all of the codes, but it still remains Notifications in Settings.
Does anybody know how to delete if for all eternity?
Turn it off for the app in the settings and then delete and reinstall the app on the the device.