To Reproduce
Steps to reproduce the behavior:
Just install the plugin, open the app on Android, and screen never goes off.
Expected behavior
I would like to be able to configure this keepScreenOn parameter, or at least that it only affects my app when the photo is displayed.
Smartphone (please complete the following information):
Describe the bug When adding this plugin to my capacitor application, my app is kept awake and phone screen never goes off when the app is in foreground, on Android. This is because of this line : https://github.com/capacitor-community/photoviewer/blob/859bede939e1dd535b9b5fd1e1c737876ae704ea/android/src/main/res/layout/bridge_layout_main.xml#L7 But i'm not sure why it's affecting my entire application event when i'm not on the page using photoviewer. Is it the same Android activity ?
To Reproduce Steps to reproduce the behavior: Just install the plugin, open the app on Android, and screen never goes off.
Expected behavior I would like to be able to configure this keepScreenOn parameter, or at least that it only affects my app when the photo is displayed.
Smartphone (please complete the following information):