Hi guys, need a bit of advice regarding webapp vs ionic mobile app.
Ideally would like to have my app to be accessible from app store (iOS to start with) as well as via the web (for non-iOS mobile access and desktop)
Would it be advisable to deploy the ionic app code (assuming it doesn’t use anything from cordova.js, or phone’s functionality) as a web site to allow access for non-iOS mobile phones?
And for other non mobile traffic, forward requests to a angularJS based web site (hoping to share angularJS code with web and ionic app) ?
A con would be support for IE and FF, which are two popular browsers & IE being the most (unfortunately). While we do have some IE in the nightlies, it’s mostly for WP8. So keep that in mind
Judging from the CSS docs about 80%-90% of Ionic works fine on Firefox and IE10+.
IE9 is support terrible but IE10 is pretty good. Things that get let down are selects, sliders and some padding issues. Support in Firefox is even better with only a few problem areas.
Assuming that someone was willing to test and reimplement certain components to catch these cases, I think Ionic could make a good basis for a browser based webapp. IE9 support really isn’t that important, at least for webapps.
Did anyone wrote a css, which will convert ionic specific UI elements to a web application elements? That css would be a great resource I guess, if someone’s not really concerned about browser support! I am currently looking for one, so please point me if someone has already written it.
Let me “up” the thread. Can somebody share with positive experience of using Ionic for deploying regular mobile web site? I mean site which works great (transitions, effects, appearance) in mobile Chrome and Safari?
I think using ionic is like driving a sportscar in the desert. Maybe it works but it’s not supposed to do the job. There are other frameworks that are better made for web like jQuery Mobile. As soon as someone uses Internet explorer your users will hate you. Ionic is made and tested on a very limited amount of browsers because they only use the native ones from iOS and Android + crosswalk.
My company uses ionic as hybrid app framework for mobile devices and a webpage that gives the user the same possibilities, but we developed an adapter to have one core code for all platforms. The great thing is that this is quit easy, because ionic uses AngularJS. We used Bootstrap to make our website mobile ready.
Thanks @Janson! In our project we want to achieve the same - single code base for 3 platforms: native app for Android, for Iphone and a web-based version for mobile browsers of both Android and Iphone
How would I go about deploying my ionic app as a cloud based website? (Purely to easily and quickly allow clients to test basic functionality of my app).
I have both running: mobile App and desktop browser. It works fine as long as you are ok sticking to mobile UI conventions for the desktop app. I also added some code to let me test the platform deviceReady.device().isBrowser and do the right thing.
It’s a single-page angular app, so hosting it is really easy in the cloud. I just rsync it to my server and it runs fine. But I only care about modern browsers - no IE support expected.
But I do not have much experience with angular / ionic. Which runs the factory deviceReady? In the run block? Could give me a more complete example if possible?