Open augustweinbren opened 3 years ago
Thanks August, I'm very new with Flutter, but with any thing that you need I could help.
Hi @augustweinbren, Google also launched other alternative:
Maybe is a possibility
Sorry for the delay. I am starting to work on this now.
Okay, it looks like the conversion of Java code to Kotlin is simpler than the conversion to Flutter, so I think I will take that approach.
thanks @augustweinbren. If you want I could try to explain the code in a meeting, my english is bad, but I think so that maybe help us. For other side I'm working on extend the documentation here. For now I have not any documentation of code but the idea is work on that.
Hi @hpsaturn, yes meeting to discuss the current code sounds good. I have sent you an email.
Hi @augustweinbren sorry for the delay, I had a lot of work, and also this week and the next I'm going to vacation, in two weeks I could make this meeting. Meanwhile I try to leave a class diagram of the Android app architecture to try to advance on this idea. Thanks
@hpsaturn Ok great, the week of August 9th works for me. Thanks!
Hi @hpsaturn I have had a look into migrating Java code to Kotlin, and it does not seem too difficult; the Kotlin plugin for IntelliJ can translate the code automatically.
Do you think it would be best to port this code base from Java to Kotlin as a pull request on this repository, or to create a new repository (say canairio_multiplatform)?
Creating a new repository sounds a little better to me, but the one concern I have is about the functionality/UI of canairio_android and canairio_multiplatform diverging.
@augustweinbren so sorry for don't re-planning the meeting with you. About your questions, I think that is better a Pull Request here, because for community reason, commits history, and contributions of others and me, the repository should be here. For other side, if the new branch is stable and works fine, I think that we should have not problems in the future making a merge. What do you think?
@hpsaturn That sounds good! I will make a pull request on master when I have converted the code to be shared between apps to Kotlin.
Thanks again, if you maybe need a pair programing session or maybe do you have any question, please let me know
I've done a bit more research, and it looks actually like using Multi-OS-Engine would be the most straightforward approach to creating an iOS app from an already-developed Android app (i.e. it does not require porting code from Java to Kotlin). I have transferred the Models folder in the app
module to a commons
module and will next work on transferring the API folder.
wow, it sounds really good. If you need maybe resolve some questions or more explanation from my undocumented code, please let me know
Summary In order to aid eventual development of an iOS equivalent app, it would be useful to incrementally port the Android UI to Flutter. This issue will be updated as PRs are planned and submitted.