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
cordova plugin add cordova-plugin-bluetooth-app-share
// Using cordova
window.cordova.plugins.shareapp.share(string: fileName)
// Using Ionic
window['cordova'].plugins.shareapp.share(string: fileName)
Note fileName
is required.
// Using cordova
window.cordova.plugins.shareapp.share("MyApp")
// Using Ionic
window['cordova'].plugins.shareapp.share("MyApp")