Stay connected to ble when app is closed - ios7

I have one BLE device which has one physical button on it ,I want to trigger local notification in iOS device whenever I click the BLE device button even when the app is closed .Is this is possible in iOS to read characterstics event when the app is closed.
Thanks

Related

photo shoot not working with camera connected to the computer

I am trying to take photos while the camera is connected to the computer. As soon as the camera is connected to to PC the camera changes it's mode to busy. I would like trigger the camera to take picture while it is connected to the computer.
You can use the EdsSendStatusCommand function with kEdsCameraStatusCommand _UIUnLock to use the camera manually while plugged in. Note that some commands issued with the Canon SDK may lock the camera UI again.

need the react native app to receive headset button event when the device is in locked state

How to run react native app in background. I need the app to accept the voice command when i click the headset button even when the device is in locked state.
Basically headset button click event should trigger the app to listen for voice. Currently my app accepting the voice command in foreground mode and works. but my requirement is even if device is locked , up on clicking the head set button i should trigger the app.
It wasn't done before but today you can by adding some libraries to create a background service. I believe you can later capture the event you want. this what you will tell us.
Follow this link to learn how to create the background service
Libraries you will need:
React Native Queue
react-native-background-task

Game centre user turn notification banner is not display in background mode

I am developing an app in which I have implemented a small turn based game using game centre. I have facing a problem and problem is when I have start the game and invite a friend then the notification banner with appropriate message is display on friend device but when he play the game and give turn to me and when my app is in background mode then only the badge is display but notification banner is not display but if I have remove the app from background then notification banner appears correctly. This process is running correctly with iOS 7 & 8 but not with iOS 9. Please suggest me any idea to solve this.
Thanks in advance!

Get notifications even if using Android Wear Application

Is it possible to get notification in Android wear if wear specific application is running in Android wear device. I noticed that I got notified only after existing my wear application.
Another problem I faced is, If one reads a notification and if another notification comes, it just closed the current notification and opened the recent notification.
Is that the way Android wear actually works? or am I wrong somewhere ?
For the first question : you are notified, the device vibrates, but since your Wear application is in full screen and notifications are only displayed on the watch face, you can't see them/interact with them while you are on the application.
For the second one : it's the way the Card stream works, if you receive a notification while reading another, once you cancel the second one, the new notification will pop up, being at the top of your stream.

iOS 6 CoreBluetooth Pairing / Forgetting (2 questions)

We have a bondable (when we connect we are asked to Pair, see question 2) Bluetooth 4.0 peripheral that we have manufactured and have written an iOS app for.
Question 1
Is it possible in iOS 6 with CoreBluetooth to remove our peripheral from the iOS Bluetooth Settings from within our app or is this restricted to only going to iOS Settings / Bluetooth / Our Peripheral and "Forget this device".
What we are trying to do is when we remove our peripheral from within our app, we expect this peripheral to be removed from the iOS Bluetooth list as well.
Question 2
My second question is, does iOS SDK provide a way to determine if a user has chosen "Pair" or "Cancel" on the Pairing request alert? As of now, we determine the user pressed pair by reading our services / characteristics when the device is connected.
Question 1
No, I really dont think so. Clearing it through settings is the only possible way.
Question 2
The centralManager delegate has callbacks for both failed and successfully connected peripheral, so I would listen to them to check if user cancelled or not: didConnectPeripheral and didFailToConnectPeripheral
When you click 'cancel' on the bonding dialog iOS will call the delegate method 'centralManagerDidUpdateState' with the state being 'CBCentralManagerResetting'. If you click pair then the command will proceed normally.