0

How to keep monitoring BLE when application is killed?

My apps is running in background, but not running when I killed it.
I have background modes:
ble-peripheral, ble-central, location, background fetch.

Eric Aya
  • 69,473
  • 35
  • 181
  • 253
  • 1
    There is no way to run iOS app once it's killed! – D4ttatraya May 30 '17 at 07:06
  • then how about whatsapp? it can send notification when apps is killed – Susy Valentina Rahardjo May 30 '17 at 07:08
  • 1
    WhatsApp like apps uses [APNS](https://developer.apple.com/notifications/) and [VoIP Pushes](https://developer.apple.com/reference/pushkit) which can awake app silently in background – D4ttatraya May 30 '17 at 07:10
  • See this: https://forums.developer.apple.com/thread/75403 - Take care of the "State Preservation and Restoration" - https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/CoreBluetoothBackgroundProcessingForIOSApps/PerformingTasksWhileYourAppIsInTheBackground.html#//apple_ref/doc/uid/TP40013257-CH7-SW14 – Lepidopteron May 30 '17 at 07:16
  • https://stackoverflow.com/questions/19127282/ibeacon-notification-when-the-app-is-not-running – PlusInfosys May 30 '17 at 07:20
  • Possible duplicate of [iBeacon Notification when the app is not running](https://stackoverflow.com/questions/19127282/ibeacon-notification-when-the-app-is-not-running) – dandan78 May 30 '17 at 09:38

0 Answers0