Hi
I am having trouble running a 3rd party plugin that I got from here:
https://github.com/Telerik-Verified-P...
The project apk builds just fine but I cannot access any plugin functionality when I install the app on Android
The plugin was mported into my Appery project as described here :
https://devcenter.appery.io/documenta...
in the section "Importing Cordova Plugins". Verified that the plugin is enabled in the "Cordova Plugins-Imported cordova plugins" tab of the Project settings.
When I try to call the plugin getPictures() method like so:
I get the following error:
window.plugins.imagePicker.getPictures is not a function
I tried printing out the Appery plugins object :
alert(JSON.stringify(window.plugins));
and I get the following:
{"imagePicker":{},"gaPlugin":{}}
It appears that the imagePicker object is empty.
Verified that by printing all properties of the imagePicker object:
var str = "";
Code: Select all
for (var myprop in window.plugins.imagePicker) {
str += (myprop + ": " + window.plugins.imagePicker[myprop] + "\n");
}
alert(str);
But the string is empty.
Any ideas?
Additional questions:
1.I could not find the imported plugin anywhere in the source view. Where is it stored?
- Has anyone successfully used a camera preview and an album image picker plugins in appery? If so, please share your experience and what plugins were used
Thanks Andy