cojohn / node-urban-airship

Simple wrapper for the Urban Airship API in Node.js.
MIT License
36 stars 15 forks source link

api/push/ doesn't work with android devices #15

Open alopezvillaverde opened 8 years ago

alopezvillaverde commented 8 years ago

When trying to send a push to an android device I'm getting a Invalid device token error. But it works fine if I include the android_channel key instead the device_token one.

"error":"Could not parse request body.", "error_code":40282,"details":{"error":"Invalid device token myDeviceToken"}