1

Is it possible to get a device token (push token) automatically or without registering for push notification in iOS Swift?

Currently, we are getting device token while registering for push notifications:

func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
    ...
}
Dev Changela
  • 39
  • 1
  • 7

1 Answers1

2

It's not possible. We can not retrieve the app push token from the device automatically or without registering for push notification in swift iOS

Dev Changela
  • 39
  • 1
  • 7