Skip to main content

Blogs

2022

Test React app on mobile without Wi-Fi
·1 min
React Offline Tips
Traveling by train or plane and want to test your react app on your mobile phone? This quick post explains how to access your react development server from your phone without a Wi-Fi connection.
The curious case of crashing Workers
·3 mins
Workmanager Crash
WorkManager is great to schedule background work on Android. However, since scheduled work lives outside of the app lifecycle, you might run into unexpected crashes.
No, your pull request does not need a review
·5 mins
Pull Request Code Review Process Team
In the past years, my thoughts on pull request reviews have evolved considerably. Given that creating and reviewing pull requests are a core part of our work, let’s talk about those.

2021

Migrate existing library artifacts from JCenter to Maven Central
·8 mins
Script Migrate Jcenter MavenCentral Maven
With JCenter shutting down, many are migrating to Maven Central. And while there are many posts on how to publish new artifacts, also all existing artifacts should be migrated away from JCenter.
Share code between Android and Jvm in Kotlin multiplatform
·3 mins
Android Kotlin Multiplatform Code Sharing Gradle
While Android supports most Java language features, it doesn’t support every API that Java provides. On the other hand, Kotlin multiplatform only allows sharing code across all targets (commonMain), not a subset of targets (commonJvm).
Migrating away from JCenter
·5 mins
Android Library Maven Jcenter Bintray Transitive Dependencies Gradle
This week JFrog - out of nowhere - announced to completely remove their Maven repository. Since they’ll pull it offline already by May 2021 (!!!) it’s time to urgently migrate away.
Year in review 2020
·3 mins
Review
Well… I don’t really know where to start this time. 2020 was quite the rollercoaster, with many downs… but fortunately also a few amazing ups. Let’s focus on the good stuff.

2020

Test library releases using an in project Maven repository
·3 mins
Android Library Maven Transitive Dependencies Gradle Kotlin
Short, powerful post on how to test the release version of libraries directly within a project without having to deploy them to Maven first. As a bonus, there will also be an open-source example showcasing all of this in action.
Android library development - Dependencies
·9 mins
Android Library Maven Transitive Dependencies Gradle Kotlin
Ever had a build failure while integrating an SDK? Wonder how you can avoid your SDK customers having dependency conflicts? How many transitive dependencies should your SDK have?
Android library development - Modularization
·6 mins
Android Library Modularization Maven Gradle Kotlin
With modularization being all the hype, should you also modularize an SDK? Are fat aar files really needed? And how do you prevent internal APIs from being exposed on your public interface?