Use of cordova-plugin-whitelist

SMR

In my cordova hello world project, When I run:

cordova platforms add android

it automatically adds cordova-plugin-whitelist plugin.

From plugin docs it is only for android platform.

Supported Cordova Platforms

  • Android 4.0.0 or above

My questions are:

  • What is the use of this plugin?
  • Why only android? Why not other platforms?
Gandhi

As you have mentioned, this plugin is meant only for Android as the plugin source code itself supports only Android platform.

This plugin implements a whitelist policy for navigating the application webview on Cordova 4.0 and above. The use of this plugin is that it provides better security and configurability than earlier versions of Cordova. Infact it is possible to create your own whitelist plugin but it is not recommended unless your app has very specific security policy needs.

Also what I noticed while creating a project in iOS is that it does include cordova whitelist plugin in the plugins folder as its automatically included in config.xml

But what I infer from the official documentation of iOS whitelisting is that for cordova-ios version 4.0 and above this plugin is not required but it's configuration details apply to iOS too.

You can check out this official cordova link for more detailed info on whitelisting and its application on various platforms.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

cordova-plugin-whitelist Error 404 not found

From Dev

cordova-plugin-whitelist Error 404 not found

From Dev

Cordova Plugin Whitelist Failed asking for cordova ios 4

From Dev

cordova-plugin-whitelist request cordova iOS 4.0.0 or above

From Dev

build.phonegap plugin unsupported: cordova-plugin-whitelist @ 1

From Dev

npm error : 404 Not Found: cordova-plugin-whitelist

From Dev

How to install "cordova-plugin-whitelist" from command line

From Dev

Unable to use Cordova Plugin

From Dev

Cordova adding platform: Failed to install 'cordova-plugin-whitelist' CordovaError: Requirements check failed for JDK 1.8 or greater

From Dev

how to use cordova plugin in app

From Dev

Struggling to use Cordova barcodescanner plugin

From Dev

Ionic app on device "Failed to load resource" after Cordova whitelist plugin is added

From Dev

$http get in ionic not working on real device even cordova-plugin-whitelist is installed

From Dev

Cordova plugin camera, how use camera filters?

From Dev

What thread to use for Cordova plugin callback?

From Dev

how to use phone gap plugin with cordova 2.6?

From Dev

How to use Cordova Geolocation plugin in offline mode

From Dev

How to use cordova-waze-navigator plugin

From Dev

Cordova plugin camera, how use camera filters?

From Dev

how to use Postmedia digital cordova plugin (DFP)

From Dev

Cordova/Phonegapp - How to use Local Storage Plugin

From Dev

How to use methods of Cordova Facebook Plugin?

From Dev

How to use cordova-waze-navigator plugin

From Dev

How to use (Cordova) plugin with Ionic 2 / TypeScript?

From Dev

How to use Cordova Camera plugin with File Transfer?

From Dev

How to use Cordova Geolocation plugin in offline mode

From Dev

How to use the dot notation to call a Cordova plugin?

From Dev

how to use cordova-plugin-dialogs?

From Dev

Ionic, how to use cordova plugin, not ng-cordova / typescript

Related Related

  1. 1

    cordova-plugin-whitelist Error 404 not found

  2. 2

    cordova-plugin-whitelist Error 404 not found

  3. 3

    Cordova Plugin Whitelist Failed asking for cordova ios 4

  4. 4

    cordova-plugin-whitelist request cordova iOS 4.0.0 or above

  5. 5

    build.phonegap plugin unsupported: cordova-plugin-whitelist @ 1

  6. 6

    npm error : 404 Not Found: cordova-plugin-whitelist

  7. 7

    How to install "cordova-plugin-whitelist" from command line

  8. 8

    Unable to use Cordova Plugin

  9. 9

    Cordova adding platform: Failed to install 'cordova-plugin-whitelist' CordovaError: Requirements check failed for JDK 1.8 or greater

  10. 10

    how to use cordova plugin in app

  11. 11

    Struggling to use Cordova barcodescanner plugin

  12. 12

    Ionic app on device "Failed to load resource" after Cordova whitelist plugin is added

  13. 13

    $http get in ionic not working on real device even cordova-plugin-whitelist is installed

  14. 14

    Cordova plugin camera, how use camera filters?

  15. 15

    What thread to use for Cordova plugin callback?

  16. 16

    how to use phone gap plugin with cordova 2.6?

  17. 17

    How to use Cordova Geolocation plugin in offline mode

  18. 18

    How to use cordova-waze-navigator plugin

  19. 19

    Cordova plugin camera, how use camera filters?

  20. 20

    how to use Postmedia digital cordova plugin (DFP)

  21. 21

    Cordova/Phonegapp - How to use Local Storage Plugin

  22. 22

    How to use methods of Cordova Facebook Plugin?

  23. 23

    How to use cordova-waze-navigator plugin

  24. 24

    How to use (Cordova) plugin with Ionic 2 / TypeScript?

  25. 25

    How to use Cordova Camera plugin with File Transfer?

  26. 26

    How to use Cordova Geolocation plugin in offline mode

  27. 27

    How to use the dot notation to call a Cordova plugin?

  28. 28

    how to use cordova-plugin-dialogs?

  29. 29

    Ionic, how to use cordova plugin, not ng-cordova / typescript

HotTag

Archive