Push Notification iOS resetting - ios

I want to reset the push notification setting for my app. I have read the apple documentation regarding resetting the settings (which didn't help) and some questions here as well (which didn't help either). So in the last I reset my iPhone by going to settings->General->Reset ->Erase All Content and Settings (That didn't worked as well.)
Any other solution?
BTW I am using iOS 6.1

https://developer.apple.com/library/archive/technotes/tn2265/_index.html
The first time a push-enabled app registers for push notifications, iOS asks the user if they wish to receive notifications for that app. Once the user has responded to this alert it is not presented again unless the device is restored or the app has been uninstalled for at least a day.
You can also move your clock by a day after uninstalling the app and try.

Related

Push notifications not working after transferring data from old iPhone to new

I transferred data from iPhone 8 to iPhone 12 mini, using the iTunes Backup / Device to device migration. I wasn't getting push notifications for one app that I had already installed on my old iPhone. I checked the push notification settings for that app, and everything is enabled as before. I toggled the settings to on/off but it did not help. I tried to log out and log back in to that app, but that also did not fix the issue. Then I deleted and reinstalled the app, and then at the time of login, the app asked me whether I want to allow push notifications. I clicked Allow, and now notifications for that app have started working. Is it common behaviour? If not how to handle this?
Note: We are using Braze third party service in order to send notifications to users
Here's what to do:
1). On your current iPhone, tap Settings to open it.
2). Tap your name.
3). Tap iCloud.
4). Move the Messages slider to on/green.
5). On the new phone that you want to transfer the messages to, log into the same iCloud account and follow the same steps to enable Messages in iCloud.

iOS Push Notification Programming - Is there a way to disable push notification on iPhone by programming

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.

IOS9 Push notifications dialog appears after delete and launch app with xCode7

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:

How to remove Notification in Settings in iOS

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.

App notification sound defaulting to off in iOS 7

Starting in iOS 7, my app's entry in Notification Center has sounds defaulting to off for some users. Since my app is an alarm clock and needs to use UILocalNotifications all the time, this obviously is a major problem. Does anyone know what might have changed to cause this problem? And is there anything that can be done to address it?
I have an app that uses notifications too (timing meeting agenda items), and I agree that notification sounds are critical for an app like this. But app can't override the settings in Settings -> Notification Center, so the user must set the notification sounds there.
What I found was that the settings stayed the same when I upgraded the phone to iOS 7, but a re-install of the app can trash them - if the app was deleted before the upgrade. Deleting the app and re-installing (on iOS7 and earlier) doesn't change the notification settings.

Resources