For iOS devices, the push_token (also called a device token) is issued by the Apple Push Notification service (APNs), not by FCM.
A push token is a unique identifier assigned by a push notification gateway when a device registers your application for push notifications. It allows the gateway to identify and target a specific device.
- iOS devices: the gateway is Apple Push Notification service (APNs), so you pass the APNs device token.
- Android devices: the gateway is Firebase Cloud Messaging (FCM), so you pass the FCM registration token.
iOS device tokens are strings of 64 hexadecimal characters (digits 0-9 and letters a-f only), for example:
03df25c845d460bcdad7802d2ef6fc1dfde97283bf75cc993eb6dca835ea2e2f
When using APNs tokens in API requests to target specific iOS devices — including /api/v2/audience/bulkRegisterDevice — provide them in lowercase. Tokens containing characters outside 0-9/a-f, or in uppercase, will not match a registered device.
Comments
0 comments
Please sign in to leave a comment.