How do i make appCache work in phoneGap 3.7 on IOS?

10 views
Skip to first unread message

Sahkan Sahkan

unread,
Apr 27, 2015, 10:48:28 AM4/27/15
to phon...@googlegroups.com

I have this at the top of my index.html page:

<html manifest="cache.manifest" lang="en">

and the ache.manifest looks like this:

CACHE MANIFEST


FALLBACK
:
offline
.html


NETWORK
:
*


CACHE
:
Intro/Intro.mp4

I also have a .htaccess file in the same folder ( root ) and it's content is:

AddType text/cache-manifest .appcache

I honestly don't really know why i need this file but i'v read in some places that it is required.

And this is works great on desktop and also on chrome on the ipad. But when i use it in a phoneGap build on the ipad, it simply doesn't work.

I'v tried to use http://debug.build.phonegap.com/ to see what is the problem but it doesn't really helping me because the console over there just taking commands but not showing logs.

is there anything special that i need to include in my config.xml file ?

This is the way i embed the page that supposed to be cached:

<embed src="MyWebsite" width="700"></embded>

Reply all
Reply to author
Forward
0 new messages