0

We have an Android APP integrated with push (using subscriberKey feature). When a user installs the app and registers to push, everything works fine (can receive push notifications). After uninstalling the App and reinstalling again, I cannot receive push notifications. Using the Google REST api: https://android.googleapis.com/gcm/send, when trying to send a push to a given device, the response is:

{
  "multicast_id": 6181628329120123506,
  "success": 0,
  "failure": 1,
  "canonical_ids": 0,
  "results": [
    {
      "error": "NotRegistered"
    }
  ]
}

So I made the following test:

  1. Install the app fresh new and register with a new user, then send a push using https://android.googleapis.com/gcm/send, OK.
  2. Uninstall the app and try to send a push, the response is the same as above: "error": "NotRegistered"
  3. Reinstall the app and login with the same credentials as in 1), so the MC Android SDK method: ETPush.configureSdk(...).build() and ETPush.getInstance().setSubscriberKey(..) are called, then I try to send a push again and the response is the same as above: "error": "NotRegistered"

Has anyone experienced the same behaviour?

  • Which version of the SDK is being used? – Bill Mote Apr 21 '17 at 11:55
  • The version is 4.4.1 – SebOB Apr 23 '17 at 9:02
0

Check the LogCat for errors during SDK initialization. If the SDK failed to initialize then it will not register with Google to receive push notifications.

Aside from that ...

Your Device ID in the Marketing Cloud system will change depending on the version of the SDK you're using.

Also, your device token from Google might change between installations.

Finally, if you install/un-install/re-install then you must be sure to wait 15 minutes after the finally installation for your new Device ID to propagate throughout the system. Sends via the Marketing Cloud prior to the new installation's registration being processed would still target the the Device ID for the initial installation -- which, as noted above, may be tied to a now defunct device token from Google.

  • Thanks for the answer, the app is the same so the SDK version is the same. I've checked and it seems the device is the same as well. If I re-register with a new subscriberKey, the SDK registers correctly the new contact and can receive push. I`ll check the deviceId and system token if both cases, install/un-install/reinstall and install-register-unregister-register and let you know – SebOB Apr 23 '17 at 8:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.