Categories
Android Ionic Framework iOS

Debugging Issues with Ionic Pro

I’ve recently been working with team members to build proof of concept mobile applications for various customers.  In doing so, I mentioned that we could build these proof of concepts pretty easily using the Ionic Framework and their Ionic Creator product.  We found this to be really useful from the get go and we were to able to create these proof of concepts extremely quickly but we ran into some hard to debug errors when trying to build them on Ionic Pro

Today, I’ll be running through some of these in an attempt to help others figure out their issues.

Categories
Android Angular Ionic Framework iOS Mobile Development

Implementing D3.JS in Ionic 3 / Angular

What did I learn today?

Today I found that implementing D3.js into an Ionic 3 application is much more difficult than I thought it would be originally.  I tried to use just the default D3 library as well as a D3 NPM package named d3-ng2-service.  In the end, it came down to needing to use both of them.

Categories
Android iOS Mobile Development Uncategorized

Create Multiple Builds for Ionic Mobile Apps Using Gulp

What did I learn today?

Today I learned that it is possible to create multiple builds for Ionic mobile applications using Gulp tasks in Visual Studio. In this post, I’ll explain how I accomplished this task using Gulp and a few Gulp plugins.

This post will explain how to setup multiple builds using Gulp for Ionic mobile apps.  The full example can be found on GitHub: https://github.com/bwhittington/Multi-Build-Gulp-Setup-Example

Categories
iOS Mobile Development

Opening Local Content On iOS Devices Using InAppBrowser

What did I learn today?

Today I learned that opening local content in InAppBrowser on iOS devices using the system browser (Safari) is impossible.  This is due to Apple’s security scheme setup to protect iOS devices from total security failures due to improperly secured applications.  This is a GOOD thing!  Without sandboxing, a hacker could exploit a vulnerability in an app to gain access to the entire device.

I’m going to explain how I chose to maintain current functionality of viewing content in an InAppBrowser while still giving the user the option to share the content using default mechanisms.