Page 1 of 1

Goolge bug - Webview crash CLOSED

Posted: Tue Mar 23, 2021 9:03 am
by Stratego (dev)
because of this i can not make new builds in game as it crashes on my own device - i hope the problem will vanish - maybe i turn off all webviews for a few upcoming DEV versions.
https://pokde.net/system/software/mobil ... p-crashing

Re: Webview crash

Posted: Tue Mar 23, 2021 6:16 pm
by Endru1241
Does it mean no unit propsheet etc. or only inaccessible data from wikipedia?

Re: Webview crash

Posted: Tue Mar 23, 2021 6:28 pm
by Stratego (dev)
this mean you MAYBE have a crash (without crash report after) on these cases:
1. can not enter the game launching screen (where u select players and from where u launch game) - as there is webview on top (for campaigns etc.)
->> so u can not play anything ...
2. can not see unit help sheet as they are also webpages showed in webview.
3. can not open any of the help texts same reason
4. maybe leaderboards not working either.
5. ... dunno some other can be too.
so everything that has (even hidden way) a webview on the screen layout.

the bad thing is that i have no idea if anyone have problem with the published games (in google play) as i have yet received any problems.

The main problem is that i can not build a new version from anything as my buildset pulled from the cloud so it already has this bad android version and i have no idea how to set it to use the earlier version.

so i have 3 options as i see
a) figurin out how to force my buildpack to use an earlier vesion (this is a builtin android sdk thing)
b) waiting till they solve the problem in the sdk so my builds "magically" will work again.
c) simply deleting all usage of the webview fromt he game and using some 3rd party webview - i dont know any yet and would cost many hours to implement and i surely will face unexpected problems

so i love android again :)

Re: Webview crash

Posted: Tue Mar 23, 2021 6:58 pm
by Endru1241
Stratego (dev) wrote: Tue Mar 23, 2021 9:03 am maybe i turn off all webviews for a few upcoming DEV versions.
Actually - my question was about that.
But your full explanation give more information, than I asked for and now I see how grave it is.
The worst thing here is being completely in the black about when a fix could come officially.

I'd wait few days and the start to look for older version, but that's just me - I commonly don't really spend much time on any hobby development aside from weekends.

Re: Webview crash

Posted: Tue Mar 23, 2021 7:16 pm
by Stratego (dev)
Endru1241 wrote: Tue Mar 23, 2021 6:58 pm
Stratego (dev) wrote: Tue Mar 23, 2021 9:03 am maybe i turn off all webviews for a few upcoming DEV versions.
Actually - my question was about that.
for dev versions i thought to turn off only the #1 webview on game launch. others would crash "normally" :)

Re: Webview crash

Posted: Tue Mar 23, 2021 8:12 pm
by Stratego (dev)
ok in AOW DEV version there is the maybe craashing version (when u open a unit statsheet)
please feedback me if u have crash with it.

Re: Webview crash

Posted: Wed Mar 24, 2021 3:10 am
by Hyuhjhih
Stratego (dev) wrote: Tue Mar 23, 2021 6:28 pm simply deleting all usage of the webview fromt he game and using some 3rd party webview - i dont know any yet and would cost many hours to implement and i surely will face unexpected problems
This is bad idea imo, waiting is much better.

And the important thing is, the whole world is suffering and all are still waiting.

Google is a very efficient team, and i think they can simply pull out this weed at the quickest.

Re: Webview crash

Posted: Wed Mar 24, 2021 5:27 am
by makazuwr32
I have old dev version of aof.
Can we try to use it?

Re: Webview crash CLOSED

Posted: Fri Mar 26, 2021 9:25 am
by Stratego (dev)
yes, please try both versions and tell me if works.

- AOF old version.
- AOS new version
and open unit statsheet in help section, tell me if crashes or not - thanks!

Also sadly my phone seemingly updated the webview instance, so i can no longer detect a crash - that is good and bad news:
- good as i hope most phones updated it,
- bad news if there is a phone where it is not updated than it will crash and we will have bad reviews and losing users.

Re: Webview crash CLOSED

Posted: Fri Mar 26, 2021 10:18 am
by Harchie Hirondo
What I have noticed is that the map introduction descriptions took so much time to load, and I don't think they actually finish loading. Or is it just me?

Re: Webview crash CLOSED

Posted: Fri Mar 26, 2021 10:38 am
by Stratego (dev)
the last few updates (since this topic was created) were made that they never load. because i removed the webview from that activvity (so we can still play games)

the ONLY way to check if crashes or not is opening a unit statsheet, and check if crashes. (statsheet= where u see all unit properties, speed, power, abilities and so on)

Re: Webview crash CLOSED

Posted: Fri Mar 26, 2021 11:52 am
by Hyuhjhih
Hey and i once saw a new player reporting in global chats at AoS that all he can see in help screen was the blank background, is it have something to do with this webview thing?

Re: Webview crash CLOSED

Posted: Fri Mar 26, 2021 3:45 pm
by Stratego (dev)
no, it should crash.
but also an issue tobe investigated - please ask him to contact me.

Re: Webview crash CLOSED

Posted: Fri Mar 26, 2021 4:11 pm
by makazuwr32
Old aof version is working fine.
Did not test newer version though.

Re: Webview crash CLOSED

Posted: Mon Mar 29, 2021 5:21 pm
by Savra
So basically most the issue is wiki links?

Cause I checked the only one I know of in AOF under the lich's help file and it still works without crashing, when you click the link I mean.

So either you fixed it or I'm looking at the wrong thing.

Re: Webview crash CLOSED

Posted: Mon Mar 29, 2021 6:03 pm
by Stratego (dev)
not wiki links at all.

All the unit statsheets - literally all - even with or without wiki links (there is thing used called "WebView" that is a built in web-browser that shows the unit stats (those are generated html files) )

Re: Webview crash CLOSED

Posted: Tue Mar 30, 2021 4:43 am
by makazuwr32
So is this fixed or not yet?

Re: Webview crash CLOSED

Posted: Tue Mar 30, 2021 6:46 am
by Stratego (dev)
no, and never will :(

the only soluption if every user updates his/her webview from google play

Re: Webview crash CLOSED

Posted: Tue Mar 30, 2021 7:40 am
by Harchie Hirondo
But I don't have Android SystemWebview installed in my phone? :?:

Re: Webview crash CLOSED

Posted: Tue Mar 30, 2021 8:12 am
by Stratego (dev)
i think you have (this is a deafult app comes with android) if u dont good for you - will not crash - lol :)

Re: Webview crash CLOSED

Posted: Wed Mar 31, 2021 2:34 am
by makazuwr32
It seems that on my phone there are no android system webview.
Otherwise latest AoS version should've crashed when i open unit stats window during game, right?

Re: Webview crash CLOSED

Posted: Wed Mar 31, 2021 7:13 am
by Stratego (dev)
or there is just updated already, as on my device when i wrote "Also sadly my phone seemingly updated the webview instance" it happened.