After register I have device Token but when using I have error {"reason":"BadDeviceToken"}*
Command:
curl -v \ -d '{"aps":{"alert":"message","badge":42}}' \ -H "apns-topic: com.echopf.app" \ -H "apns-priority: 10" \ --http2 \ --cert-type P12 --cert Certificates2.p12 \ https://api.development.push.apple.com/3/device/48c9b35cf91b360052bbc8a55b803ce420993e0af57893f94fb9806de4dbd3d9
After
register
I havedevice Token
but when using I have error{"reason":"BadDeviceToken"}*
Command:curl -v \ -d '{"aps":{"alert":"message","badge":42}}' \ -H "apns-topic: com.echopf.app" \ -H "apns-priority: 10" \ --http2 \ --cert-type P12 --cert Certificates2.p12 \ https://api.development.push.apple.com/3/device/48c9b35cf91b360052bbc8a55b803ce420993e0af57893f94fb9806de4dbd3d9
Result `https://api.development.push.apple.com/3/device/48c9b35cf91b360052bbc8a55b803ce420993e0af57893f94fb9806de4dbd3d9