Open shirk3y opened 10 years ago
I believe this pull request fixes your issue.
Unfortunately, this is not my problem. I’ve found this issue and fixed it before, but the real issue was that you can’t install plugin via url but via uncompressed archive directory path. And it works in this way.
On 10 Sep 2014, at 09:23, Bram notifications@github.com wrote:
I believe this pull request https://github.com/donaldp24/CanvasCameraPlugin/pull/2 fixes your issue.
— Reply to this email directly or view it on GitHub https://github.com/donaldp24/CanvasCameraPlugin/issues/1#issuecomment-55079826.
Hi, I got the 'class not found' fixed. I added these to config.xml:
<gap:plugin name="com.keith.cordova.plugin.canvascamera" />
<feature name="CanvasCamera">
<param name="android-package" value="com.keith.CanvasCameraPlugin.CanvasCamera" />
</feature>
This seems to cause the plugin to be copied into android's src/ folder when running the build command. If I debug the java I can see that the android code is being called now, although I've still not got the whole plugin to work. This code in the Java never seems to equate to true (line 84): :(
if ("start".equals(action))
First of all: Thanks a lot for your initiative!
I have strange error when trying to run start() using full-example you have provided I've created an errback and printed its results:
Class not found
Do you know what class is missing? I've added plugin definition to the config.xml. Does it depends on some additional plugins? I've added alsoorg.apache.cordova.media-capture
,org.apache.cordova.camera
andorg.apache.cordova.device
but error remains the same.I would be glad for any help, since I'm newbe to Cordova.