going to blog on white-list

  • 1
  • Idea
  • Updated 5 years ago
  • Not Planned
This is soooo bad. I need to write about it. I'm repeating the same thing a dozen times a day.

Can someone review for me?
I'm gonna ask on Google Group also.

Jesse
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes

Posted 5 years ago

  • 1
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
ARGGGH!!!

jcesarmobile has pointed out to me that the documentation for the white-list plugin has errors. Namely it says:


Supported Cordova Platforms

Android 4.0.0 or above
iOS 4.0.0 or above


jcesarmobile points out 4.0.0 is not the CLI version, it's the platform version, and iOS 4.0.0 isn't released yet.

In addition I just add to my notes something UGLY from Raymond Camden's blog
I QUOTE

I began to check on this and look at the different permutations.

If you do not include the plugin and do not include the CSP, you have no access to anything.

If you do not include the plugin and do include the CSP, you have no access to anything.

If you include the plugin and a CSP, you have access to what CSP gives you access to.

If you include the plugin and do not include a CSP, your access falls back to the access tag in config.xml, which is probably * (i.e. everything allowed).


This is not quite correct either, according to the documentation. I guess I have to test it myself.

Best of Luck
Jesse
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
Some changes had been made since I post this originally. In addition, Rob Willet has added a prefix. The following link is temporary and will go away in a few days, once the new final document is posted.

github.com/jessemonroy650/top-phonegap-mistakes/blob/master/new-whitelist-system.md

There is intentionally no link to the following URL
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
Final call. This blog gets posted within 48 hours.