WKWebView WebStorage can be cleaned by iOS8

Discussion and feedback on Construct 2

Post » Fri Jan 09, 2015 11:57 pm

Sisyphus wrote:
Silverforce wrote:@Sisyphus
It's only for CJS 2.1.1 which is not useable due to a nasty bug with WebStorage (LocalStorage) being reset at each start up. I don't even know how they got it through QA.

Only CJS 2.1 is good, I hope they put that fix into 2.1 until they figure out whats wrong with 2.1.1 clearing save data.

WebView+ for Android is similar to Crosswalk, but without the option for 3rd party plugin integration as easily.

You tried it? Webstorage still cleared on every startup? I can't understand what they fixed then. They fixed the "clear on low memory" bug, but not fixed "clear on startup", right?


It's probably unrelated since it may be a specific issue with the WebStorage plugin, as in, CJS didn't test C2 WebStorage but test their own LocalStorage. Just remember that CJS is used for many different engines, not just C2.

They broke compatibility with C2's WebStorage plugin in 2.1.1.

Crosswalk also have a WebStorage bug in their beta build 10, which they found and should be fixed soon.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Sat Jan 10, 2015 12:19 am

Silverforce wrote:
It's probably unrelated since it may be a specific issue with the WebStorage plugin, as in, CJS didn't test C2 WebStorage but test their own LocalStorage. Just remember that CJS is used for many different engines, not just C2.

They broke compatibility with C2's WebStorage plugin in 2.1.1

They post to another thread that the c2 webstorage problems are fixed, looks like not all problems. Anyway, thanks for the reply.
B
22
S
9
G
7
Posts: 421
Reputation: 6,543

Post » Sat Jan 10, 2015 4:31 am

@Silverforce @Sisyphus

one week ago I have compiled my APK using CocoonJS 2.1.1 + plugin for C2
and I use 'Webstorage' plugin too - and everything is working fine
B
18
S
7
G
1
Posts: 783
Reputation: 4,237

Post » Sat Jan 10, 2015 6:17 am

szymek wrote:@Silverforce @Sisyphus

one week ago I have compiled my APK using CocoonJS 2.1.1 + plugin for C2
and I use 'Webstorage' plugin too - and everything is working fine


WebView+ or Canvas+?

Actually, I'm taking about iOS8+ where WebView+ uses WKWebView and not APK for Android.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Sat Jan 10, 2015 6:38 am

@Silverforce

according to @Ludei WebStorage issue in WebView+ was already fixed
B
18
S
7
G
1
Posts: 783
Reputation: 4,237

Post » Sat Jan 10, 2015 8:28 am

B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Sat Jan 10, 2015 9:18 am

@Silverforce

ahh, so there are 2 different issues,
one was fixed
and other is still waiting
B
18
S
7
G
1
Posts: 783
Reputation: 4,237

Post » Sat Jan 10, 2015 9:26 am

Silverforce wrote:
szymek wrote:@Silverforce @Sisyphus

one week ago I have compiled my APK using CocoonJS 2.1.1 + plugin for C2
and I use 'Webstorage' plugin too - and everything is working fine


WebView+ or Canvas+?

Actually, I'm taking about iOS8+ where WebView+ uses WKWebView and not APK for Android.


Webstorage works fine with Canvas+ - can confirm this also.

Let's hope Ludei fixes the Webview+ soon so you can update your game!
Image
B
96
S
36
G
17
Posts: 351
Reputation: 15,903

Post » Sat Jan 10, 2015 10:14 am

Yup, as soon as they manage to fix the LocalStorage issue and add AdMob for WKWebView, we're good* to go for iOS with even very complex games.

*The micro-stutter is at a level that's acceptable for most players in my experience. I've got many correspondents on TouchArcade forums and even a few reviewers commented on how fluid combat and touch response is on iOS.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Sat Jan 10, 2015 10:23 am

Silverforce wrote:Yup, as soon as they manage to fix the LocalStorage issue and add AdMob for WKWebView, we're good* to go for iOS with even very complex games.

*The micro-stutter is at a level that's acceptable for most players in my experience. I've got many correspondents on TouchArcade forums and even a few reviewers commented on how fluid combat and touch response is on iOS.

Lol, i got an email, they just have a little mistake, they fixed the "clear on startup" bug, but not fixed clear on low memory. So, you can recompile your game with 2.1.1
B
22
S
9
G
7
Posts: 421
Reputation: 6,543

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: SaRaB, Yahoo [Bot] and 4 guests