Problem
I do not receive push notifications for my application when I work on it
and the APN server returns " BadDeviceToken" .
Situation
I need to skip something simple, here's the thing:
When I send a push notification to my application downloaded from the App Store, it works
When I send Push Notification from the same server to the same version (*) of my application, but generated Xcode, the APN server returns a failure status: '400'withfailed[0].response.reason: 'BadDeviceToken'
(*) I say the same version, the code is the same, and the plugins should be the same, but I changed the ICOS version from Cordoba to 3.x, from 4.x.
Technology
I use the new Push Notifications method, where on the server I have on the server only APX with .p8 APN keys.
The server is node code using the node-apn plugin .
The client application is Cordova using Telerik Push Plugin .
What i tried
I tried to create a new APN key and upload it to the server; which still works in the version of the App Store app, and APN still returns a "BadDeviceToken" when sent to the local version of the app.
I tried installing production: falsein the server configuration for node-apn before sending push to my locally created application; I still get the "BadDeviceToken" error.
; , "BadDeviceToken", .
cordova-ios 4.3.1; "BadDeviceToken".
"Push Notifications"
Release, Debug,
()
APN BadDeviceToken, ?
?