aoberoi / cordova-plugin-opentokjs

A Cordova plugin to enable use of OpenTok on the iOS, Android, and Browser platforms.
MIT License
21 stars 16 forks source link

Best practices for handling backgrounding #8

Open aoberoi opened 9 years ago

aoberoi commented 9 years ago

We need to document what the observed behavior is for the application going into the background on the android and ios platforms. Given that, we also want to document how we recommend implementing solutions to common problem scenarios. This discussion is open to thoughts on enhancing the opentok.js API.

mark-veenstra commented 9 years ago

Since >iOS9 the behaviour is the same as in Android >5.x as we have tested. For example on both platforms we got a disconnect on our socket server when the app is going into the background.

Also Cordova has the events pause and resume