Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Ionic Framework run in desktop web browser like Chrome, Mozilla, IE9+?

Can Ionic Framework run in desktop web browser like Chrome, Mozilla, IE9+? Or is there another framework which runs on top of angularjs?

like image 736
Jose Faro Avatar asked Jun 09 '14 21:06

Jose Faro


People also ask

Can Ionic run on web?

Because of this foundation in web technologies, Ionic can run anywhere the web runs — iOS, Android, browsers, PWAs, and more.

How do I run an Ionic app in Chrome?

Developer Options & USB Debugging are enabled by default in the Android emulator. Open the Chrome browser and navigate to the URL chrome://inspect/#devices . Your connected Android device should show up in the list of Remote Targets. On your device, open the Ionic app that you would like to debug using Chrome.

Is Ionic for web or mobile?

Since Ionic is based on the popular Apache Cordova framework, Ionic applications are hybrid HTML apps. On mobile devices, they run in a special environment (UIWebView for iOS and WebView for Android) that displays HTML and executes JavaScript code.


2 Answers

UPDATE : As mentioned by @RationalDev, Ionic now supports browsers in general. However, they haven't explain what browsers.

Ionic 1.2 marks the first release where we actively recommend Ionic for those looking to build a mobile website

http://blog.ionic.io/announcing-ionic-1-2/

=========================================================================== As mentioned in the Browser Support section of the Ionic Framework documentation, Ionic is really geared towards hybrid mobile apps.

Ionic is focused on building native/hybrid mobile apps rather than mobile websites.

As such, our browser support tends to be whatever Web View API is available to native apps on a given platform. For Ionic 1.0.0-beta.6 "darmstadtium-dingo", that means UIWebView for iOS 6+, and Android 4+ (with some support for 2.3). Windows Phone and FirefoxOS support is on our roadmap.

However, it does work just fine in most WebKit browsers (Chrome and Safari in particular). In fact, I'd say most developers develop their app in Chrome 90% of the time and then test on their devices or a simulator.

I do know that FireFox is simply not supported. I don't know how well Ionic works in IE X.

If you want a mobile app, Ionic is a great option. However, if you are really targeting the desktop, I'd say you need to look elsewhere. Ionic provides no guarantee of support for desktops browsers and it's interface would limit the more feature rich and spacious capabilities of a desktop browser.

For AngularJS, you might want to look into AngularUI and AngularUI Bootstrap in particular. It has a really diverse desktop oriented feature set.

like image 164
Justin Noel Avatar answered Sep 25 '22 14:09

Justin Noel


If you just want to test, check this out:
http://ionicframework.com/docs/guide/testing.html

Desktop browser testing

Testing your app in a browser is as simple as running the serve command in your project's root folder.

$ ionic serve

like image 31
Denis C de Azevedo Avatar answered Sep 23 '22 14:09

Denis C de Azevedo