register
Initiates push registration, if the application is not already registered. Otherwise, this method initiates registration/re-registration to the SFDC endpoint, in order to keep it alive, or to register a new account that just logged in.
Parameters
context
Context.
account
User account.
Initiates push registration, if the application is not already registered. Otherwise, this method initiates registration/re-registration to the SFDC endpoint, in order to keep it alive, or to register a new account that just logged in.
Parameters
context
Context.
account
User account.
recreateKey
true if RSA key should be regenerated