I need to pass through server auth method, which needs deviceToken for registration. But I have only simulators, and can't take tokens from them, and I want to send to server false token (like 000 000 000) But I don't know how many digits are there in device token. Can anyone help me out with a sample device token?
Device token is of 32 Bytes. Sample device token is provided for your reference from raywenderlich
740f4707 bebcf74f 9b7c25d4 8e335894 5f6aa01d a5ddb387 462c7eaf 61bb78ad
Apple Local and Remote Notification Programming Guide clearly states:
"Important: APNs device tokens are of variable length. Do not hardcode their size."
The may currently have 32 bytes but hardcoding that will make your app break in the future!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With