How to Build the .ipa Package With Apache Cordova or Ionic Framework Command-line Tools

ipaBuilding 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.

© Wikipedia

Continue reading How to Build the .ipa Package With Apache Cordova or Ionic Framework Command-line Tools

Social Media Sharing in Apache Cordova With ngCordova

Social sharing with Cordova appI’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.

Continue reading Social Media Sharing in Apache Cordova With ngCordova

Push Notifications With Apache Cordova

Push Notification with Hybrid appThis 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.

Continue reading Push Notifications With Apache Cordova

Music and Sounds With Your Cordova/Phonegap Application

Cordova Music Plugin for Apache CordovaMusic 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

Background Geolocation With Apache Cordova

Background geolocation looks like a simple thing to implement, but now with hybrid app, such as Apache Cordova apps. This is because all JavaScript code execution in WebView will be stopped when you’ll “minimize” app or your device will go to sleep mode. But this can be solved by using the native apps or Cordova plugins. Today we’ll learn how to create a mobile app with background geolocation feature using Apache Cordova and one plugin.

Continue reading Background Geolocation With Apache Cordova