You are not limited to a specific architecture. If you are developing for front end (iOS, Android, browser, etc)
You go and develop your code in MVVM, MVI, Clean Architecture, etc.
If you are also including a backend as well like (jvm) you can a shared modules where your put your shared logic between front end and back end. Example on this is API requests and response models, models, validation (email or password policy validation, etc)
You can also check module architecture and libraries based development where each component is a different lib and you use them into our targets.