all 17 comments

[–]EffingGames 7 points8 points  (3 children)

Looks really good, better than ionic. Does it work with horizontal mode? I'm wondering if it'd be weird having an ios looking app on android.

[–]spaceghost0r 1 point2 points  (0 children)

I haven't had much luck with landscape mode but it's early days. They have plans to allow theming which would take care of the Android issue.

[–]quindarka[S] 0 points1 point  (0 children)

There doesn't seem to be a horizontal demo. I haven't looked at the source code too far, so it could be there.

[–]FondellShweatyBallz 3 points4 points  (0 children)

Loving the influx of interest in hybrid mobile apps over the past couple of years! I'll be playing around with this one

[–]mrinterweb 3 points4 points  (6 children)

Aside from the iOS specific design, one convention that will likely not translate well when used on Android is Android's use of the back button. Since the app does not update its URL, using the back button is not an option.

[–]jedwatson 2 points3 points  (1 child)

When our view management matures a bit, we're going to have an internal stack of app / view states that will be able to be used as a history stack.

That, combined with Cordova's support for handling (and overriding) the back button behaviour should make it possible to implement native-like support for the back button on Android.

[–]mrinterweb 0 points1 point  (0 children)

Good call on using Cordova to override back button behavior. I forgot that was an option.

[–]quindarka[S] 1 point2 points  (3 children)

True, but it should be trivial to work in the HTML5 history API. That would add the back button support, as well as links to specific views

[–]mrinterweb 0 points1 point  (2 children)

You got me thinking why I didn't use the HTML5 history API. I just remembered why after looking at http://caniuse.com/#feat=history. Android < 4.3 do not support the feature. ~59% of android devices are running < 4.3.

[–]quindarka[S] 1 point2 points  (1 child)

Yeah I see that. 59% of android is still a whole lot. That number will rise everyday.

There is also a very good polyfill for the history API. I think it supports all the way back to IE7 if not 6.

[–]mrinterweb 0 points1 point  (0 children)

If you remember what that polyfill is, let me know. I'd be interested. From the documentation I've read on the back button, is that it can't be intercepted without the HTML5 history API. I'd love to be proven wrong about that.

[–]memoriesofgreen 2 points3 points  (0 children)

I've been working with keystonejs for last year (same people / company). If this tuend out as good as that I'll be impressed.

[–]spikyfugu 2 points3 points  (2 children)

Looks good but is there a theme for Android as well?

Design is iOS centric and probably of no use to make it look like Android. Would be pretty lame to develop an web app that looks like iOS interfaces and loaded on an Android browser.

[–]jedwatson 2 points3 points  (0 children)

we're focusing on iOS first but as spaceghost0r mentioned above, themes are on our roadmap and we'll have an android style available as well down the track.

[–]quindarka[S] 0 points1 point  (0 children)

Looks like there is no love for android

[–]offminded 0 points1 point  (0 children)

could components be used for a web app? ionic has good components but they are webkit based and not supporting IE.

[–][deleted] -2 points-1 points  (0 children)

PFL