fun registerDevice(context: Context, token: String): Unit
Register device for push notifications.
context - the context object.
context