APNS Tokens

Capture and copy push notification device tokens during development.

Register for remote notifications as usual, then forward the token to DebugSwift. The APNS tab displays the hex token ready to copy for your push testing tools.

APNS token display
func application(_ application: UIApplication,
    didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
    DebugSwift.APNSToken.didRegister(deviceToken: deviceToken)
}