Updating a Device Registration

Updating a Device Registration

A push registration for a device consists of several system parameters, including the push token, and may include custom parameters that you supply. To ensure that these fields are always up to date, it is recommended to update the device registration periodically.

To following code updates all registration parameters, including system and custom parameters:

var el = new Everlive('your-app-id');
el.push.updateRegistration(customParameters, successCallback, errorCallback);

To update only the system parameters, supply null for the customParameters argument.

To succeed, updateRegistration() requires a push token to be already present on the device. If you have already called register(), the push token will be present. If not, call register() will create it.

See Also


Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.