To set user alias on Pushbots:

iOS:

Objective-c 

[Pushbots setAlias:@"username"];

swift: 

Pushbots.setAlias("username")


Android:

Pushbots.sharedInstance().setAlias("username");


Phonegap:

window.plugins.PushbotsPlugin.setAlias("username");


React native:

Pushbots.setAlias("username")
Did this answer your question?