Post

Replies

Boosts

Views

Activity

Are device tokens which is registered with APNs unregistered after App transfer?
Good day! Recently, we are doing the feasibility study for transferring our App from team A to team B. Our App uses Apple Push Notifications service (APNs) and we know we need to recreate certificates after the App transferring. We have a question that can we use the old device tokens which are registered before the transferring to send the notification to users? For example, Before the transfer: User A installs App and upload tokenA_old to our service server. Our service server stored it into our database. After the transfer: User A doesn’t launch App and we only have the tokenA_old which is stored in our server. After we recreate push notification certificate, can we send notification with tokenA_old to user A? Or his device token will be renewed after the App is transferred? Does he need to launch App and get the new registered device token from APNs and upload it to our server again? override func application( _ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data ) { let deviceTokenString = deviceToken.map { String(format: "%02x", $0) }.joined() uploadDeviceToken(deviceTokenString) } We want to check above question for following tokens: deviceToken (Push notification) API: https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622958-application pushToStartToken (Live activity) API: https://developer.apple.com/documentation/activitykit/activity/pushtostarttoken Does deviceToken will be renewed after the App is transferred? Does pushToStartToken will be renewed after the App is transferred? Thank you.
1
0
353
Jul ’24