Interview Questions.

Ionic Interview Questions and Answers


Ionic Interview Questions and Answers

Q1. What is Ionic Framework?

Ans: IONIC framework is an HTML5 platform that permits internet developers to build hybrid cellular apps. Hybrid apps are the ones apps which have get admission to to native perform layer and are small websites running in browser shell within the apps. It is a effective HTML5 SDK that facilitates to construct mobile apps using HTML , CSS, and JavaScript. Ionic framework specially emphasizes at the look and feel of the app and its UI interplay. This method that we aren’t a replacement for PhoneGap or JavaScript framework. Ionic suits well with the front cease part of your app. They are free to apply underneath MIT license so it can be used for non-public or industrial tasks.

Q2. Mention few capabilities of Ionic?


CSS additives :

JavaScript additives

AngularJS Architecture

Ionic View

Cordova Plugins

Q3. How to get the installed version of the Ionic framework?

Ans: Run ionic.Version command  in console of your internet browser to check mounted version of IONIC Framework.

Q4. What are hybrid mobile apps?

Ans: Hybrid apps are clearly developed using a combination of the native and HTML5-primarily based internet features. An HTML5 mobile app is basically an internet page, or chain of net pages, which are evolved to run on a small display. Hybrid improvement unites the high-quality and leaves the worst factors of each the native and HTML5 systems. Hybrid app can also be called as an internet app, that's to begin with evolved the usage of HTML5 and JavaScript after which it's miles wrapped in a lean native container that makes it on hand to native platform functions as properly. Apart, from being a piece gradual platform in gaining access to NFC, Bluetooth, and so forth and calls for a 3rd celebration plug-in, hybrid platform has handful of benefits. A hybrid application has a capability to expand programs the usage of Android, Windows and Blackberry no matter the thing that each of the platform requires exclusive development environment, language and framework. To get a distinguished presence inside the app store without spending huge attempt for developing a one-of-a-kind app, agencies broaden hybrid apps as wrappers for an current net web page. Moreover, hybrid apps also are popular because they permit pass-platform improvement. That way, developers can reuse the identical HTML code additives on exceptional cell running structures, which in turn, reduces significantly the development charges. Tools like PhoneGap and Sencha Touch allow users to design and code across structures, the usage of the energy of HTML.

Q5. What is the distinction between ionic polymerization and unfastened-radical?



Ionic polymerization is a sequence polymerization that has ions and ion pairs inside the centre.

The initiation of ionic polymerization consumes very less activation strength than radical polymerization.

It is an opportunity to unfastened radical polymerization.

Free radical polymerizations are those polymerizations which might be fashioned by using including loose-radical constructing blocks.

Free radical polymerization uses initiators and coinitiators.

It is the simplest way to achieve different sorts of polymers and cloth composites.

Q6. How many varieties of garage available in Ionic framework?

Ans: The smooth manner to store key or values and JSON items is referred to as garage in Ionic Framework. In this numerous garage, engines are used. While on the net utility, the garage will tend to use IndexedDB, WebSQL, and localstorage. Various varieties of storage are available in ionic framework. Some of them are:

HTML5 neighborhood storage

Cookie and consultation garage




Webservice/api storage

Cordova storage.

Q7. Why build local apps, while hybrid apps development frameworks are there?

Ans: Some of the subsequent could not be completed correctly the use of internet frameworks:

Access to platform-unique UI additives, like maps, date pickers, switches, and navigation stacks.

Native cellular gesture recognizers

Complex and complex threading models that assist parallelize paintings onto multiple threads.

Q8. What are some of the negative aspects of constructing native apps?


Even a small trade wishes a recompile that slows up the builders. This come to be a nightmare whilst the codebase may be very huge.

Testing new capability is bulky.

Calls among local and interpreted surroundings ought to emerge as blocking UI thread.

HubSpot Video

Q9. List some advantages and downsides of ionic framework?

Ans: Some advantages and drawbacks of ionic framework are indexed beneath:


All the supported structures have only one source. Mainly they're android and OSX.

It is specially advanced in HTML, CSS, and JS. Almost all of the builders are acquainted with those languages.

Most importantly, angular is getting used that is by default embedded in the ionic framework.

It is completely unfastened and is taken into consideration as one of the great open-supply software program for developing hybrid mobile applications.


There is a overall performance gap between the ionic and the native packages. Ionic apps aren't as fast because the local apps.

Ionic programs may not be as comfortable as the local programs.

The ionic applications may additionally lack in some native features. In such case, plugins need to be developed.

Q10. How to use observables in ionic framework?

Ans: Observables are something that are not particular to Ionic or Angular and are provided with the aid of the RxJSlibrary. Observables are almost much like the promises but can do a lot extra. It can cope with a couple of values at a time rather than simply resolving one price. You may even join an observable to manipulate the information which is related to it. Observables are considered to be “lazy”, i.E. They gained’t get carried out until and unless they're subscribed to. Various operations may be implemented to the observables for editing it and returning a brand new one. You may even create your personal observable. The observable patterns are mixed into one with the assist of concern that is desired for simple implementations.

 Q11. What is the gain of caching the perspectives in Ionic apps? Provide examples.

Ans: Ionic with the aid of default caches up to 10 perspectives, which improves performance and additionally maintains different states within the views on the same time. For example, the cache can preserve scroll function in the views or energetic state of buttons.

Caching can be disabled consistent with view via using cache: fake in UI-router’s state config, like within the following instance:


cache: false,

url : ‘/myUrl’,

templateUrl : ‘my-template.Html’


Caching can be additionally disabled globally, with the aid of setting maxCache to zero:


Q12. How are you able to locate a platform (Android or iOS) at runtime in Ionic utility?

Ans: Ionic presents platform lessons: when the software is loaded, Ionic adds CSS instructions to the <body> tag. For instance, on iOS gadgets, Ionic provides platform-ios elegance to <body> tag. Ionic also adds OS version instructions which includes platform-ios8 (for iOS eight) and platform-android4_4 (for Android four.Four).

Q13. How can you test Ionic packages?

Ans: Ionic applications are constructed the usage of AngularJS. Angular has a wealthy set of check libraries and frameworks such as Jasmine and Karma take a look at runner. These frameworks may be used to jot down unit checks for Ionic packages. Also, ionic-CLI affords live reload function so the utility may be examined in the browser. For instance, the ionic serve command may be used to load the application in any browser. Thus, we are able to use Chrome Developer Tools or Mozilla Firefox with Firebug to debug and check out Ionic packages.

Q14. What’s the difference among “ionic construct” and “ionic put together”?

Ans: ionic prepare <platform> copies all files from the www folder into the goal platform’s www folder.

Ionic build <platform> additionally does this, however also builds the app’s source code in order that it could be run on a simulator/emulator or a device.

Q15. List Some Popular Apps Built With Ionic Framework?

Ans: Some famous programs constructed with the help of ionic framework:

Pacifica: Cognitive Behavioural Therapy.

TD Trading: Stock Trading App.

Sworkit: Workout and Fitness Plan.

Market Watch: Stock Market and Business News.

Chef Steps: Cooking Tutorials and Tool.

Nationwide: Insurance and Financial Services.

Just Watch: Streaming Search Engine.

Untapped: Social Discovery and Check-in Network.

National Museum of African American History and Culture.

Crypto trade: Crypto foreign money Tracker.