Problem Description
Stored game data in keys in LocalStorage cannot be retrieved in a new session, once Safari is closed and re-launched again for preview over Wi-Fi. It seems to be resetting, which shouldn't happen as far as I am aware, since the IP & port is static.
Attach a Capx
Any simple implementation of LocalStorage will show this. Store a key, re-launch, recall a key, it's empty.
Steps to Reproduce Bug
- Preview a CAPX over wi-fi
- Set a LocalStorage key
- Close Safari
- Re-launch Safari and load up the preview
- Get the key, it's empty
Observed Result
No LocalStorage persistence.
Expected Result
LocalStorage should persist in new app launches.
Affected Browsers
- Chrome: NO
- FireFox: NO
- Internet Explorer: NO
- Safari: YES
Operating System and Service Pack
Latest iOS version. iPhone 6 Plus Safari.
This bug DOES NOT exist for Safari on my iPad Mini 2. It is a very strange one and I suspect it's the fault of iOS again...
Construct 2 Version ID
217 & 223 both have same issue