You should not worry about APNs token in your case.
Apple send token independently of approve notifications or not.
https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1
In iOS and tvOS, you initiate APNs registration for your app by
calling the registerForRemoteNotifications method of the UIApplication
object. Call this method at launch time as part of your normal startup
sequence. The first time your app calls this method, the app object
contacts APNs and requests the app-specific device token on your
behalf.
And if token changed, you don't need relaunch app.
If the device token changes while your app is running, the app object
calls the
application:didRegisterForRemoteNotificationsWithDeviceToken: delegate
method again to notify you of the change.
Update
Maybe i don't understand your question.
But step by step:
- Application did register for notification
- User see system alert about Notification
- User deny Notifications
- Application anyway get device token for APNs
- Application send token to any service (Your server api, Firebase, OneSignal e.t.c.)
- Your server anyway send Notifications to APNs (but user not see this Notifications)
- User open Application Setting and tern on Notification
- You didn't do anything
- Your server anyway send Notifications to APNs
- Notification just showing for users and arrived in Application
Update
This answer is deprecated, sorry for your time