phoneGap - iOS - images OK with wifi, but not load

2019-07-02 23:50发布

I'm encountering a strange behavior - the (remotely hosted) images of my app are not showing up only in this situation:

  • loaded using 3G
  • on an iPhone
  • using phonegap

The images load okay when:

  • I launch the app. with wifi (even from an hotspot)
  • I launch the website version of the app (with mobile safari)
  • I use an android + 3G

I've done several searches on Google but found nothing about that case. (The images are remotely hosted on a public IP, accessible using 3G, the android version of my app proves it)

1条回答
我想做一个坏孩纸
2楼-- · 2019-07-03 00:42

the issue was because "SFR" (a 3G french provider) used a NAT, all the http calls was made to an "SFR"'s IP with the real url hidden in the url's parameters, the only solution was to deactived the white filtering of the domain names and to allow *

查看更多
登录 后发表回答