Some time ago I published the TODO tutorial for Ionic framework version 2. But our application data is not persistent across app run. Once added, todo item will never be saved for later use. It’s not serious in real applications, so let’s add ‘save data’ feature. We’ll use Ionic Native and Cordova Native Storage plugin.
When using (click) handler with Ionic 2, you can get the famouse 300ms delay on some items, especially such items as ion list item. This issue is quite easy to solve, but many people skips this information.
Address input is quite common task appearing during mobile apps development. Ionic doesn’t have such built-in component, but we can develop it quickly and easily. This component can be used not only for address autocomplete, but can also be used for any other autocomplete type.
Ionic Native is a set of wrappers for popular Cordova plugins, which provides you an ability to easy use native features in your hybrid mobile app. Today we’ll consider one of the most popular features – work with camera plugin.
Building application package file for Android platform (.apk) is trivial, you can do it with simple command like ‘cordova build android’ or ‘ionic build android’. But building .ipa package file (for iOS platform) is not so trivial, so we’ll take a look how to do this.
An .ipa file is an iOS application archive file which stores an iOS app. Each .ipa file includes a binary for the ARM architecture and can only be installed on an iOS device. Files with the .ipa extension can be uncompressed by changing the extension to .zip and unzipping.
I’ll show you how to setup easy social sharing with Apache Cordova with special plugin which uses native system share dialog. This is a quite easy method you can use for this. We’ll also use social sharing module of ngCordova to keep our code clean.
Also we’ll consider how to rollback to pure Facebook website sharer for websites.
The main advantage is that any facebook/twitter apps are not required to use this method.
A few days ago I created the article describing how to implement push notifications for iOS and Android for you hybrid mobile app. Now it’s time to discribe server-side. Usually I’m using Rails for server-side, so this example will be about Rails.
Sending push notifications with Rails is quite easy, but have some nuances, which should be implemented.
This is a small tutorial which show how to implement push notifications feature for your hybrid mobile app built with Cordova-based technology (Phonegap, Apache Cordova, Ionic framework).
Push notifications depends not only on your application code, but also require some other stuff, such as server setup for sending notifications and API keys/certificates setup.
I’ll describe how to setup push notifications for iOS and Android platforms without any pain.
Music and sound effects on your Apache Cordova / Phonegap mobile application is not seem to be a headpain. The recommended plugin works great for me with both iOS and Android.
Continue reading Music and Sounds With Your Cordova/Phonegap Application