Skip to content
This repository has been archived by the owner on Oct 7, 2019. It is now read-only.

android 4.4 kitkat arryr.form error #81

Open
poptong opened this issue Feb 25, 2019 · 1 comment
Open

android 4.4 kitkat arryr.form error #81

poptong opened this issue Feb 25, 2019 · 1 comment

Comments

@poptong
Copy link

poptong commented Feb 25, 2019

cordova: 8.0
android: 7.0
framework7-template-vue-webpack used

android 5.0 higher not problem
but
android 4.4 kitkat error message
"Uncaught TypeError: Object function Array() { [native code] } has no method 'from'", source: file:///android_asset/www/app.js (13)

@umbrella22
Copy link

You need to know that the from method belongs to the ES6 grammar, which is not recognized correctly in Android 4.4's webview. You need to use bable to convert the code that it can use normally.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants