Running your app in the background
You can use the app with the SDK background.
How it works
The app using the SDK can receive data from the Ring device even it is running in the background.
Here are some tips about when you use the app background.
- Only the latest used app can receive the data.
- You need to keep running both the the official Ring app and your own app in the background. If either of them is closed, background app won't work correctly.
- The app running in the background is not very stable because of its priority. Some delays can be caused on actions, like the gesture recognition.
Configuring to Running in the Background
Xcode project settings
Add your Xcode project settings on Capabilities screen.
Pass true to the
argument when instanciate CRApplication class.
CRApplication(delegate:self, background: true)
[[CRApplication alloc] initWithDelegate:self background:YES];