Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 81910

Preventing screen sleep on certain pages

$
0
0

Hi!

I have an app with a barcodescanner. When I open this barcodescanner (which is simply a contentpage), I want to prevent the screen going off/to sleep.

Does someone know how to prevent the screen sleep in Xamarin Forms (Android & iOS)? And if possible, only for one contentpage?


Viewing all articles
Browse latest Browse all 81910

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>