kmm-production-sample
Retrofit
Our great sponsors
kmm-production-sample | Retrofit | |
---|---|---|
30 | 47 | |
1,937 | 42,613 | |
2.6% | 0.3% | |
6.1 | 9.1 | |
3 months ago | 12 days ago | |
Kotlin | HTML | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kmm-production-sample
-
Kotlin Multiplatform for Android and iOS Apps
Business logic is not only about backend. Apps usually have a lot of client-side logic that can be written once in KMM and used on both platforms. See [1] for a high level architecture diagram.
I'm an iOS dev and I've been using KMM on a couple of projects for more than a year now. It's really a powerfull technology which allows teams to move faster, but there are downsides, for example lack of native Swift interop, though there are opensource tools trying to solve this [2].
[1]: https://github.com/Kotlin/kmm-production-sample/tree/master#...
-
Can't pick a Mac for cross platform mobile development. Which one should I go with?
I'm an Android dev for 10+ years and I've decided to give a go with Kotlin Mobile Multiplatform to try iOS development as well. For that purpose I would need a Mac obviously, and Windows 11's flaws don't help either so I made my mind and I would like to pick a Mac as my next developer machine for the next 4-5 years.
- Compose Multiplatform template
-
what is the best way to use flutter to get an iOS app from my kotlin code ?
I don't use iOS, but https://kotlinlang.org/lp/mobile/ claims that using Kotlin works on iOS too. You still will need a Mac though, but that's pretty much a given if you want to develop iOS apps.
- React or flutter? What is good for future
-
Getting Started Guide for Kotlin Multiplatform Mobile (KMM) with Flexible Sync
Kotlin Multiplatform with Realm as a middle layer.
-
Migrating our Largest Mobile App to React Native
Kotlin Multiplatform. You write the UI fully native for each platform, but have all the business logic as shared code.
-
Flutter for an Electronic Health Record and medical equipment app
maybe people confused it with kotlin multiplatform mobile which indeed support ios but only the business logic. you have to write the ui in swiftui.
-
Kotlin Server Side, but without a JVM
I think the most compeling use for Kotlin Native is mobile. I wonder if it's possible to write a Kotlin multi-platform library that can then be used from the JVM, JS, iOS and Android? What would such library look like from the other languages? This is something I am trying to find out right now, and Kotlin Multiplatform seems to be the only sane choice to do this (but I am not sure yet that it's actually good/possible right now). Any more information about this would be appreciated.
-
Backend Java 19 vs Kotlin?
Kotlin isn't just JVM and Kotlin projects like this one for writing iOS+Android apps look quite promising: https://kotlinlang.org/lp/mobile/
Retrofit
-
Using Retrofit Interceptors to check network connection in Android and testing it
from this point on, I will assume, you have a basic understanding of Retrofit. To get the most out of this tutorial I would actually suggest you have a retrofit client already implemented in your application.
-
Lets make a Twitch Android app. Part 1. App access tokens
Now you might think that in order to make the request we are going to use Retrofit but in reality we are going to be sending out an implicit intent like so:
-
Using OAuth2.0 and Retrofit to talk to the GitHub api on Android
This particular blog post will be us building on the information from the previous blog post and using the authorization code from the GitHub OAuth API in combination with Retrofit. To finally get a access token, which allows us to make requests to the API on a behalf of a user.
-
Show HN: Turn Your APIs into Swift Protocols
Hey HN!
If you're a fan of Swift you may have noticed that with WWDC 2023 came the (beta) release of macros. They're super powerful and expressive!
I've been wishing Swift had a [Retrofit](https://square.github.io/retrofit/) style API definition library for years, and with macros it seemed like this was now possible.
I'd like to show you all Papyrus, a library that turns your APIs into type-safe Swift protocols.
Would love to get your feedback.
https://github.com/joshuawright11/papyrus
-
Looking for android java developer mentor
When it comes to consuming APIs I can definitely recommend Retrofit. Hopefully that's enough to get you started on where to look!
-
Akka-HTTP in android
For Android you should use a more mobile friendly framework like Retrofit or if you use Kotlin you can use the multi-platform Ktor library with it's client module
-
Google play closed testing
for example https://square.github.io/retrofit/ have mentioned it in at the bottom. Similarly there maybe other rules for other dependencies. Usually I search the missing classes error in google and find some proguard rule for it.
-
What stack to use for app with functionality like event calendar?
Retrofit in combination with OkHttp for fetching data from server (which hopefully already exists)
-
Connecting an API (Java Spring) to an Android application
The first get request is to retrieve a list of objects and the second one is to get a single one. You can read more about RetroFit here.
-
Moving from iOS development and I have a question about finding dependencies
So I've been playing around with search.maven.org and perhaps I'm not quite understanding it. For example, if I look for Retrofit I'm not seeing anything that resembles retrofit above https://central.sonatype.dev/search?q=Retrofit.
What are some alternatives?
Newsletter-Kmm - Newsletter with Kotlin Multiplatform
Feign - Feign makes writing java http clients easier
multiplatform-settings - A Kotlin Multiplatform library for saving simple key-value data
OkHttp - Square’s meticulous HTTP client for the JVM, Android, and GraalVM.
leakcanary - A memory leak detection library for Android.
Async Http Client - Asynchronous Http and WebSocket Client library for Java
TedImagePicker - TedImagePicker is simple/beautiful/smart image picker
unirest-java - Unirest in Java: Simplified, lightweight HTTP client library.
KaMPKit - KaMP Kit by Touchlab. A collection of code & tools designed to get your mobile team started quickly w/Kotlin Multiplatform
Android Volley
gamedge - An Android application for browsing video games and checking the latest gaming news from around the world.
Jersey - Eclipse Jersey Project - Read our Wiki: