Socket
Socket
Sign inDemoInstall

cordova-plugin-kiosk-launcher

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cordova-plugin-kiosk-launcher

Cordova plugin to make a Cordova application a launcher


Version published
Weekly downloads
9
Maintainers
1
Install size
10.5 kB
Created
Weekly downloads
 

Readme

Source

cordova-plugin-kiosk-launcher

This plugin makes a cordova app become a launcher (homescreen).

Based of [https://github.com/hkalina/cordova-plugin-kiosk].

Sets a Cordova application as a launcher

This plugin does not change behavior of application until it is set as launcher - home screen of the device.

Escape from app with this plugin is possible only using javascript call Kiosk.exitKiosk() or by uninstalling app using adb. (Keeping USB debug allowed recommended.) If applications starts as usual (not as launcher), no restrictions are applied.

This plugin only works on Android

This plugin has only been tested in Cordova 3.2 or greater, and its use in previous Cordova versions is not recommended (potential conflict with keyboard customization code present in the core in previous Cordova versions).

Installation

From npm (stable)

cordova plugin add cordova-plugin-kiosk-launcher

From github latest (may not be stable)

cordova plugin add https://github.com/guatedude2/cordova-plugin-kiosk-launcher

Methods

Kiosk.setKiosEnabled

Enables/disables kiosk mode and

Kiosk.setKiosEnabled(boolean);

Kiosk.switchLauncher

Disables kiosk mode and allows you set a different launcher

Kiosk.switchLauncher();

Kiosk.isInKiosk

Checks to see if the app is running in kiosk mode

Kiosk.isInKiosk(function(isInKiosk){ ... })

Kiosk.isSetAsLauncher

Checks to see if the app is set as a launcher

Kiosk.isSetAsLauncher(function(isSetAsLauncher){ ... })

Releases

  • 1.0.3
    • Removes fullscreen bug
  • 1.0.2
    • Fixes wrong filename
    • Fixes KisokActivity not running
  • 1.0.0
    • Initial NPM release

Keywords

FAQs

Last updated on 01 Mar 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc