OutSystemsNow-Android Plug in cordova-plugin-whitelist

OutSystemsNow-Android Plug in cordova-plugin-whitelist

  

Dears ,

we have certain retirement to white list few urls in our out system mobile app for xmlHttpRequest , through out systems forums came to know there is cordova plug in for android https://github.com/OutSystems/OutSystemsNow-Android/tree/master/outsystems-app-android/Outsystems/plugins/cordova-plugin-whitelist. but later i came to know its part of package of plugins still am trying to include the plugin in the below format and always build failing can some one suggest me how to use white list plug in sucessfully , if possible with sample oml / use case .

We have tried with below combinations in the module extensibility and configurations for the plug in

1.

{

                "plugin": {

                                "url": "https://github.com/OutSystems/OutSystemsNow-Android#V1.1.12"

                }

}


2.


{

                "plugin": {

                                "url": "https://github.com/OutSystems/OutSystemsNow-Android/tree/master/outsystems-app-android/Outsystems/plugins/cordova-plugin-whitelist"

                }

}

3.


{

                "plugin": {

                                "url": "https://github.com/OutSystems/OutSystemsNow-Android.git"

                }

}



Thanks and Regards

Rajashekar Reddy Ette

Hello Rajashekar,

I think you will have to download the files and create a repository with the files in the proper place, as the OutSystemsNow is not a plugin itself, is an entire application, that it is not compiled the same way a Mobile application is (this is a guessing).

But looking to the files, it seems that the folter tree do not follow the rules required to a Mobile plugin.

You can take a look on one of the many plugins available in Forge, to see how they do and follow the example to adapt this plugin to your needs.

Cheers,
Eduardo Jauch

Maybe the plugin is only

https://github.com/OutSystems/OutSystemsNow-Android#V1.1.12

The whitelist is inside OutSystemsNow-Android and you dont have to call the "https://github.com/OutSystems/OutSystemsNow-Android/tree/master/outsystems-app-android/Outsystems/plugins/cordova-plugin-whitelist"

I'm tring use also whitelist, but I didnt finished the tests.