Вы не поверите, но вбив в гугл “Object.assign is not a function” сразу дает ссылку на этоhttps://stackoverflow.com/questions/31764414/object-assign-is-not-a-function где говорится, что “As I suspect you already know, Google Chrome uses V8, which supports ECMAScript 5th edition. Object.assign is introduced in ECMAScript 6th edition.”
Теперь вбиваем в гугл “ECMAScript 6th android chrome support” и узнаем, что это поддерживается только в Android >=5
many thanks.
But actually, I am already using as “min SDK Version” 21 … This means android 5.0…
And in the Android Simulator I am using a Nexus 5 (API Level 23).
In the log it is stated Loading com.android.webview version 44.0.2403.119 (code 246011960)
With Android 5.0 the webView is an external application (apk). Solution: Use a different emulated device using a different (sufficient) webView version.
framework v4 поддерживает 6 андроид ? просто я через браузер андроида заходил в демо версию ui компонентов и ничего не работало, на 7 версии все отрабатывает
хм, завтра или в понедельник проверю, скрины сброшу, у меня на одном из устройств просто белый лист, на другом ломает календари и списки не выводит list view android 6
comming back to the original question & answers from shastox/nolimits4web: How to figure out if the correct version of the webview is installed. Since it is a separate apk it is not 100% sure that all Android devices >=5.0 will support ECMA v6 (and therefore FW7.v4 can be used).
At leas there should be a popup to inform the customer. Otherwise the App will not start (blank screen) and there is a bad rating in the app store.
So, idea would be
check webview version before (how? which version is required)?
or (very likely not sufficient): if (Object.assign == undefined)…