googlevr / gvr-ios-sdk

Google VR SDK for iOS
http://developers.google.com/vr/ios/
Other
645 stars 191 forks source link

[UIApplication sharedApplication].idleTimerDisabled = YES not working #190

Closed garranhado closed 6 years ago

garranhado commented 7 years ago

[UIApplication sharedApplication].idleTimerDisabled = YES is not working when using kGVRWidgetDisplayModeFullscreen or kGVRWidgetDisplayModeFullscreen modes.

How to disable device auto-lock?

Lannylanlol commented 7 years ago

Hi, same issue also on Android. FLAG_KEEP_SCREEN_ON is set on the Activity where there is VrVideoView displayed in EMBEDDED and FULLSCREEN_STEREO MODE. The Flag set doesn't work for both display mode. Thanks

sanjayc77 commented 6 years ago

Closing this due to inactivity. Please reopen if the issue still exists.