Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Unregistering a Device

Unregistering a Device

The unregister operation allows you to stop sending push notifications to a selected device. It is useful when the user has opted out of receiving this kind of notifications or for another reason.

[[Everlive sharedInstance]removeDevice:^(BOOL success, NSError *error) {
    if (error != nil) {
        [self.infoLabel setText:error.localizedDescription];
    } else {
        [self.infoLabel setText:@"You have unregistered your device."];
    }
}];
Everlive.sharedInstance().removeDevice { (success:Bool, error:NSError!) -> Void in
            if((error) != nil){
                self.infoLabel.text = error.localizedDescription
            } else {
                self.infoLabel.text = "You have unregistered your device"
            }
        }

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.