Arthur Arthur - 1 year ago 486
Swift Question

iOS Device Token example for Push Notifications

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?

Answer Source

Device token is of 32 Bytes. Sample device token is provided for your reference from raywenderlich

740f4707 bebcf74f 9b7c25d4 8e335894 5f6aa01d a5ddb387 462c7eaf 61bb78ad
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download