Open HenryQuan opened 1 year ago
This approach could be beneficial even in the long run. I may discuss the reason in a future post. In short, Flutter is great or even the best cross-platform framework, but it isn't developer native to anything except for web. Kotlin isn't as great, but it is at least 100% developer native to Android, JVM systems and even iOS. The thing is I can still keep my React Native app and get some shared code from Kotlin/JS, but I have to experiment with this one first to see if it is actually feasible. Too many refactors, maybe this is the final final one.
See https://github.com/wowsinfo/wowsinfo-core/issues/3 for the attempt to use Kotlin code in React Native.
If I can update https://github.com/wowsinfo/community-assistant and manage to clean up things manually, I can potentially share some features with it. For the starter, I can add the missing clan features by sharing my usecase. The UI can also be shared, but it has quite different UI, so I will probably just implement the other way. This is great moving ahead having two Android apps for players to select while sharing similar features.
This repository will become the shared core between the desktop and the mobile app using Kotlin Multiplatform. Currently, the app is written using React Native, slowly I will move back to Native like before. The desktop app will use Compose UI with Kotlin mainly focusing on real time battle info. It may also include some Wiki and player but they will be cut down for users to download the app.
What can be shared:
Currently the project is separated into subprojects:
This project is still undergoing...