iOS 13 couldn't receive BLE data on background mode - ios

We have an app developing on iOS 12 connecting a device with BLE. After zoom out this app into iPhoneX's desktop we could still receive data from device. But developing this app on iOS 13, we find that app stopping receive data after 1 minutes. List after images is Xcode setting :
Xcode background modes
Xcode info.plist
Does there anyone have the solution for this ? Thanks in advance.

Related

iOS 11 CloudKit Record changes notifications not received in Single App or Guided Access Mode

In iOS 11, no CloudKit record change notifications are received when the app is in Single App Mode (SAM) or Guided Access Mode (GAM).
The foreground app would be receiving silent notifications just fine and updating the UI, but once I put it in GAM or SAM, didReceiveRemoteNotification is not called (neither the background method nor the older foreground-only method).
I have an iOS 9 iPad in Single App Mode (SAM) that receives all the CloudKit notifications, and I remember my iOS 10 iPad also worked, so this is an iOS 11 issue.
I wonder if Apple is disabling push notifications in general if a device is in SAM or GAM?
This appears to be fixed in the newest iOS 11.2.5 beta 4. Will wait for the GM release of 11.2.5. Thanks!

iOS 11 random disconnection with external bluetooth device

I use CoreBluetooth framework to connect external bluetooth device, in all iOS don't have random disconnection, but on iOS 11 it disconnect.
Maybe some one has any idea what's wrong with ios 11 and corebluetooth, CBCentralManager?
My app worked disconnected every 5 minutes on iOS 11.0.x,(I'm sorry for the correct version), But in iOS 10 or eralier version is OK. So I try to change the peripheral deviece, change a Android phone to test, both of them are running OK.
Then I update the version to iOS 11.1.1, And the BUG looks like to be FIXed.
Your bluetooth device is disconnected when your iphone/ipad goes to sleep. This is due to iOS 11 is requiring all application to add background mode to their info.plist. Look at screenshot provided below, add it to your app's info.plist and that will resolve your iOS 11 randomly disconnect issue when device goes to sleep.

iOS 8.x app is crashing in background launch

I am developing an VoIP iOS app using PushKit. After getting PushKit payload message, app supposed to be launched in background state. After receiving payload, I am initiating a socket and connecting it with the server. Everything works fine on iOS 9+ devices. But I have iPhone 5c (iOS 8.1)device on which the app crashes. I am not able to figure out the cause of crash.

iOS10 didDiscoverPeripheral misses

I have two iPhones side by side running same version of my app. One iPhone is updated to iOS 10, the other is iOS 9.2. I have a Bluetooth LE device transmitting non-connectable broadcast advertisements. The iOS 10 iPhone fails to detect ~30% of the adverts (failure to invoke didDiscoverPeripheral).
For several versions of iOS, have had no problem. Has iOS 10 Core Bluetooth broken something?
Thx, Dave
The issue can be resolved by powering cycling the phone, or resetting network connections.

Iphone 6 & 6++ not receiving push notifications

I have developed IOS app and it is published in app store. When i am sending push notification from back end (using php script) only iphone5 & iphone5s users are getting the notification. Both of these phones are having IOS 8 installed.
iphone6 & iphone6+ devices not receiving any push notifications, all my devices are having same ios version 'ios8.1.3'. I also updated iphone6+ to ios 8.2 but nothing.
I have tried various things such as resetting the notification dialogue etc.. but nothing has helped so far.
Is there any solution for this problem.
Thanks in advance.

Resources