I am required to wake up my application when bluetooth pairing happensin ios. I see that the ios app can listen to external accessory, can any gentle soul please throw light to docs or sample codes or work arounds please ? wake up means while the app is in closed state, not in background running.
my initial research pointed towards below links.
http://stackoverflow.com/questions/21446721/wake-up-ios-app-when-a-bluetooth-device-is-near-by
http://stackoverflow.com/questions/19932090/how-to-wake-up-ios-app-with-bluetooth-signal-ble
the last person's answer in both the posts indicate towards that it is possible. my doubt is for exactly what event i can wake up my application from closed state (i mean the user closed the app from background apps list ) ?
My further investigation revealed that in my app-info.plist, requiredbackgroundmodes is set to "App communicates using bluetooth"
Still the app does not receive any entry point when it is in stopped state upon bluetooth data arrival ! this is kinda baffling me.
should this go to didFinishLaunchingAppWithOptions ? should that be the entry point or something else ?
thanks
--ch
my initial research pointed towards below links.
http://stackoverflow.com/questions/21446721/wake-up-ios-app-when-a-bluetooth-device-is-near-by
http://stackoverflow.com/questions/19932090/how-to-wake-up-ios-app-with-bluetooth-signal-ble
the last person's answer in both the posts indicate towards that it is possible. my doubt is for exactly what event i can wake up my application from closed state (i mean the user closed the app from background apps list ) ?
My further investigation revealed that in my app-info.plist, requiredbackgroundmodes is set to "App communicates using bluetooth"
Still the app does not receive any entry point when it is in stopped state upon bluetooth data arrival ! this is kinda baffling me.
should this go to didFinishLaunchingAppWithOptions ? should that be the entry point or something else ?
thanks
--ch
Last edited: