I was working on an Ionic 3 project and debugging application live with connected Android devices by running following command
As the latest stable version of the Ionic framework, V4 has been released which is way more future proof and easily adaptable with new frameworks like react, Vuejs etc by using web components technology. But still, there are some developers who may prefer version 3 of Ionic as routing of ionic was having much more similarities to the native environment in terms of keeking view data or maintain the history of a view intact. We can easily use push & pop methods of NavController in ‘ionic-angular’ package.
Very much awaited Ionic’s Version 4 is finally released with full of celebrations and feelings full of thrillers by the Ionic team. According to the team Back in 2013 Ionic was introduced in support with AngularJS to make is compatible with the latest choice of developers at that time. After that, there was Angular 2 and so on, Ionic also updated with 2 and later version 3 of the Ionic framework.
The latest update of one of my application got suspended by Google team due to some issue related to ads shown in the application. The issue was with Interstitial type of ads which I was showing in application after view change.
We have already discussed How to Override Back Press Event in Ionic’s V3 which we can easily do by using Platform’s registerBackButtonAction method. But in Ionic’s V4 version this method simply does not work.
So in this post, we will create an Ionic V4 Application to demonstrate overriding of Back Press Event in Ionic 4 Application. We will also discuss how to get the current Component name to handle it more conveniently.
In this post, we will discuss an issue faced by many Ionic Framework developers related to getting the current page/ view/ component name in the application. In an Ionic application which using Lazy Loading to partially load components are facing such issue.
An Ionic framework application makes development very easy and fast for multiple platforms, but sometimes due to performance issues like fluctuation in animations, jerk movements during user interactions calls for some tricky solutions to manage code with better optimizations.
Getting Call logs from a device in the application can be used in a number of ways for genuine purposes like to share invite link or message someone from an application itself.
In Ionic also we can get Call Logs of the device using Cordova and ionic Native plugins. Usage of Call Logs plugin is easy but a little tricky.
In this post, we will add Cordova’s SQLite storage plugin in Ionic version 4 Application. This is the common and widely used storage plugin by most of the Ionic developers since version 1 of Ionic. Storage is widely used to store personalized settings by the user in the application which is not required to be stored on the server side.
Application developers sometimes need to save a bunch of information on the user side to control some features and provide some offline functionalities to application users, in that case, local storage proves very handy. Using Ionic’s Native storage plugin we can storage key value pairs which may have any type of data from a simple string or integers to JSON objects. But this locally stored data will remain until the application is Uninstalled or device is formatted.