appfeel / node-pushnotifications

Push notifications for GCM, APNS, MPNS, AMZ (automatic detection from device token)
MIT License
534 stars 126 forks source link

Error NotRegistered #24

Closed harshalyeole-tudip closed 7 years ago

harshalyeole-tudip commented 7 years ago

Hi, I'm trying to use it but it gives error and say : messageId: undefined, regId: undefined, error: Error: NotRegistered at /home/lt-101/sebas/api/node_modules/node-pushnotifications/lib/sendGCM.js:37:50 at Array.map (native) at /home/lt-101/sebas/api/node_modules/node-pushnotifications/lib/sendGCM.js:33:47 at /home/lt-101/sebas/api/node_modules/node-gcm/lib/sender.js:47:24 at /home/lt-101/sebas/api/node_modules/node-gcm/lib/sender.js:211:14 at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9) }

appfeel commented 7 years ago

This is a result report. The token you are sending push notifications to is not registered in google. This means that you are trying to send a notification to a device that has called unregister receiving push notifications (or maybe has uninstalled your app).