amazon web services - Parse Push to AWS SNS -


i in process of migrating ios app parse aws , stuck on parse push -> aws sns. message published through aws never arrives on device (tried multiple devices). working aws person unfamiliar mobile thinks should work. else experienced this?

thanks in advance!!!

aws sns weird when comes message formats. sending json object? if yes, have add attribute message payload. in python - sns.publish(targetarn= <your-endpoint>, message= json.dumps(<your-message-dictionary-object>),messagestructure = 'json')

i'm assuming system wide notification settings turned on on ios device.

another helpful thing subscribe delivery failures application in sns dashboard. goto applications -> choose application -> actions -> configure events -> delivery failures. here can specify arn lambda function, sns topic(which sends emails you) etc. example of delivery failure email -

{"deliveryattempts":1,"endpointarn":"< mobile endpoint arn>","eventtype":"deliveryfailure","failuremessage":"platform token associated endpoint not valid","failuretype":"invalidplatformtoken","messageid":"< some-value>","resource":"< application arn>","service":"sns","time":"< some-value>"}


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -