Hi,
I noticed a problem in the PICO-8 web export, concerning cart data. On a computer, the cart data works just fine, and I saw by inspecting my game's page (https://artridge.itch.io/dodge) that a folder called IndexedDB is created. I guess that's where the cart data is stored, because there is a directory called /user_data/cdata containing some data. So that's all working nicely. But mobile devices is where the problem occurs. To inspect my game's page on mobile devices, I plugged them to my computer, and used Safari's web inspector, which lets you inspect web pages on mobile devices. So on my iPad air 2 (iOS 12), this IndexedDB folder gets created, and cart data works fine. But on my iPad Mini 4 (iPadOS 13) and my iPhone SE (iOS 12), it isn't created, and nothing gets saved in the game (it should save highscores, and settings). It would be great if this could be fixed, because cartdata is quite a big part of my game.
And this problem also occurs here on the BBS, cart data isn't saved on my iPhone SE or my iPad Mini 4.
Sorry to resurrect this, but from my recent tests it's still the case that iPhones don't properly save cart data, right? Or am I doing something wrong?
It could be that older browsers like safari on these operating systems don’t support indexeddb.
I just today tried to run an HTML export in my cellphone. Could not get it up at all, neither Chrome or the other 2-onboard internet explorers showed the screen when running the HTML file despite the JS being right beside it.
Suggestions ?
@merwork: Turns out that's correct. Tried Chrome and it handles cart data just fine, so it's not an iOS issue per se.
[Please log in to post a comment]