Cordova example calling registerDevice() every time app is launched

Answered

Comments

2 comments

  • Avatar
    Dmitry Dyudeev

    Hello,

    Generally, it is not required to call registerDevice each time the application is launched. However, please note that push tokens tend to expire from time to time, and it is important to re-subcscribe the device from time to time in order to keep our userbase up-to-date. This way, we can assure that your users would receive your notifications.

  • Avatar
    nokturnal

    ok, that's good to know. Are there any negative side effects to calling it as frequently as the example? Also, can you break down exactly what the registerDevice() method actually does (does it do a call out to your servers.. if so what if the device is offline)?

    Cheers :)

Please sign in to leave a comment.