Log In  

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.

P#68375 2019-10-02 15:39

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?

P#92717 2021-05-28 07:49

It could be that older browsers like safari on these operating systems don’t support indexeddb.

P#92744 2021-05-28 21:59
1

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 ?

P#92749 2021-05-28 22:27
1

@merwork: Turns out that's correct. Tried Chrome and it handles cart data just fine, so it's not an iOS issue per se.

P#92762 2021-05-29 06:29

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-01-28 23:43:06 | 0.049s | Q:14