When your user opens your app for the first time we communicates with Google servers in case of Android, and Apple servers in case of iOS to generate a unique ID for this device. This registration ID is important in case you wanted to re-target this device again in the future. 

To get the registration ID via PushBots you can use the following method: 

For iOS 


For Android 


String registrationId = Pushbots.sharedInstance().getGCMRegistrationId();


For Phonegap


window.plugins.PushbotsPlugin.on("user:ids", function (data) {
  console.log("user:ids" + JSON.stringify(data));
// userToken = data.token;
// userId = data.userId
                   });
Did this answer your question?