What's the current state of Android browser support?

101 views
Skip to first unread message

Kai Sellgren

unread,
May 17, 2013, 10:06:42 AM5/17/13
to mi...@dartlang.org
Looks like our Dart application works well in mobile except for the Android browser.

I haven't yet managed to find the line of code that causes a problem but we are essentially getting a "unexpected token else".

I figured before I dive in that I ask here if anyone else has experiences with the Android browser. Is it supposed to work? Any known problem scenarios that I should avoid?

jim.trainor.kanata

unread,
May 17, 2013, 10:52:14 AM5/17/13
to mi...@dartlang.org
What version of Android?  Stock browser?

Kai Sellgren

unread,
May 17, 2013, 11:32:29 AM5/17/13
to mi...@dartlang.org
Android 3 stock browser.

E.g. if I try it on browserstack or my older Samsung Galaxy Tab 8.9" which is still Android 3.x

Peter Ahé

unread,
May 17, 2013, 12:02:24 PM5/17/13
to General Dart Discussion
We recommend that you install Chrome on your phone. If that is not
possible, perhaps you can use a recent version of Opera. It should be
based on Chrome 27, but should work on older Android versions where
Chrome doesn't work.

Cheers,
Peter
> --
> For other discussions, see https://groups.google.com/a/dartlang.org/
>
> For HOWTO questions, visit http://stackoverflow.com/tags/dart
>
> To file a bug report or feature request, go to http://www.dartbug.com/new
>
>

Jim Trainor

unread,
May 17, 2013, 12:45:22 PM5/17/13
to mi...@dartlang.org
There is no Chrome on Android 2.3 phones (still very common on old and low spec phones).  The stock 2.3 browser gives me a blank screen when I run my Dart regression tests.  I tried Opera on my 2.3 test phone and ran some regression tests and it looked better - didn't finish the tests, but there was at least something to see (actually, it looked like the same problem I see running my tests on IE10 at the moment, so I expect that will cleared up sooner or later).

Not suggesting you make Chrome for 2.3 - I know that's out, from what I've read.  It may helpful, however, to work with a partner (Opera?) to ensure there is _something_ where Chrome is not supported. Something that will at least execute the javascript generated by dart2js.

Ladislav Thon

unread,
May 17, 2013, 1:17:19 PM5/17/13
to mi...@dartlang.org
Not suggesting you make Chrome for 2.3 - I know that's out, from what I've read.  It may helpful, however, to work with a partner (Opera?) to ensure there is _something_ where Chrome is not supported. Something that will at least execute the javascript generated by dart2js.

Firefox for Android?

LT

Jim Trainor

unread,
May 17, 2013, 3:04:12 PM5/17/13
to mi...@dartlang.org
I hadn't thought of Firefox on Android - I'm still discovering the ecosystem here.  It supports 2.3 and.... drum rolll.... my unit tests pass on my 2.3 test phone running Firefox!

If my teenage year daughter was commenting she'd say "dude... like OMG... it works!".  Fantastic, is my response!
Reply all
Reply to author
Forward
0 new messages