Specifying Android SDK Version in Cordova
It all started when I stumbled upon a bug in the current version (0.1.24) of cordova-plugin-firebase. Fortunately, there's already a fix for it in the Git repository. However, there are also other...
View ArticleCustomizing Android Manifest in Cordova
Cordova has well documented support for modifying the contents of AndroidManifest.xml file from a plugin by adding config-file and edit-config elements to its plugin.xml file. It's less obvious that...
View ArticleDetecting Where Ionic App is Running
Ionic framework (as well as Cordova, which it is based on) do a great job at abstracting away the details about the platform that the application is currently running on. There are ways to get that...
View ArticleDetecting Where Ionic App is Running
Ionic framework (as well as Cordova, which it is based on) do a great job at abstracting away the details about the platform that the application is currently running on. There are ways to get that...
View ArticleFree Hiking Maps for Garmin GPS Devices
For several years now Garmin Oregon 600 has been my trusty companion when I go hiking or geocaching. To take full advantage of it, you also need good topographic maps for your region. You can buy them...
View ArticlePart 2 of My Visual Studio Course Available
At the end of November the second part of my Visual Studio video course was published. With that, all of the materials which I was recording during summer and early autumn are finally available for...
View ArticleModifying Cordova config.xml at Build Time
Cordova config.xml file contains some information that might be different between the test and the production builds of your application, e.g. preference values or even the application id. This could...
View ArticleIonic Serve for Applications with Native Plugins
Ionic serve can be a very useful tool for tweaking the design of pages in Ionic applications, as long as you keep in mind that the web view on the phone might render the page differently and you still...
View ArticleLearning Kotlin with Advent of Code 2017
It's December again and for the third year in a row I've spent a significant amount of time solving Advent of Code programming challenges. To make it even more interesting, I decided to write the...
View ArticleReplacing Deprecated getRootNav Call in Ionic
Ionic 3.5 introduced the concept of multiple root navigation elements to fully support SplitPane, for example. This required API changes, among others making App.getRootNav() function deprecated:...
View ArticleIssues with Patched Observable Operators
RxJS used to encourage monkey patching of operators and helper functions onto the Observable object: import { Observable } from 'rxjs/Observable'; import 'rxjs/add/observable/range'; import...
View ArticleSharing Console Log from Ionic Apps
Logging to browser console can be a useful tool for troubleshooting Ionic applications during development. Although all the logging is still done in test builds, the process of getting the log from the...
View ArticleDismissAll Might Not Close All Loading Indicators
There are two functions for dismissing a loading indicator instance in Ionic: dismiss and dismissAll. The former will only close the specific instance, while the latter will close all currently opened...
View ArticleShowing a Part of Next Ionic Slide
Slides is a highly configurable Ionic component, even without accessing the underlying Swiper API directly. In this post I will make it show a small part of the neighboring slide on both sides. Let's...
View ArticleFlexbox Relative Height Issue in iOS 10
CSS Flexible Box Layout (or Flexbox for short) greatly simplifies many HTML layout scenarios. Although it is already broadly supported in browsers, sometimes incomplete implementations can still make...
View ArticleVariable Number of Arguments in TypeScript
JavaScript has always supported functions with variable number of arguments, although the syntax required some getting used to. In TypeScript and ECMAScript 6 rest parameters and spread syntax provide...
View ArticleCreating a Web Component in Stencil
Stencil is a new lightweight framework for creating web components from the authors of Ionic. It's going to form the basis of components in Ionic 4, which will make them framework agnostic and hence...
View ArticleWeb Component Component for Hippo CMS
As a part of getting acquainted with Hippo CMS I took on the task of creating a custom Hippo component for including a Stencil web component in a portal page using the CMS editor. I based my work on a...
View ArticleLinking a Document to a Hippo Component
Most built-in components in Hippo CMS have a link to one or more documents as they are designed to render the CMS content documents. Sooner or later you'll want to achieve that with your own custom...
View ArticleCreating HTML Comments in Angular
Although comments in HTML markup usually don't play an important role (they are comments after all), they could have a meaning for parsers which post-process the HTML document. When I recently...
View Article