Hello,
i am trying to integrate an Cordova plugin .
Unfortunally every time i try to build the Android app, its simple return (Error: Cannot find module 'lodash')
To be sure, i build an cordova Android App, in Mac, using the plugin, and tested it on device, and everything is working .
Whats is the issue with this error? There isnt any clear information about it.
And "npm install lodash" doesnt solve it. Even in my github, i assure there is a node module called lodash, but still i am unable to build it.
Here is the cordova plugin url that i am trying to integration in outsystems mobile :
https://github.com/vviek/jumio-cordova-plugin-2.12.0
Any solutions?
Vivek Patel wrote:
Joseph Omas wrote:
Have you added the
https://github.com/Jumio/mobile-cordova.git#v2.12.0 in your Extensibility Configurations?
Don't forget to re-install the app after adding the plugin in Extensibilty Configurations.
Yes i did all these ,but not able to generate apk .
i am attaching log file ,you can get more detail on it.
Please try this configuration settings.
{ "plugin": [ {"url": "https://github.com/vviek/jumio-cordova-plugin-2.12.0.git" }, {"url": "https://github.com/lodash/lodash-webpack-plugin.git" } ] }
or
{ "plugin": [ {"url": "https://github.com/vviek/jumio-cordova-plugin-2.12.0.git" }, {"url": "https://github.com/lodash/babel-plugin-lodash.git" } ] }
and please generate APK after
I also tried this but still it cannot find the Lodash module. I am also trying to integrate Jumio-Cordova Version 2.12.0
Thanks ,
By using this , i am able to generate APK file.
You saved my whole day.
I also tried integrating the latest version of Jumio Cordova (Version 3) but it has a incompatibility issue regarding the AndroidX libraries.
Hi It also worked on my side but after generating the APK, the JumioSDK for the plugin is nowhere to be found. Am I missing some configuration before generating the APK? Thanks
PAUL CERVIN MITCH VILLARIN wrote:
If you are familiar with Android studio ,there you can find gradle files .
Gradle file contains api details details.
You can also find .aar file under external libraries.
I am attaching some screens ,which will help you.
Sorry I am not familiar with Android Studio. Yes please it will be a great help. thanks
Hi,
Did you check attached image.
Sorry I don't see any attached image aside from what I uploaded.
Please attached image