Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Use ng2-cordova-oauth For All Your Ionic Oauth Needs

Previously I wrote about using Oauth within an Ionic 2 mobile application. However, for the typical user that can be a real hassle because it by far isn’t short. This is why I created the library ng2-cordova-oauth on GitHub. This library has numerous web service providers bundled in, making the authentication flow as short as three lines of code.

Now some of you might be familiar with the ng-cordova-oauth library that I wrote for Ionic Framework 1. That library was designed to work with Apache Cordova and AngularJS. This time around I did the same thing for Angular and Apache Cordova.

Let’s take a look at how easy this new library really is.

Read More

Launch Websites With Ionic Using The InAppBrowser

With Ionic 2 development in full force, I figured it would be a good idea to update one of my more popular blog articles. Previously I had written about using the Apache Cordova InAppBrowser to launch external URLs using Ionic Framework 1. This time I’m going to accomplish the same, but using Ionic 2 and Angular.

Like with the previous tutorial we will be using the Apache Cordova InAppBrowser plugin. The only change is in our framework.

Read More

Show Native Toast Notifications In An Ionic Mobile App

A popular way to display notifications within a mobile app is through Toast notifications. Previously I demonstrated how to display these notifications using Ionic Framework 1, but with Ionic 2 being all the rage, I figured it would make sense to demonstrate how to do this again.

iOS has no true concept of a Toast notification like Android does, but using the great plugin by Eddy Verbruggen, we can make it possible in iOS. This is the same plugin we make use of in the Ionic Framework 1 tutorial.

Read More

Use Font Awesome Glyph Icons With NativeScript

If you’re like me, you’re terrible when it comes to design and that includes graphic design. Creating icons throughout an app can be a rough process, not just from a creativity perspective, but also from the perspective of displaying these icons on various screen sizes and resolutions. Web developers have it easy with the incredibly useful Font Awesome glyph icon package. The thing is, it isn’t just web developers that can make use of Font Awesome.

It is very easy to include Font Awesome in your Telerik NativeScript mobile application. I already demonstrated using these glyph icons in an Ionic Framework, React Native, and even a native Android application. Now it’s time to do it with NativeScript.

Read More

TPDP Episode #1: The Requirements for Developing Mobile Applications

This is officially the first episode in The Polyglot Developer Podcast! I’ve spent a long time thinking about creating a podcast, but now I can officially say that I’ve followed through with it. Episode #1: The Requirements for Developing Mobile Applications is an episode that I’ve broken into several parts because I feel there are different kinds of requirements.

  1. What do you need in a mobile application?
  2. What do you need to build a mobile application?
  3. What do you need to do to drive success in a mobile application?

Those three topics should be considered by everyone looking to develop their first mobile application.

Read More

Using An Oauth 2.0 Service Within An Ionic Mobile App

Previously I demonstrated how to use Oauth in an Ionic Framework 1 Android and iOS mobile application, but with Ionic 2 becoming all the rage, I figured my old guide needed a refresher.

Modern applications are always making use of APIs and data from third party services. The problem is, these remote services require a special kind of authentication to happen in order to work with the data they manage. The most common form of authentication for web services is Oauth.

In my Ionic Framework 1 tutorial I demonstrated Google Oauth, but this time we’re going to see how to use Facebook Oauth in an Ionic 2 application.

Read More

Use SQLite In Ionic Instead Of Local Storage

Ionic 2 is becoming all the rage right now because of it using Angular. With the introduction of Angular, comes many differences in the language and framework itself. One of the most critical parts of any mobile application is its ability to save data and have it persisted when the application is launched at a later date. I demonstrated in Ionic Framework 1 how to use SQLite as a storage solution, so I figured it would be a good idea to demonstrate the same using Ionic Framework 2.

Let’s see why it might be a good idea to use SQLite in an Ionic 2 application rather than HTML5 local storage.

Read More