Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Ionic compile the Code to Native?

I've searched some times here but could't find an Answer to this.

Does someone know this and can explain how Ionic handles it?

like image 834
Blueblazer172 Avatar asked Sep 01 '25 22:09

Blueblazer172


1 Answers

Does Ionic compile the Code to Native? NO

Ionic is for developing Hybrid apps.

What are Hybrid apps?

Hybrid apps are essentially websites embedded in a mobile app through what we call a webview. They are developed using HTML5, CSS, and Javascript, and execute the same code regardless of the platform in which they run. They can, with tools like PhoneGap and Cordova, use the native features of a device, like GPS or camera.

What are Native apps?

Native apps are developed in the language required by the platform it targets, Objective-C or Swift for iOS, Java for Android, etc. The code written is not shared across platforms and their behavior varies. They have direct access to all features offered by the platform without any restriction.

Here is a nice article about it.

like image 179
Sampath Avatar answered Sep 03 '25 18:09

Sampath