evanshortiss / sns-mobile

Push notifications to Android, Kindle, and iOS devices easily using this module.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

example for kindle fire?

FrancisVarga opened this issue · comments

Hi sorry for the rude and n00b question, but i got:
Error: Unsupported platform option, "kindle_fire". Please provide a platform from SNS.SUPPORTED_PLATFORMS

i get also a error without message:
Error
at Request.extractError (/Volumes/Work/Sources/happy-tuesday/hydra-node/node_modules/sns-mobile/node_modules/aws-sdk/lib/service_interface/query.js:61:35)
at Request.callListeners (/Volumes/Work/Sources/happy-tuesday/hydra-node/node_modules/sns-mobile/node_modules/aws-sdk/lib/sequential_executor.js:132:20)
at Request.callListeners (/Volumes/Work/Sources/happy-tuesday/hydra-node/node_modules/sns-mobile/node_modules/aws-sdk/lib/sequential_executor.js:133:16)
at Request.emit (/Volumes/Work/Sources/happy-tuesday/hydra-node/node_modules/sns-mobile/node_modules/aws-sdk/lib/sequential_executor.js:100:10)
at Request.emitEvent (/Volumes/Work/Sources/happy-tuesday/hydra-node/node_modules/sns-mobile/node_modules/aws-sdk/lib/request.js:536:10)
at Request.emitEvents (/Volumes/Work/Sources/happy-tuesday/hydra-node/node_modules/sns-mobile/node_modules/aws-sdk/lib/request.js:510:12)
at Request.completeRequest (/Volumes/Work/Sources/happy-tuesday/hydra-node/node_modules/sns-mobile/node_modules/aws-sdk/lib/request.js:480:10)
at Request.HTTP_DONE (/Volumes/Work/Sources/happy-tuesday/hydra-node/node_modules/sns-mobile/node_modules/aws-sdk/lib/event_listeners.js:230:12)
at Request.callListeners (/Volumes/Work/Sources/happy-tuesday/hydra-node/node_modules/sns-mobile/node_modules/aws-sdk/lib/sequential_executor.js:132:20)
at Request.emit (/Volumes/Work/Sources/happy-tuesday/hydra-node/node_modules/sns-mobile/node_modules/aws-sdk/lib/sequential_executor.js:100:10)

Seems to be a bug in the new release. I'll patch ASAP. As a temporary work around you could change line 398 of lib/interface.js of sns-mobile in your node_modules to just return true until I get a patch sorted.

I'm not sure about the second error. When does it occur?

Just pushed 1.0.1 to npm. This should fix your issue.

1.0.2 has been pushed now. This fixes a bug in sending messages.