Prevent Access to Pages in Ionic with Angular Route Guards
In a previous tutorial, I covered how we would implement Angular routing in an Ionic 4.x application. When Ionic 4 is released, there will be more of a focus on using the baked in Angular routing,...
View ArticleUsing Cordova Plugins that Require Install Variables with Capacitor
Since Cordova is such a hugely popular framework with a massive ecosystem of plugins to access various native functionality, Capacitor is aiming to have backward compatibility with existing Cordova...
View ArticleCreating a Tabs Layout with Angular Routing and Ionic 4
Recently, I published a tutorial that talked through how to use Angular routing in an Ionic/Angular application when Ionic 4.x is released. Although using Angular style routing is not required if you...
View ArticleDeploying Capacitor Applications to iOS (Development & Distribution)
In this tutorial, we are going to walk through how to use Capacitor to deploy iOS applications. We will be covering how to get a Capacitor application running on an iOS device for development, all the...
View ArticleDeploying Capacitor Applications to Android (Development & Distribution)
Earlier this week, I released a guide to deploying Capacitor applications to iOS. In this tutorial, we are going to be doing the exact same thing, except we will be deploying an Android application...
View ArticleIonic Framework Is Fast (But Your Code Might Not Be)
I don’t want this article to come across as a self-righteous rant, or that I’m attacking people who have made statements like the ones I will use as examples in this article. The last thing I want to...
View ArticleFaster Boot Times with Lazy Loaded Web Components in Ionic 4
In this article, we are going to take a look at a feature introduced in Ionic 4 that will reduce the initial load times of our applications. Before we get into discussing that, though, I want to...
View ArticleAdding Icons & Splash Screens (Launch Images) to Capacitor Projects
Generating icons and splash screen images ends up being a much more difficult task than you might anticipate before doing it for the first time. The difficulty stems from the fact that there are a...
View ArticleA Primer on CSS 4 Variables for Ionic 4
Apparently, good things come in 4’s (sorry, that was the best I could do). Another significant addition to Ionic 4 is going to be support for CSS4 variables, which will now play the primary role in...
View ArticleCustom SVG Icons in Ionic with Ionicons
Like the rest of Ionic in Ionic 4, Ionicons has recently received the web components treatment. If you’ve used Ionic in the past, then you have likely used Ionicons which provides all of Ionic’s icons....
View ArticleMy Method for Upgrading from Ionic 3 to Ionic 4
For a major version upgrade, the transition from Ionic 3 to Ionic 4 is going to be relatively minor. Most of your code will be able to remain as is, with some minor syntax changes due to the upgrade to...
View ArticleCreate a PWA with Angular Service Workers in Ionic 4
I have written several articles on the topic of Progressive Web Applications (PWA) in Ionic before, including this one which provides a basic overview of the concept of PWAs and how to create one with...
View ArticleCreating a Theme Switcher Service in Ionic Using CSS4 Variables
A couple of weeks ago I released an article about how CSS4 variables would be used in Ionic 4. In that article, I discussed how using CSS4 variables for theming allows you to modify these variables at...
View ArticleCreating a WebVR Experience in an Ionic/Angular Application
I’ve become absolutely fascinated with WebVR recently. The fact that you can access an immersive virtual reality experience powered by a web browser on your mobile phone just blows my mind. I picked up...
View ArticleConverting Ionic 3 Push/Pop Navigation to Angular Routing in Ionic 4
Most of the changes required for upgrading from Ionic 3 to Ionic 4 are going to be simple find and replace style changes – things like changing <button> to <ion-button> and ionViewDidLoad()...
View ArticleUnderstanding How Slots are Used in Ionic 4
As you may know by now, the big change in Ionic 4 is that all of Ionic’s components are becoming web components. Since web components are a feature of browsers, and not of specific frameworks, this...
View ArticleUsing BehaviorSubject to Handle Asynchronous Loading in Ionic
It is common in Ionic applications (and Angular applications more broadly) to create some kind of service to handle loading data from some source. This might be from a local JSON file, local storage, a...
View ArticleAugmented Reality in an Ionic/Angular PWA
Recently, I published a tutorial on using ThreeJS with Ionic to embed virtual reality content into a mobile application using WebVR. This tutorial is going to be somewhat similar, we will still be...
View ArticleSending Push Notifications with the Phonegap Push Plugin in Capacitor
When it comes to accessing native functionality in Capacitor, we are generally able to use any of the thousands of existing plugins for Cordova. However, whilst most Cordova plugins will work fine...
View ArticleThe Ionic 4 Migration Survival Guide
In the most recent Ionic Dev Newsletter, the Ionic team stated that they are fast approaching a beta release for Ionic/Angular V4, and that they are working through the last updates needed for the...
View Article