0.0.9 • Published 3 years ago

cordova-plugin-codeplay-share-own-apk v0.0.9

Weekly downloads
2
License
ISC
Repository
github
Last release
3 years ago

Developed by HTML Code Play and this plugin is used for share your current own apk through any other sharing applications for your cordova applications.

cordova.plugins.codeplay_shareapk.isSupport(success,fail);
cordova.plugins.codeplay_shareapk.isSupport(success,fail);

function success(result)
{
 console.log(result);
}
function fail(result)
{
 console.log(result);
}
cordova.plugins.codeplay_shareapk.openShare(["Title"]);
cordova.plugins.codeplay_shareapk.openShare("Kindly share our app through");
cordova.plugins.codeplay_shareapk.openShare();
cordova.plugins.codeplay_shareapk.openShare(["Title"][,"Apk Name"]);
cordova.plugins.codeplay_shareapk.openShare("Title","My new Apk Name");
cordova.plugins.codeplay_shareapk.openShareFile("Title","New_Filename_with_externsion","file_path");
cordova.plugins.codeplay_shareapk.openShareFile("This is title","mytable.html","/storage/emulated/0/HTMLCodePlayTemp.html")
cordova.plugins.codeplay_shareapk.copyFile(sourceFilePath,distinationFolderPath,FileNameWithExternsion);
var sourcePath='/storage/emulated/0/test.jpg';
var distinationPath="/storage/emulated/0/Android/data/com.xxx.xxx/files/";

cordova.plugins.codeplay_shareapk.copyFile(sourcePath,distinationPath,"myfile.jpg");

https://play.google.com/store/apps/details?id=sql.code.play

https://play.google.com/store/apps/details?id=html.editor.codeplay

https://play.google.com/store/apps/details?id=php.code.play

https://play.google.com/store/apps/details?id=cordova.code.play

https://play.google.com/store/apps/details?id=com.kids.learning.master