↓ Skip to Main Content

PatrickJackson.dev

Main Navigation

  • Home
  • About Me

Publishing Multiplatform Kotlin Libraries

By patjackson52 Posted on October 26, 2020 Posted in kotlin-multiplatform Tagged with kotlin-multiplatform, maven
Publishing Multiplatform Kotlin Libraries

Publishing artifacts for multiplatform Kotlin is a bit more complicated than a JVM project. If you are supporting all of Kotlin’s platforms, then need at least 3 build environments: linux, mac, and windows. Luckily there are easy and free options …

Publishing Multiplatform Kotlin Libraries Read more »

Certificate Pinning for Mobile Devs

By patjackson52 Posted on August 21, 2020 Posted in Android, iOS, mobile, security Tagged with security

Why? Pinning is needed to protect data going from your app to your backend. Without certificate pinning your users traffic may be intercepted by a Man-in-the-middle attack (MITM). Even if you are using SSL connections (which everyone should be doing …

Certificate Pinning for Mobile Devs Read more »

Redux on Multithreaded Platforms

By patjackson52 Posted on June 13, 2020 Posted in redux Tagged with kotlin-multiplatform, redux, reduxkotlin
Redux on Multithreaded Platforms
Shared state, Redux, and concurrency

Writing code with Redux for web really doesn’t require consideration of threading and concurrent modification of variables. Given Javascript is single threaded its just not an issue. Working in JVM or Native suddenly presents a new set of challenges. Concurrent …

Redux on Multithreaded Platforms Read more »

Kadane’s Algorithm

By patjackson52 Posted on February 18, 2020 Posted in Computer Science Tagged with algorithms, daily-coding, kotlin

Computer science history is all about building upon the work that came before us – “standing on the shoulders of giants” as it goes. Kadane’s Algorithm is no exception. And in this case it took fresh eyes just one minute …

Kadane’s Algorithm Read more »

‘Unsupported Kotlin Plugin version’ – Android Studio

By patjackson52 Posted on February 5, 2020 Posted in Android Tagged with android, android studio, gradle

If you run into this in Android Studio, you may need a gradle update. I’ve ran into this while using Gradle v5.6.2 and Kotlin v1.3.61. I was also using the kotlin-dsl plugin for build.gradle . Apparently the kotlin-dsl plugin uses …

‘Unsupported Kotlin Plugin version’ – Android Studio Read more »

Multiplatform: Apple AppStore Thoughts

By patjackson52 Posted on January 25, 2020 Posted in opinion Tagged with ios, kotlin, kotlin-multiplatform

Apple has always valued great user experience. Its App store is guarded by App store reviews with the authority to reject anything that does not meet its standards. This must be considered when selecting a multiplatform solution. Jobs himself was …

Multiplatform: Apple AppStore Thoughts Read more »

Coroutine Delay

By patjackson52 Posted on December 3, 2019 Posted in kotlin-multiplatform Tagged with android, ios, kotlin-multiplatform
Coroutine Delay

A common pattern is to delay execution of some code for a given amount of time. In Android and iOS there are several ways to do, such as the above snippet. How can we pull this into shared Kotlin Multiplatform …

Coroutine Delay Read more »

ReduxKotlin.org

By patjackson52 Posted on November 30, 2019 Posted in redux, reduxkotlin Tagged with android, ios, kotlin-multiplatform, redux, reduxkotlin

Earlier this year I began work on ReduxKotlin.org – a port of the Javascript library Redux. This series of posts will describe the what, why, how, and the vision of Redux in the Kotlin ecosystem. Also, I gave a talk …

ReduxKotlin.org Read more »

Html in TextViews

By patjackson52 Posted on November 9, 2019 Posted in Android Tagged with android, ui
Html in TextViews

Using HTML in TextViews can be helpful for formatting, especially when displaying content retrieved from a server. For optimal layout and control a custom native layout – either XML or programmatic is preferred, however using HTML in a TextView can …

Html in TextViews Read more »

Android Essentials: <merge> tag

By patjackson52 Posted on October 20, 2019 Posted in Android Tagged with android

When inflating a layout from XML for a custom view or in an <include> tag in a xml layout, the <merge> tag is essential. The merge tag does exactly that – it merges its contents into the parent layout. This …

Android Essentials: <merge> tag Read more »

Posts pagination

1 2 Next
Copyright © 2025 PatrickJackson.dev | Powered by Responsive Theme