Need configure two or more cordova plugin in single application

Need configure two or more cordova plugin in single application

  

Hi, 

I need to configure two or more cordova plugin in single application. If anybody has used it, please share me the example or syntax. 

Thanks,

Sachin




Hello Sachin,

If you need to configure one cordovo plugin then use below syntax in  -

{
"plugin":
{
    "url": "https://github.com/abc.git"
}
}

Url will change according to your plugin.

Thanks~

Rajat Agrawal

Hello,

If you need multiple plugin to be installed in application thenn use below syntax -

{

"plugin":

{

    "url": "https://github.com/abc.git"

},

"Plugin2":

{

    "url":"https://github.com/efg.git"

}


}


Its will work sachin.

Thanks~

Rajat Agrawal

Hello Sachin.

As a best practice, you should try to keep one plugin per module. That way you'll have reusable components.

Example here .

Thanks