webview-debug icon indicating copy to clipboard operation
webview-debug copied to clipboard

cannot use with phonegap build service

Open dotnetwise opened this issue 11 years ago • 7 comments

Cannot use with phonegap build service. Can you please submit your plugin to phonegap 3rd party plugins?

$ phonegap remote run android 
[phonegap] compressing the app...
[phonegap] uploading the app...
   [error] {"error":"plugin unsupported: com.jamiestarke.webviewdebug"}

dotnetwise avatar Dec 13 '13 12:12 dotnetwise

I have tried to submit it to Adobe Phonegap build service, but they say

The license of the plugin must be 'MIT' or 'Apache 2.0'

Can you please update your licensing of the plugin to either one of the two?

dotnetwise avatar Dec 13 '13 12:12 dotnetwise

Sorry, I misunderstood what you were looking for. I've updated the license, and submitted it to PhoneGap Build. It's currently undergoing review, but you probably won't be able to see that page until it gets accepted.

jrstarke avatar Dec 13 '13 15:12 jrstarke

No problem. This will help anyone quickly enabling the debugger without installing the plugin itself / doing local build. Just adding <gap:plugin name="com.jamiestarke.webviewdebug" /> would enable it!

Thank you!

dotnetwise avatar Dec 13 '13 15:12 dotnetwise

Hi, is there any status update on the review.

p5hema2 avatar Feb 04 '14 09:02 p5hema2

I can't seem to find it released either :(

dotnetwise avatar Feb 04 '14 09:02 dotnetwise

There appears to be a bug blocking my submission (http://community.phonegap.com/nitobi/topics/getting_unable_to_clone_git_repository_when_submitting_a_plugin_update-osqln?rfm=1)

jrstarke avatar Feb 04 '14 15:02 jrstarke

After looking into it for a few minutes, it appears that this is supported directly in PhoneGap 3.3.0 (https://github.com/apache/cordova-android/blob/3.3.0/framework/src/org/apache/cordova/CordovaWebView.java#L299), and based on feedback of PhoneGap Build, my plugin can only accept 3.2.0 or higher, it make little sense to resubmit this. I advise you to move up to Cordova 3.3.0, and it should just work if you have the debuggable flag enabled.

jrstarke avatar Feb 04 '14 15:02 jrstarke