0 Favourites

Local storage on iphone (cocoonjs)

  • Hey everyone,

    I almost finished a new app and today I was testing it on diffrent devices.

    I got really frustrated when I saw that the app was working fine in browsers and on android, but some how not on the iphone. The highscore did not get saved.

    That was really strange because it was the same code and it wasn't a problem with the local storage at all. I got another local key for game settings and that was working fine on iphone.

    Then I figured out that my highscore local key was named "Highscore_Speicher" (Speicher = Storage in german^^).

    I removed the "_" and it worked.

    So I just want to share the info if you are developing for cocoonjs/iphone that you shouldn't use "_" in your storage keys (On cocoonjs/android a "_" is not a problem).

    Cheers <img src="smileys/smiley1.gif" border="0" align="middle" />


  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
CocoonJS plugin updates
519 48,572
tuzke's avatar
Unread hot topic
392 34,809
Joannesalfa's avatar
Unread hot topic
163 20,226
iBarin's avatar