question

broschb avatar image
broschb asked

ADM OnMessage never called

I am trying to implement ADM in my app, when I call adm.startRegister(); I can see the call being made, but the OnMessage callback is never called. Below is an example of manifest file.

I am also using GCM, that is all working correctly.

amazon device messaging
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

broschb avatar image
broschb answered
Correction, the onRegistered is never called, and due to that subsequently onMessage as well. :)
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ben@AWS avatar image
Ben@AWS answered
This is usually a problem with your manifest. I'm not seeing anything jump out at me, but have you tried calling ADMManifest.checkManifestAuthoredProperly() ?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

HabibRG avatar image
HabibRG answered

hi, i have same problem, did you find solution?

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.