phonegap / phonegap-app-desktop

PhoneGap Desktop App
Apache License 2.0
842 stars 315 forks source link

0.4.5 does not load images from the internet on android #894

Closed eduardri closed 5 years ago

eduardri commented 5 years ago

0.4.5 does not load images from the internet on android, but work on browser and ios.

System Configuration

Windows 10, phonegap desktop

PhoneGap Desktop version

0.4.5

PhoneGap Mobile App version

Mobile devices & Mobile OS version

android SDK 19

Network Type (home/corporate)

home

Is your network using a proxy?

no

Computer / Network security (firewall / anti-virus / disk encryption)

Malwarebites

Are you using VMs on your computer?

no

Do you have multiple network adapters (or virtual network adapters)?

no

Are you using VPN?

no

Expected Behaviour

load images from internet

Actual Behaviour

does not load images from the internet on android

Steps to Reproduce

  1. create new project on desktop app "blank"
  2. add android platform "cordova platform add andoid"
  3. open index.html under www
  4. add code "home"
  5. Commad "cordova run android"
  6. The emulator run, but dont display the image, instead show alt text

test 2

  1. add to config.xml
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<allow-intent href="*" />

<allow-navigation href="*" />
<allow-navigation href="http://*/*" />
<allow-navigation href="https://*/*" />
<allow-navigation href="data:*" />
  1. Command cordova run android same problem don't load internet image

test 3

  1. add the head line to index.html

same issue, the image isn't working

Error messages

the image form internet isn't displayed imagefrominternet.zip

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.