the flow application handles by coordinator pattern.
At the first, App runs and fetch data from the service. after that All data can cache on the mongodb. I use realm-MongoDB for caching data.
Based on the clean architecture
Kiliaro
-------> Application // UI elements and pages
-------> APIPlaform // Platform Layer
-------> DBPlatform // Platform Layer
-------> RepositoryPlatform // Platform Layer
-------> Domain // Domain Layer include use cases and entites