Skip to content
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

How to tell if Webview + has been compliled? #18

Open
jasheal opened this issue Nov 16, 2014 · 2 comments
Open

How to tell if Webview + has been compliled? #18

jasheal opened this issue Nov 16, 2014 · 2 comments

Comments

@jasheal
Copy link

jasheal commented Nov 16, 2014

What's the best way to tell if Webview+ has indeed been complied and my app is using it?

Installed using these docs:
https://www.npmjs.org/package/cocoonjs

Everything installs fine using cocoonjs run android (Android 4.2) but CSS3 animations still don't render properly and there is noticeable lag in general. Makes me think it's just the standard Webview. The App file is only around 7mb which could also be an indicator..

The App is built with Ionic/Angular.

Any ideas?

@mcfarljw
Copy link

The easiest way would be to use navigator.userAgent to check the user agent. If it's using a modern version of chrome like Chrome/39.0.2171.95 then you're good.

@Stiveknx
Copy link

Stiveknx commented May 4, 2015

My user agent is:
userAgent: "Mozilla/5.0 (Linux; Android 5.0.2; Moto G Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/37.0.0.0 Mobile Safari/537.36"

That means that I'm still using the default device webview?
My App size is also around 7mb ...

Edit.: I fixed by following the step 2 and ahead of manual installation:
https://www.npmjs.com/package/webview-plus

Basically it's just extend the cordova webview with the cocoonjs one ...

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