For iOS devs easily getting the device token:
Add this line to the function “didRegisterForRemoteNotificationsWithDeviceToken” in your AppDelegate.mm
NSLog(@"Registration successful, bundle identifier: %@, device token: %@",
[NSBundle.mainBundle bundleIdentifier], deviceToken);