ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Cordova Android ChromeView Usage?

Open hsdk123 opened this issue 12 years ago • 34 comments

Due to Android WebView's limited functionality and random bugs, I've been releasing all my apps that target Android 2.3~4.3 (basically versions before 4.4) with Android ChromeView applied:

https://github.com/thedracle/cordova-android-chromeview

The ChromeView addition seems to add about 20mb to the application, but the speed enhancements and lack of bugs compared to WebView are so relaxing to have that I don't really mind the size increase.

I've been trying Ionic lately, and after just a couple of days, I'm already starting to port my previous apps for all the goodness it provides.

I was just thinking that the Ionic Cli might want to add an option to the Android platform to perhaps utilize cordova-android-chromeview, or perhaps work on some custom tooling to get a recent version of chromeview implemented for an ionic android project.

After going through a mass of customer complaints for an extended period due to occurring bugs from Android WebView, I know I'll continue to use android-chromeview or some other chromeview cordova implementation until the majority of my clients use Android 4.4.

This project by Intel might also be worth seeing: https://crosswalk-project.org/ https://github.com/crosswalk-project/crosswalk-cordova-android

hsdk123 avatar Apr 12 '14 02:04 hsdk123

We've been kicking around this idea too, and I think adding it as an option in the CLI is a good idea.

@mlynch @somethingnew2-0

adamdbradley avatar Apr 12 '14 18:04 adamdbradley

@hsdk123 I recently came across this project and it sounded like pretty much a fantastic idea to address the various issues that are affecting different android versions.

Would you please be so kind to write a post on the forum that explains to people who haven't been developing with Eclipse as to how to integrate it in an existing Ionic Cordova project? I think it would be tremendously helpful for myself and others to improve the quality of our Android builds.

CoenWarmer avatar Apr 12 '14 19:04 CoenWarmer

@adamdbradley @CoenWarmer Great to know other people are having the same thoughts about Android. I'm currently fiddling around with the Intel project (crosswalk-cordova-android) since it seems to be releasing with an updated version of Chromium every 6 weeks.

If I manage to get it working with Ionic, I'll post something up in the forum - though if the Ionic team gets it in as an option in the cli and automates things, that would just be great.

hsdk123 avatar Apr 13 '14 12:04 hsdk123

:+1: Adding Crosswalk to the Cli

somethingnew2-0 avatar Apr 14 '14 03:04 somethingnew2-0

@somethingnew2-0 Excellent! I have been working on adding a Crosswalk build for pre-Kitkat Android to my project. Having it internally within the CLI will be excellent!

niiamon avatar Apr 14 '14 10:04 niiamon

@somethingnew2-0 Hi, can you explain whats that? and some guide to use this new feature? because i'm really noob bout this

Thanks

fer-ri avatar Apr 14 '14 15:04 fer-ri

Any updates about adding chromeview wrapping in the Cli?

thunderebolt avatar Jun 12 '14 22:06 thunderebolt

I'm also interested to know if it has been integrated with the CLI.

huysamen avatar Jul 08 '14 05:07 huysamen

+1

trenkwaldermartin avatar Jul 08 '14 18:07 trenkwaldermartin

+1

dbaq avatar Jul 08 '14 18:07 dbaq

+1

nomiso0125 avatar Jul 09 '14 00:07 nomiso0125

+1

b8rother avatar Jul 10 '14 13:07 b8rother

+1 for God, I need this --

felquis avatar Jul 11 '14 02:07 felquis

Hey everyone,

We are making this a priority. We are also looking to see if anyone is interested in joining the effort as a contractor to make it happen. If interested, send me an email (email is in profile). Thanks!

mlynch avatar Jul 17 '14 17:07 mlynch

The Chrome-mobile-apps in version 0.2.1 uses already the Crosswalk webview by default for Android applications.

https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/RELEASENOTES.md

trenkwaldermartin avatar Jul 22 '14 09:07 trenkwaldermartin

Moving feature requests from GH Issues to Trello. Please continue the discussion and vote for this and other issues that are important to you here: https://trello.com/c/bPYGyGp9/12-cordova-android-chromeview-usage

perrygovier avatar Jul 28 '14 20:07 perrygovier

Any updates?

mainalikishan avatar Aug 19 '14 05:08 mainalikishan

I have been doing this myself by following this guide: https://crosswalk-project.org/#documentation/cordova/migrate_an_application/migrate-using-command-line-tools

But the performance is not any better on my Galaxy Nexus running 4.3. Did I do something wrong?

Also I wonder if ionic has been updated to use crosswalk already.

pencilcheck avatar Sep 16 '14 08:09 pencilcheck

Uhh, it would be so cool!

erkkimon avatar Sep 30 '14 16:09 erkkimon

+10

paishin avatar Oct 02 '14 15:10 paishin