Re: [Android] Library Project/AAR alternatives to current plugin situation

2016-04-08 Thread Joe Bowser
d to find good documentation, but here's the tool that links > RN plugins into RN app projects: https://github.com/rnpm/rnpm, > https://github.com/rnpm/rnpm-plugin-link > > > Jason > > > -Original Message- > From: Joe Bowser [mailto:bows...@gmail.com] > Sent: T

RE: [Android] Library Project/AAR alternatives to current plugin situation

2016-04-08 Thread Jason Ginchereau
ns into RN app projects: https://github.com/rnpm/rnpm, https://github.com/rnpm/rnpm-plugin-link Jason -Original Message- From: Joe Bowser [mailto:bows...@gmail.com] Sent: Thursday, April 7, 2016 10:12 AM To: dev Subject: Re: [Android] Library Project/AAR alternatives to current plugin

Re: [Android] Library Project/AAR alternatives to current plugin situation

2016-04-07 Thread Joe Bowser
BTW: The library project is in the Android directory of this plugin. I want to be able to have our plugins use Library Projects and AARs so that we can get much improved test coverage. https://github.com/infil00p/cordova-plugin-inappbrowser/tree/aar_poc On Thu, Apr 7, 2016 at 8:52 AM, Joe Bowser

Re: [Android] Library Project/AAR alternatives to current plugin situation

2016-04-07 Thread Joe Bowser
BTW: You can use this to install plugins in an Android Studio project. It's a proof-of-concept, but it's a good stop-gap until we get our plugin story figured out. https://github.com/infil00p/cordova-android-studio On Thu, Apr 7, 2016 at 5:31 AM, julio cesar sanchez wrote: > I think it's a good

Re: [Android] Library Project/AAR alternatives to current plugin situation

2016-04-07 Thread Joe Bowser
I didn't publish it anywhere yet because I can't officially publish things as Cordova without things being voted on. I could probably call this all PhoneGap and publish it, but I really want to make sure that I have the is dotted and the ts crossed before doing that, since I don't want the Apache

Re: [Android] Library Project/AAR alternatives to current plugin situation

2016-04-07 Thread julio cesar sanchez
I think it's a good idea as right now you can't install plugins on the cordova embedded webview use case, not even with plugman. Did you publish it on jcenter or mavencentral? or can you publish on github the plugin as library project (I mean the plugin with the changes you made, but without the

Re: [Android] Library Project/AAR alternatives to current plugin situation

2016-04-06 Thread Joe Bowser
On Wed, Apr 6, 2016 at 4:08 PM, Carlos Santana wrote: > Does this aligns in a similar way as how phonegap is recommending for iOS > on using Cocoapods [1] to embed the Cordova WebView into an existing iOS > App? > Yes, except that I don't think it will be nearly as complex as the iOS approach is

Re: [Android] Library Project/AAR alternatives to current plugin situation

2016-04-06 Thread Carlos Santana
Does this aligns in a similar way as how phonegap is recommending for iOS on using Cocoapods [1] to embed the Cordova WebView into an existing iOS App? Looking only from a Native Android developer eyes this will be the approach I would like if I have a pure native android app and for some reason I

[Android] Library Project/AAR alternatives to current plugin situation

2016-04-06 Thread Joe Bowser
Hey I recently looked at how native Android developers could use the current Cordova code with their projects, and I've noticed that there's some major problems with our current approach of just copying the Java classes into a project, such as resources getting merged together, and other related i