Skip to content

andreszs/cordova-plugin-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub code size in bytes GitHub top language GitHub GitHub last commit

Apache Cordova plugin demos

Source code for the www and res folders of some plugin demo apps by Andrés Zsögön. Refer to the individual page for each demo app for usage reference and compiled APK downloads.

⚠️ To shorten the source code, all demos implement jQuery 3.6.0 which is included in the js folder.

Building demo apps

To build and test a demo app with the provided source code:

  1. Create a new Cordova project using the provided package name (com.andreszs.[...].demo)
  2. Add the www folder provided
  3. Add the res folder and config.xml if you want to include the demo app icons.
  4. Install the cordova-plugin-app-version plugin (used to retrieve app's version)
  5. Install the cordova-plugin-device plugin (used in some demos that provide both android and browser platform)
  6. Install the relevant plugin from either NPM or GitHub. In general, they are the same versions.

ℹ️ Some demos include minSdkVersion and targetSdkVersion variables inside config.xml. If your compile fails, try setting the same values in your implementation.

Contributing

ℹ️ To keep apps simple, certain demos do not include all of the plugin's functions. To add missing features or fix errors, kindly sent a PR and it will be merged asap.

Demo apps included

com.andreszs.biometric.auth.demo

com.andreszs.btprinter.demo

  • Plugin: cordova-plugin-btprinter
  • Bluetooth printer implementation to print text, images, barcodes and QR codes to any bluetooth-paired printer.

com.andreszs.camera.preview.demo

com.andreszs.fingerprint.demo

com.andreszs.gcs.demo

com.andreszs.grecaptcha.demo

com.andreszs.hcaptcha.demo

com.andreszs.inappupdate.demo

com.andreszs.recaptcha.v2.demo

com.andreszs.smsreceive.demo

com.andreszs.smsretriever.demo

com.andreszs.spinner.demo

  • Plugin: cordova-plugin-native-spinner
  • Show a platform's native spinner and/or message for preventing user interaction during blocking operations.

About

Demo apps for different cordova plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published