Saturday, 15 August 2015

ios - GKSession will get peer ids of other devices which are in background -



ios - GKSession will get peer ids of other devices which are in background -

will gkpeerpickercontroller show peer ids of bluetooth device part of 1 particular application in suspended mode

scenario

i have ios bluetooth application xyz particular session id.same application running in multiple devices same session id. each devices should show list of nearby devices in xyz application. suppose application has gone suspended mode in 1 of device. question still other peers peer id of bluetooth device xyz app in suspended mode.

thanks in advance

no: gksession operates on threads in app's process, threads suspended when app in background mode. means gksession not respond of bonjour requests or network event callbacks while process backgrounded, because no threads in app time on cpu.

gksession work when app in 'inactive' mode (which happens when user pushes lock button on top of phone, or looking @ phone phone call screen or notification drawer).

ios bluetooth gksession

No comments:

Post a Comment