Post

Replies

Boosts

Views

Activity

ios13 send data to server when app is in background or inactive
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?
1
0
1.5k
Mar ’20
didReceiveRemoteNotification not called in iOS 13.4 when app is in background
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.
0
0
755
Mar ’20
didReceiveRemoteNotification:fetchCompletionHandler is not being called when the app is in background for sometime
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
0
0
1.3k
Jun ’20