access origin="*" for img tags

  • 1
  • Problem
  • Updated 5 years ago
  • Acknowledged
I am loading images to an iframe from our public webserver and it works great on IOS, on Android we get the missing image link and when I debug I see all file:// works but anything with http:// doesn't

In our config we have
plugin name="cordova-plugin-whitelist" version="1"
access origin="*"
Photo of Slow Squirrel

Slow Squirrel

  • 32 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of Slow Squirrel

Slow Squirrel

  • 32 Posts
  • 0 Reply Likes
It seems the default config.xml that came with phonegap build had a line

plugin name="cordova-plugin-whitelist" version="1"

but it should actually be

gap:plugin name="cordova-plugin-whitelist" source="npm"

Please close problem.

Hope this helps other phonegap developers
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@slow, that's being fix.