Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-core-android-extensions

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-core-android-extensions

Useful methods for an android cordova app

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

cordova-plugin-core-android-extensions

Useful methods for an android cordova app

Installation

cordova plugin add cordova-plugin-core-android-extensions

Supported Platforms

  • Android

Methods

Every method returns a promise fulfilled with an appropriate result.

  • navigator.app.minimizeApp
  • navigator.app.resumeApp
  • navigator.app.detectApp
  • navigator.app.uninstallApp

navigator.app.minimizeApp

Shows home screen and sends the app into background

Parameters
  • moveBack: When true the app first tried to return to the previous task in current stack (Boolean)

navigator.app.resumeApp

Brings app into foreground.

navigator.app.detectApp

Detects an app availability.

Parameters
  • packageName: Target app package name

navigator.app.uninstallApp

Trigger an app uninstall dialog.

Parameters
  • packageName: Target app package name

navigator.app.startApp

Starts an app activity.

Parameters
  • packageName: Target app package name
  • componentName: Target app component name (optional)

Examples:

// open Google Maps
navigator.app.startApp("com.google.android.apps.maps")
// open device Wi-Fi settings
navigator.app.startApp("com.android.settings", "com.android.settings.wifi.WifiSettings")

Keywords

FAQs

Package last updated on 07 Mar 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc