There are often times where you need to display messages to your users inside your Ionic Framework Android and iOS application. If you’ve been using Ionic for a while, you’re already familiar with the $ionicPopup
feature, but what happens if you don’t want to bother the user with interaction?
Using the Toast plugin by Eddy Verbruggen for Apache Cordova, we are able to create native Toast notifications for both iOS and Android that require no user interaction to close.
Read MorePreparing an Apache Cordova Android project for release can seem like a difficult task. The documentation for completing such a task is definitely more than it needs to be.
Read MoreAfter recognizing that I develop almost entirely on Ubuntu Linux, a subscriber of mine asked me how to properly set up an Ubuntu machine for Ionic Framework Android development. Now there are a ton of options to handle this task, but not many bare bones solutions. Most solutions on the internet explain how to use an IDE, or fail to elaborate a complete installation.
If you’re not interested in learning how to accomplish the task of installing NPM, Android, Apache Cordova, and Ionic Framework, you can just download a convenient shell script that I made. If you want to know how this shell script works and would like to get the most out of it, continue reading the article.
Read MoreI recently found myself needing to scan barcodes in one of my apps. More specifically I needed to scan quick response (QR) codes. After doing some searching I found that ngCordova had an extension for the Apache Cordova plugin BarcodeScanner which has the ability to scan barcodes in the following formats:
Pretty much all the formats anyone would ever need. The plugin itself makes use of the very popular ZXing library.
Read MoreYou may one day find yourself needing to make an Ionic Framework Android and iOS app that downloads media or in-app purchase content from a remote web server to the users device. Maybe you created an audio app that plays music from the cloud and you decided to cache upcoming songs in your playlist like Google Music does. This will involve downloading the media files to your device in the background so it is ready to go.
Lucky for us, Apache Cordova has a set of File APIs that we can use in our Ionic project for exactly this.
Read MoreI currently have a few Ionic Framework Android and iOS applications on the market. A common request for these apps have been to have a pin code unlock feature for extra security.
Read MoreThere will often come a scenario where you need to determine when your application enters the device background and comes back into the foreground. For example, let’s say we wanted to require a password every time the application is shown. We would need to listen for when the application enters the foreground.
Lucky for us, we can make use of the Apache Cordova event listeners to accomplish this task.
Read More