After working for about 2 years on an iOS app using swift, my team and i is considering starting the development of the android version.
I had hopes in the "swift world domination" goal, but it seems that it's not there yet. So here's my question :
What are the various options people are actually using / recommanding today for porting an iOS app to android ?
I'm not considering porting the "UI" part of the app anyway (i think a good UI needs to be custom to a platform), so my concern is more about the business logic / data core of the app :
From my quick survey on the internet here are the options i personnaly see :
Try to compile it to ARM, and try to have the binary run over existing libraries / framework that exist on android. I have no idea how big of a task it is (how much of foundation actually runs on android ? i don't even know)
Use code generation project to automatically translate the maximum amount of swift code to kotlin automatically (such as gryphon), and "fill in" the missing parts.
Redevelop it using a cross platform tool (such as kotlin multiplatform, or go with gomobile), reusing the design, and use that version for android. The long term goal being to stop developing the core in swift at all.
Redevelop it using a language that really is aimed at maximum portability from the start, either because it's its goal (rust), or because it compiles to C, which runs everywhere (such as nim or haxe).
Redevelop everythiing in kotlin, and keep two completely separate codebases, sharing only design papers. That would be the last option, of course.
What's your advice ?