Hello. After the ios14 update, there was a problem that the application I distributed did not request notification permission.
In ios 13.7 version, notification permission is normally requested, but the device that has updated ios 14 does not request notification permission.
When requestAuthorization outputs the error details to completionHandler, the following error is displayed.
===========================================
Error Domain=UNErrorDomain Code=1 "Notifications are not allowed for this application" UserInfo={NSLocalizedDescription=Notifications are not allowed for this application}
===========================================
If you know how to fix it, please let me know.
Have a nice day.
In ios 13.7 version, notification permission is normally requested, but the device that has updated ios 14 does not request notification permission.
When requestAuthorization outputs the error details to completionHandler, the following error is displayed.
===========================================
Error Domain=UNErrorDomain Code=1 "Notifications are not allowed for this application" UserInfo={NSLocalizedDescription=Notifications are not allowed for this application}
===========================================
If you know how to fix it, please let me know.
Have a nice day.