Hello World does not work on iOS

I just tried the Hello World app on my iPhone 6 Safari and it does not load.

It gives the error:

TypeError: undefined is not an object ( evaluating this_dataSourceDisplay.update')
_onTick ........

Are you running the latest version of iOS? Does it happen when you use the official version on the website: http://cesiumjs.org/Cesium/Build/Apps/CesiumViewer/index.html

Yes, I am running the latest version of iOS. And yes, this is the error I receive when accessing via your link. This time I also get a popup message box with a QuotaExceededError in addition to the aforementioned error.

This is specifically related to Safari. I downloaded the Chrome app and it did load.

This might be related to localStorage, which apprently has issues in Safari under certain conditions http://stackoverflow.com/questions/21159301/quotaexceedederror-dom-exception-22-an-attempt-was-made-to-add-something-to-st

I’ve never seen this on any of my iOS devices. Are you using private browsing mode or perhaps otherwise have local storage disabled? There is a single place the Viewer uses local storage to store a boolean value, We might want to better handle this on our end assuming this is the cause of the problem.

Matthew,

I did indeed (unknowingly) have private browsing enabled. I was able to load it after turning private browsing off. Thanks for the interesting info about localStorage. Maybe something to think about if it's not really needed. A lot of people do like to enable private browsing by default, even though mine was unintentional.

MOn Monday, March 30, 2015 at 9:29:53 PM UTC-5, Matthew Amato wrote:

Good to know that was the problem. I just opened a pull request to fix it: https://github.com/AnalyticalGraphicsInc/cesium/pull/2613