iOS native:
iOS SDK 2.4.0+

Auto registration:

[Pushbots initWithAppId:@"PUSHBOTS_APPID" withLaunchOptions:launchOptions andAutoRegister:true];

Manual registration:

[Pushbots registerForRemoteNotifications];

Android native:
Android SDK 3.2.0+

  • Manual registration:

Pushbots.sharedInstance().registerForRemoteNotifications();

Phonegap:

Phonegap SDK 1.6.0+

- auto registration [third parameter:bool]

window.plugins.PushbotsPlugin.initialize("PUSHBOTS_APPLICATIONID", {"android":{"sender_id":"SENDER_ID"}}, true);
  • manual registration:

window.plugins.PushbotsPlugin.registerForRemoteNotifications();

React native:

React native SDK 1.1.0+

  • Manual registration:

Pushbots.registerForRemoteNotifications()
Did this answer your question?