sales@toolfolks.com
VoltBuilder run started at 2021-02-03 06:56:27.408222
Plan: Indy - AppStudio
Preflight Check
Output:
e[4me[1me[32mcordova-sms-plugine[39m@e[32m1.0.0e[39me[22me[24m | e[32mMITe[39m | deps: e[32mnonee[39m | versions: e[33m10e[39m
Cross-platform plugin for Cordova / PhoneGap to to easily send SMS. Available for Android, iOS and WP.
e[36mhttps://github.com/cordova-sms/cordova-sms-plugin#readmee[39m
keywords: e[33mcordovae[39m, e[33mphonegape[39m, e[33msmse[39m, e[33mecosystem:cordovae[39m, e[33mcordova-androide[39m, e[33mcordova-wp8e[39m, e[33mcordova-iose[39m, e[33mcordova-windowse[39m
dist
.tarball: e[36mhttps://registry.npmjs.org/cordova-sms-plugin/-/cordova-sms-plugin-1.0.0.tgze[39m
.shasum: e[33md5f6825696df02ad88b1447902377ccf2b0bb80be[39m
.integrity: e[33msha512-DdRf1zdJkwC9BJ3fVg2yx/faoW5eOscg6oFIWODfOIBu5AQ1oV6+gsGTO5pHVLBzlt5V8U9zG9PwhR1IbnW/EQ==e[39m
.unpackedSize: e[33m28.3e[39m kB
maintainers:
- e[33mdbaqe[39m <e[36mdidier.baquier@gmail.come[39m>
dist-tags:
e[1me[32mlateste[39me[22m: 1.0.0
published e[33mover a year agoe[39m by e[33mdbaqe[39m <e[36mdidier.baquier@gmail.come[39m>
Error: Plugin 'cordova-sms-plugin' is under review.
We are examining it now and will email you when it is approved - usually within a day.
Build b1b87ede-507d-42dc-9ff5-98fb9c0a441f failed
got the app installed on Android.
When I try to send Native ( Android ) I get User has denied permission.
Where do edit / create the permissions within appStudio ?
Have you implemented the code to handle permissions? The plug in docs provide an example in section ‘On Android, two extra functions are exposed to know whether or not an app has permission and to request permission to send SMS (Android Marshmallow +).’
I haven’t implemented them in the app ( I assumed it would be in the example ).
Is there an example of what do and where to put the code ?
I see:
var app = {
checkSMSPermission: function() {
var success = function (hasPermission) {
if (hasPermission) {
sms.send(...);
}
else {
// show a helpful message to explain why you need to require the permission to send a SMS
// read http://developer.android.com/training/permissions/requesting.html#explain for more best practices
}
};
var error = function (e) { alert('Something went wrong:' + e); };
sms.hasPermission(success, error);
},
requestSMSPermission: function() {
var success = function (hasPermission) {
if (!hasPermission) {
sms.requestPermission(function() {
console.log('[OK] Permission accepted')
}, function(error) {
console.info('[WARN] Permission not accepted')
// Handle permission not accepted
})
}
};
var error = function (e) { alert('Something went wrong:' + e); };
sms.hasPermission(success, error);
}
};
Where does this code go and where do I configure Android permissions ?
Tip: If you’re pasting code, html or config files, surround the code with triple back ticks (```), before the first line and after the last one. It will be formatted properly.