ios - Update Parse deviceToken AFTER registration -


currently i'm sitting quite few empty devicetoken fields. figured out because there issue adding groups before installation object created - block subsequent creation efforts.

what i'm trying devicetoken again , update in parse problem is, didregisterforremotenotificationswithdevicetoken never run again after first time...

any way device token after initial call didregisterforremotenotificationswithdevicetoken?

this work ios 8:

if ([application respondstoselector:@selector(registerusernotificationsettings:)]) {     uiusernotificationsettings* notificationsettings = [uiusernotificationsettings settingsfortypes:uiusernotificationtypealert | uiusernotificationtypebadge | uiusernotificationtypesound categories:nil];     [[uiapplication sharedapplication] registerusernotificationsettings:notificationsettings];     [[uiapplication sharedapplication] registerforremotenotifications]; } else {     [[uiapplication sharedapplication] registerforremotenotificationtypes: (uiremotenotificationtypebadge | uiremotenotificationtypesound | uiremotenotificationtypealert)]; } 

Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

javascript - Using jquery append to add option values into a select element not working -