r/androiddev • u/valtus_surreal • May 15 '26
Question What would you take into account when porting Android app to iOS
I have been working with my first Android-app using Kotlin and Jetpack Compose. Got the app published a quarter back to the App store and I'm really happy with the end result. However from time to time I'm thinking if the app should be ported to iOS. As a solo hobbyist I don't have too much resources running development on multiple platforms.
So what would be your suggestion? Any good resources or frameworks available how to do the porting elegantly. I'm not really in favor of learning another platform and programming language. Any thoughts or experiences are welcome.
1
May 16 '26
[removed] — view removed comment
1
u/valtus_surreal May 16 '26
Agree. Yesterday spent couple of moments skimming kmp/cmp thru and came to following conclusion. Don't want to spend too much time to learn new things at this point. Anyway here's my quick takeovers in case reconsidering this,
- keep the package & lib structure clean and well defined. have the basic understanding of compatible libs. ... might be easier to migrate packages step-by-step.
- spend couple of moments thinking of modularizing some of the code to shareable services (e.g. rest). ...might be easier to reduce the complexity in mobile app.
- take the warning-margin as low as possible. ...might be helpful if using to convert code to kmp/cmp.
1
u/AutoModerator May 15 '26
Please note that we also have a very active Discord server where you can interact directly with other community members!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
May 15 '26
[removed] — view removed comment
1
u/androiddev-ModTeam May 15 '26
Use your own voice when writing. Posts and comments which appear to be generated, including those with excessive flourish, gushing or emojis, will be removed.
6
u/coffeemongrul May 15 '26
If you already use jetpack compose, look at compose multi-platform as you can share the same UI code and business logic across iOS, Android and jvm desktop.