Posts

Post not yet marked as solved
0 Replies
319 Views
While I'm able to instantiate CLLocationManager in my Notification Service extension, I do not get any location update. (I get the location update if the location manager is part of a framework.) How can I get the callback by instantiating CLLocationManager directly in my extension.
Posted
by preema22.
Last updated
.
Post not yet marked as solved
0 Replies
1.2k Views
I have implemented the method didReceiveRemoteNotification:fetchCompletionHandler and the method is called if a notification is received when the app is in the foreground. It works for the first few (5-10) minutes of the app being in the background. After that, the phone receives the notification but the method didReceiveRemoteNotification:fetchCompletionHandler is not called.I have "content-available" = 1 specified in the payload.Xcode version: 11.4OS Version: 13.5.1
Posted
by preema22.
Last updated
.
Post not yet marked as solved
0 Replies
559 Views
My app uses remote push notification. The push notification is received, but with iOS 13.4 the method application(_:didReceiveRemoteNotification:fetchCompletionHandler:) is not called when the app is in the background. If the app is in the foreground or using an iOS 12 device the method is called. And the method invocation in the background stopped all of a sudden. Up until 15minutes ago, the method was being invoked even in iOS 13.4.
Posted
by preema22.
Last updated
.
Post not yet marked as solved
1 Replies
1.4k Views
My application uses remote silent notification to wake up the app and send device location to the server. Prior to iOS 13, it was working perfectly. With iOS 13, my service is suspended when the app is in the background or inactive. I do not want to use the new BackgroundTasks API as the system decides when to execute it. Is there any way to send data to server when a silent notification is received and the app is not active?
Posted
by preema22.
Last updated
.
Post not yet marked as solved
0 Replies
389 Views
I want to download and play an audio from remote url on arrival of Remote Push Notification. I'm using Notification Service Extension to modify the payload and download the audio file successfully. But the notification isn't being passed to my app when it's in background and hence the audio doesn't play.
Posted
by preema22.
Last updated
.