Quantcast
Channel: Damir's Corner
Browsing all 484 articles
Browse latest View live
↧

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 Article


Customizing 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 Article


Detecting 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 Article

Detecting 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 Article

Image may be NSFW.
Clik here to view.

Free 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 Article


Image may be NSFW.
Clik here to view.

Part 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 Article

Modifying 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 Article

Ionic 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 Article


Learning 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 Article


Replacing 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 Article

Issues 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 Article

Sharing 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 Article

DismissAll 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 Article


Image may be NSFW.
Clik here to view.

Showing 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 Article

Image may be NSFW.
Clik here to view.

Flexbox 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 Article


Variable 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 Article

Creating 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 Article


Image may be NSFW.
Clik here to view.

Web 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 Article

Image may be NSFW.
Clik here to view.

Linking 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 Article

Creating 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
Browsing all 484 articles
Browse latest View live