Post

Replies

Boosts

Views

Activity

How do I call the didReceiveRemoteNotification in tvOS?
Hello, I have a question about TVOS push. Successfully registered apns in didFinishLaunchingWithOptions using UNUserNotification Center. (options: alert, badge, sound) If the app is in the foreground state and you push to an apns file, will Present is called. (completionHandler([alert, sound, banner, list, badge])) Also, I checked that the badge is displayed on the app icon. However, didReceiveRemoteNotification is not invoked. Also, if the app is in the background state, neither willPresent nor didReceiveRemoteNotification will be invoked. Is there a way to solve these problems? Below is the apns I tested.
0
0
498
Aug ’22
CLLocationPushServiceErrorDomain
Error Domain=CLLocationPushServiceErrorDomain Code=3 "(null)" An error occurs when calling startMonitoringLocationPushes(completion:). Why does this error occur? Included com.apple.developer.location.push entrymen when I generated the bundle ID. Added push notification functionality. Requested Location service permission. Added location push service extension target.
0
0
303
Jul ’23