Yes, that has been my observation too.
make a call to Activity.request (when app is in foreground)
Activity.pushToStartTokenUpdates returns the pushToStartToken
This defeats the purpose of the new api. The scenario that companies are interested in is mentioned in a blog https://onesignal.com/blog/new-activitykit-notifications-push-the-boundaries-of-current-ios-live-activities/
Topic:
Programming Languages
SubTopic:
Swift
Tags: