Safari only stores cookies over HTTP connection
Posted March 8, 2011
Since an app starts as file://index.html, the cookies an app writes (for example, using document.cookie) won’t be written at all.
Double checked with Mobile Safari, with debug console on. get/set cookies fine.
With app, document.cookie always empty.