cordova-plugin-bluetooth-app-share

1.0.1 • Public • Published

Share App Cordova Plugin

Allows you to share your cordova app's .apk file via bluetooth.

It looks for the current app's apk file, renames it to the name provided and then sends it via bluetooth to another phone.

It's useful in places where access to internet is limited. Originally created for the Emoyeni app which works completely offline.

Link to React Native version here

Read more about the plugin on my website

Install

cordova plugin add cordova-plugin-bluetooth-app-share

API

// Using cordova
window.cordova.plugins.shareapp.share(string: fileName)

// Using Ionic 
window['cordova'].plugins.shareapp.share(string: fileName)

Note fileName is required.

Example

// Using cordova
window.cordova.plugins.shareapp.share("MyApp")

// Using Ionic 
window['cordova'].plugins.shareapp.share("MyApp")

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i cordova-plugin-bluetooth-app-share

      Weekly Downloads

      2

      Version

      1.0.1

      License

      MIT

      Unpacked Size

      5.57 kB

      Total Files

      5

      Last publish

      Collaborators

      • nicolaidavies