Skip to content Skip to sidebar Skip to footer

How To Add Native Module To Cordova Android Project?

I want to add a native (integration test) module to a Cordova Android project. For fully native projects, you just add a new module, commit and be done with it. But for Cordova I o

Solution 1:

I think what you are looking for can be done using a custom plugin which can extend the base gradle config using a framework tag like this:

<framework src="relative/path/to/your/gradlefile/*.gradle" custom="true"type="gradleReference" />

This is how a cordova-android project is usually extended.

Post a Comment for "How To Add Native Module To Cordova Android Project?"