Skip to content

Vue.js is not available on Android 4.0.4 phone #5623

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
meiliujun opened this issue May 7, 2017 · 5 comments
Closed

Vue.js is not available on Android 4.0.4 phone #5623

meiliujun opened this issue May 7, 2017 · 5 comments

Comments

@meiliujun
Copy link

Version

2.3.2

Reproduction link

https://jsfiddle.net/nxymatcd/

Steps to reproduce

  1. use new Vue(...)
  2. js is go dying

What is expected?

new Vue object return true

What is actually happening?

Uncaught SyntaxError
![img_20170504_160826](https://cloud.githubusercontent.com/assets/7381228/25777938/a793e600-3321-11e7-963c-0c4c4b475655.jpg


error msg in attachments

@meiliujun meiliujun reopened this May 7, 2017
@meiliujun
Copy link
Author

图片好像太大传炸了。。。
1
2
3

我现在用最简单粗暴的方式解决了。
1vue.js里面的native关键字改成其他的native123xxx
2vue.js里面的严格模式去掉 //use strict;

@posva
Copy link
Member

posva commented May 7, 2017

Don't have a device to test but the strict mode (which doesn't work on Android) is added by something else. Does the docs work: https://vuejs.org/v2/guide/#Handling-User-Input ?

@defcc
Copy link
Member

defcc commented May 7, 2017

@meiliujun 用的什么浏览器?

@meiliujun
Copy link
Author

@defcc 一开始怀疑是某app内嵌的浏览器有问题,所以用的Google Nexus 原生浏览器再次做过测试还是白屏。

@meiliujun
Copy link
Author

meiliujun commented May 20, 2017

@posva i just run a sample testing, it run ok excepted Google Nexus 4.0.4

tested device
iphone 4s => ios6
iphone 5s => ios8
iphone 6=> ios10.3.2

mi2s => MIUI5.3.27 android 4.4.4
mi3 => MIUI6 android ???
samsung n9009V => android 4.3
vivo x6
honor V8

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

No branches or pull requests

3 participants