Re: Testing a new Plugin "Module" authoring method

2023-03-30 Thread julio cesar sanchez
I’ve seen this error pop up sometimes that seems to indicate that it’s not possible, but not always, so might depend on how the aar is configured to be used, glad to know it works for you. > Direct local .aar file dependencies are not supported when building an AAR. > The resulting AAR would be

Re: Testing a new Plugin "Module" authoring method

2023-03-30 Thread Norman Breau
Modules can bundle AARs and native libraries however there will be a conflict if you have multiple modules bundling the same libraries. Internally at my workplace we handle this by wrapping the native library (either native C++ or AAR/xcframework) around a plugin whose sole purpose is to

Re: Testing a new Plugin "Module" authoring method

2023-03-30 Thread julio cesar sanchez
I had similar thoughts in the past, but never had time to implement it myself. For reference, Joe already tried to convert the Android part of InAppBrowser plugin into a library project back in 2018 https://github.com/apache/cordova-plugin-inappbrowser/pull/242 Modules have some problems too,

Testing a new Plugin "Module" authoring method

2023-03-29 Thread Norman Breau
Hi all, I just wanted to announce that I've been experimenting with a different way of authoring Cordova plugins. I don't really have anything to show right now, but looking to get some abstract high-level feedback based on the idea. This is more or less a preliminary start of a discussion