apache / apache/cordova-plugin-inappbrowser

Screen always on for inappbrowser (option)

Open
#876 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

I have an app that displays a realtime monitoring page using inappbrowser. Because of its realtime character it's essential that the device screen/lcd stays on while displaying the page.

Using cordova-plugin-insomnia perfectly prevents the screen from switching off when the app is active, but it has no effect on the inappbrowser-window.

It would be nice to have a inappbrowser option to set this.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the plugin's native Android and iOS InAppBrowser entry points and how options are handled. Compare the requested behavior with cordova-plugin-insomnia, then verify the screen remains on only while the InAppBrowser page is active and that the new option is documented for both platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript, objective-c
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.