1

I did a device reset on a device running Android 5.1, but afterwards my apps built with Cordova could not open when installing them again. Just a blank white screen is shown now. When inspecting the app I find the issue Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode.

So I'm guessing the device reset removed the latest support for the JS keywords.

1 Answer 1

1

Seems like the WebView was outdated, just had to update the Android System WebView:

Android System WebView

Sign up to request clarification or add additional context in comments.

1 Comment

I was having the same issue on old devices only (Android 6.0.1). This fixes it, but now I´m worried about the user experience.. If the app crashes (white screen, js errors, etc) because of this, could it be any way to detect it to show a warning suggesting the user to download the "Android System WebView"?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.