Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

ionic2-app can't run in wechat's browser of android

$
0
0

@foxok wrote:

Hi friends.
I plan to develop webapp (not hybrid app), so I am testing ionic2 in Wechat and I cloned the ionic-conference-app. it is OK in the browser of PC, the browser of android phone and iPhone and the browser of wechat of iPhone. (the wechat is popular IM in China)

but it isn't run in the browser of wechat of android and I get the following debug info:

Uncaught Error: INVALID_STATE_ERR: DOM Exception 11 build/js/app.bundle.js:2574
global.(anonymous function).(anonymous function)build/js/app.bundle.js:2574

patchClassbuild/js/app.bundle.js:2594

applybuild/js/app.bundle.js:3055

applybuild/js/app.bundle.js:2634

(anonymous function)build/js/app.bundle.js:1102

hasNativePromisebuild/js/app.bundle.js:1105

webpack_requirebuild/js/app.bundle.js:1061

(anonymous function)build/js/app.bundle.js:1081

(anonymous function)build/js/app.bundle.js:1084

webpack_requirebuild/js/app.bundle.js:20

(anonymous function)build/js/app.bundle.js:49

webpack_requirebuild/js/app.bundle.js:20

(anonymous function)build/js/app.bundle.js:40

(anonymous function)build/js/app.bundle.js:43

weixin://preInjectJSBridge/fail

index.html:2732

someone said that browser of wechat on android phone didn't support es6, and need to import babel-polyfill,
so i import it in app/app.js and i found following info in app.bundle.js

if (global.babelPolyfill) { throw new Error("only one instance of babel-polyfill is allowed"); } global.babelPolyfill = true;

but it is still not run in android's wechat?are there anybody can give me some suggestion?

the wechat link is : http://www.wechat.com/en/

thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>