CategoryKotlin

Building an App with Kotlin Multiplatform: Building our Authentication module

B

In the last post we outlined the foundations for how our kotlin multiplatform project is going to be structured. With this in mind, we’re going to start building the next part of our project – here we’ll start with the remote layer of our application. You may recall seeing how we had each API responsibility separated into an individual module – whilst this may not suit...

Building an App with Kotlin Multiplatform: Structuring our app

B

Over the past few months I’ve been seeing more and more talk of Kotlin multiplatform online. With this rise in conversations on the topic, I naturally became more and more curious about the technology. I recently started planning out one of my next side-projects, Minimise – the app to help us think more about the purchases we are making and rediscover things that we already own. I...

Exploring GraphQL with Coroutines on Android

E

In a recent article of mine we took a look at how we could implement OAuth flows in Android with the use of Custom Tabs . This was done using the Product Hunt API and now that we authenticated users within our client, we can go ahead and interact with the rest of the API. The authentication flow for Product Hunt is operated as a REST API – when it comes to the rest of the API though, this...

Using Firebase on Android with Kotlin Coroutines

U

Whilst recently working on a side project I ran into a situation where I needed to make use of the Android Firebase SDKs. This project of mine uses Kotlin Coroutines for all of the asynchronous task handling, so ideally I wanted to keep any Firebase calls to use the same approach – not only so that the callbacks would be both consistant but also so that they would tie in with the current...

Performing OAuth on Android with Custom Tabs

P

Whether we’re building third-party clients for existing API services, or working on our own product that communicates with our own API, it’s likely that we might be working with authentication that uses a form of OAuth. This standard of authentication approach is something that we’re bound to use at some point in our careers, but can often feel a bit tedious to implement in our...