Showing images referenced in json file on IOS

  • 1
  • Question
  • Updated 7 years ago
Hi All :)
Question. How do I get images that are brough in via a json file into the webview on IOS ?

The build works fine on Android, showing the images, but in IOS it does not....

My build is 417687 and I have the access set as foillows in the config.xml

Any clues?
Photo of Grant

Grant

  • 51 Posts
  • 1 Reply Like

Posted 7 years ago

  • 1
Photo of Hyginus Ugwumba

Hyginus Ugwumba

  • 1206 Posts
  • 42 Reply Likes
Hi Grant,

I will look into your current app again, Meanwhile could you fix your access element as below and try to build again.


<access origin="lauristoncourt.com" />
<access origin="*.lauristoncourt.com" subdomains="true" />


Thanks
Hyginus
Photo of Grant

Grant

  • 51 Posts
  • 1 Reply Like
Many thanks Hyginus for staying with me on this one.

Changed the access as above and building now - will let you know what happens :)
Photo of Grant

Grant

  • 51 Posts
  • 1 Reply Like
Hi Hyginus :)

Rebuilt with the above access - installed on the iPad 2 - No images

And in Android - not getting the images either now :(
Photo of Hyginus Ugwumba

Hyginus Ugwumba

  • 1206 Posts
  • 42 Reply Likes
Hi Grant,

It seems there is an alert for a know issue on IOS whitelist.

http://community.phonegap.com/nitobi/...

Pls have a look at this thread

Thanks
Hyginus
Photo of Grant

Grant

  • 51 Posts
  • 1 Reply Like
Will do Hyginus :)
Photo of Grant

Grant

  • 51 Posts
  • 1 Reply Like
added the following and building again

<access origin="debug.phonegap.com" subdomains="true" />
Photo of Grant

Grant

  • 51 Posts
  • 1 Reply Like
Well - added that and rebuilt - no difference.
But then we did not have debugging enabled, so not sure what difference that would have made....

However - the images are now showing in the android
But still not in the iPad
Photo of Hyginus Ugwumba

Hyginus Ugwumba

  • 1206 Posts
  • 42 Reply Likes
Hi Grant,

Kindly be on thread as we will update you on this.

Thanks
Photo of Grant

Grant

  • 51 Posts
  • 1 Reply Like
Hi Hyginus :)

Erm.. I am on this thread. And have the notifications set to email me etc....

Looking forward to an update :)

Cheers
Photo of Grant

Grant

  • 51 Posts
  • 1 Reply Like
Good morning Hyginus :)
Any news?

Cheers

Grant
Photo of Grant

Grant

  • 51 Posts
  • 1 Reply Like
Any news Hyginus?
Photo of Hyginus Ugwumba

Hyginus Ugwumba

  • 1206 Posts
  • 42 Reply Likes
Hi Grant

Delete, build and test your app again, your images are fine from my end.

Let me know how it goes.

Thanks
Hyginus
Photo of Grant

Grant

  • 51 Posts
  • 1 Reply Like
Hi Hyginus,
Yes, we changed the code to show these images only when connected to a network - not ideal, but as the device does not want to store them locally seems the only way.
Cheers
Grant