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

cordova-simulator

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-simulator

Cordova plugins simulator in browser

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cordova-simulator

Web application for simulating cordova plugins.

The app is an alternative to cordova serve (ionic serve for ionic users).

Installing

$ npm install -g cordova-simulator

Note: For a global install of -g cordova-simulator, OSX/Linux users may need to prefix the command with sudo.

Usage

$ cordova-simulator [-l | --launch] [-d | --demo] [-p num | --port=num] [-a app1[,app2...] | --apps=app1[,app2...]] [-r resource_folder1[,resource_folder2...] | --resources=resource_folder1[,resource_folder2...]]

Options:

ParamDescriptionDefault Value
-p, --portThe server's port80
-l, --launchLaunch in browserfalse
-d, --demoInclude the demofalse
-a, --appsApps folders[]
-r, --resourcesResources folders[]
-h, --helpShow help 
-v, --versionShow version number 

Custom behavior

# platform classes

Based on the platform, the simulator will add 'platform-*' classes to the body of the app html.

# live reload

The simulator will reload the devices whenever a file is changed in the app folder.

Supported plugins

  • Action Sheet
  • App Version
  • Battery Status *
  • Clipboard
  • Device *
  • Dialogs *
  • Flashlight
  • Network Information *
  • Splashscreen *
  • Vibration *

* official Apache Cordova Plugin

Keywords

FAQs

Package last updated on 06 Feb 2015

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