1020
Views
1
Comments
Import cordova plugins

I need to import cordova plugins in my app. I added code in  Extensibility configurations in the eSpace:

{
    "plugin" :{
       
        "url": "https://github.com/proximiio/proximiio-cordova.git"
    }
}

 But, when I try to build a native Android app, I get the error: " An unexpected error has occurred while generating your application. Please try again. "

anyone can help check it.


CordovaPlugin.JPG
2019-01-14 10-48-23
João Pedro Batista
Staff

Hello Khanh,

Have you checked out this documentation page?
Did you make sure to create a separate module just for this plugin?
After creating the plugin wrapper you have to reference it the application where you want to use the plugin. Check out the documentation on how to use the plugin you just wrapped (or imported) here.

Kind regards

Edit (2018-03-02): Updated links.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.