Gathering detailed insights and metrics for cordova-plugin-kiosk-ia
Gathering detailed insights and metrics for cordova-plugin-kiosk-ia
Gathering detailed insights and metrics for cordova-plugin-kiosk-ia
Gathering detailed insights and metrics for cordova-plugin-kiosk-ia
Cordova Kiosk Plugin for Android (fork of Jan Kalina's Cordova Kiosk Mode plugin athttps://github.com/honza889/cordova-plugin-kiosk)
npm install cordova-plugin-kiosk-ia
Typescript
Module System
Node Version
NPM Version
Java (88.69%)
JavaScript (11.31%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
1 Stars
4 Commits
2 Forks
1 Branches
1 Contributors
Updated on Oct 19, 2020
Latest Version
1.1.0
Package Id
cordova-plugin-kiosk-ia@1.1.0
Unpacked Size
35.44 kB
Size
10.59 kB
File Count
9
NPM Version
6.14.4
Node Version
12.16.2
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
No dependencies detected.
This is a fork of the
cordova-plugin-kiosk
plugin bykhalinka
https://github.com/hkalina/cordova-plugin-kiosk. If you don't know which Kiosk plugin to use, you might start out withkhalinka
's plugin or with guatedude2's one under https://github.com/guatedude2/cordova-plugin-kiosk-launcher and only return here in case you miss the updates I did (see changes below).
setCloseSystemDialogIntervalMillis(int)
,
setCloseSystemDialogDurationMillis(int)
and setKioskEnabled(bool)
Find the original documumentation by khalinka
at https://github.com/hkalina/cordova-plugin-kiosk.
A Cordova plugin to create a Cordova application with "kiosk mode". An app with this plugin can be set as an Android launcher. If the app starts as a launcher, it blocks hardware buttons and the statusbar, so a user cannot close the app (or switch to another app) until the app requests it. The plugin does not change behavior of the application until it is set as a launcher.
⚠️ ANDROID ONLY ⚠️
cordova plugin add cordova-plugin-kiosk-ia
Android platform files (like AndroidManifest.xml
) should be updated immediately. If you will modify plugin code, you will need to re-add android platform to plugin modifications take effect:
cordova platform rm android
cordova platform add android
All methods should only be called after the deviceready
event.
KioskPlugin.exitKiosk();
This shows the application launcher which lets you choose which application to launch to. This way, you can exit your application by choosing the default desktop application.
KioskPlugin.isInKiosk(function(isInKiosk){ ... });
KioskPlugin.isSetAsLauncher(function(isLauncher){ ... });
buttons whose event propagation should not be prevented - so you can for example allow setting volume up/down:
KioskPlugin.setAllowedKeys([ 24, 25 ]); // KEYCODE_VOLUME_UP, KEYCODE_VOLUME_DOWN
For list of keycode values check KeyEvent reference: https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_0
KioskPlugin.setKioskEnabled(boolean);
This is not heavily tested and you might have to call it whenever your app is re-entered (resume
event) after it went to the background or received the pause
event.
KioskPlugin.setCloseSystemDialogIntervalMillis(200)
KioskPlugin.setCloseSystemDialogDurationMillis(20000)
Once the application loses focus (e.g. top menu pulled down), this will close any system dialogs (and the top-menu/statusbar) with the specified frequency for the specified duration. So in the above example it will close system dialogs every 200ms it for 20 seconds.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More