Quantcast
Channel: RSS Feed
Viewing all 391 articles
Browse latest View live

Prevent Access to Pages in Ionic with Angular Route Guards

$
0
0
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, rather than Ionic’s own push/pop style routing (this style of navigation will still be available, though). In this tutorial, […]

Using Cordova Plugins that Require Install Variables with Capacitor

$
0
0
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 plugins. This means that if you are using Capacitor, you should be able to use any existing Cordova plugin with it. All you need to do […]

Creating a Tabs Layout with Angular Routing and Ionic 4

$
0
0
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 want to upgrade to Ionic 4, there are a lot of benefits to doing so (and some features that were available with standard […]

Deploying Capacitor Applications to iOS (Development & Distribution)

$
0
0
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 way through to creating a build for distribution on the App Store. We are going to do this starting […]

Deploying Capacitor Applications to Android (Development & Distribution)

$
0
0
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 built with Capacitor to Google Play. As was the case for the last tutorial, we are going to do this starting […]

Ionic Framework Is Fast (But Your Code Might Not Be)

$
0
0
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 do is sound elitist or fan the flames of framework wars. So, I will precede this article […]

Faster Boot Times with Lazy Loaded Web Components in Ionic 4

$
0
0
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 highlight that when it comes to performance we can’t just rely on the framework. I published an article […]

Adding Icons & Splash Screens (Launch Images) to Capacitor Projects

$
0
0
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 bunch of different devices that your application could be running on, a lot of which will have different resolutions/pixel density. […]

A Primer on CSS 4 Variables for Ionic 4

$
0
0
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 Ionic’s theming approach. In this article, we are going to take a brief look at what CSS4 variables are […]

Custom SVG Icons in Ionic with Ionicons

$
0
0
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. Adding a range of well-designed and platform consistent icons is as simple as dropping the following into your project: Ionicons […]

My Method for Upgrading from Ionic 3 to Ionic 4

$
0
0
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 Angular 6 and the web component approach in Ionic 4. However, this doesn’t mean that […]

Create a PWA with Angular Service Workers in Ionic 4

$
0
0
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 Ionic. I would recommend reading that article if you need a little more background on what PWAs and service workers […]

Creating a Theme Switcher Service in Ionic Using CSS4 Variables

$
0
0
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 runtime because unlike SASS variables which need to be compiled, CSS4 variables are supported natively by the browser. […]

Creating a WebVR Experience in an Ionic/Angular Application

$
0
0
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 a Google Pixel 2 XL and a Google Daydream headset to experience and develop for WebVR, which provides a nice and […]

Converting Ionic 3 Push/Pop Navigation to Angular Routing in Ionic 4

$
0
0
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() to ngOnInit(). Although it will look slightly different, the code that you are using in Ionic 3 will more or less look the […]

Understanding How Slots are Used in Ionic 4

$
0
0
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 will allow Ionic to work with any framework or no framework at all. The basic idea behind Ionic’s components […]

Using BehaviorSubject to Handle Asynchronous Loading in Ionic

$
0
0
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 remote database, or some other kind of data store. The idea is that the service handles any of the complexities […]

Augmented Reality in an Ionic/Angular PWA

$
0
0
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 making use of ThreeJS and WebGL, but we will be creating an augmented reality experience in an Ionic/Angular application. If you are […]

Sending Push Notifications with the Phonegap Push Plugin in Capacitor

$
0
0
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 without modification in Capacitor, not all of them will. One particularly popular Cordova plugin is Phonegap Plugin Push which allows you to register […]

The Ionic 4 Migration Survival Guide

$
0
0
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 framework. Although there is no official date for the release, the terminology being used gives the impression that we are probably […]
Viewing all 391 articles
Browse latest View live