Can you write data to local storage and then load it from local storage in the same session? (without closing the app)
If the data is lost only after closing the app, this probably means that android/ios allocates some temporary browser storage for it, and it gets reset between launches. This is only a guess, but if this the case, the best solution would be sending data to some online service, like Firebase.
Why do you need the iframe? Why not simply export the game to a mobile app?
because i did lost the .capx
i have only the html5 exported
yes when closing the app and reopen it ... it not save levels and scores etc (i use local storage)
but if i ifrae it on webbrowser i mean the desktop one it saves
but not on android or ios