[ms-1] Full refactor.
The changes introduce a new application structure for improved organization and cross-platform development. Key changes include:
- Koin Integration: Replaced custom dependency injection with Koin for managing dependencies, including platform-specific modules.
-
Application Entry Points: Introduced
onApplicationBeforeCreated
andonApplicationCreated
for early and standard application setup.onActivityCreated
to manage actions when activity created. -
Platform-Specific Code: Utilized
expect
/actual
to handle platform differences inKoin
setup, application context, and activity context. -
MapKit Initialization: Moved MapKit initialization to a dedicated
initializeMapKit
function, centralizing its setup. - MVI StoreFactory: Configured MVI StoreFactory for logging and default behavior.
-
Podfile and Xcode Project: Updated Podfile and Xcode project files to include
YandexMapsMobile
andFirebase
dependencies and integrateSceneDelegate
for improved scene management. -
Crashlytics: Updated
Crashlytics
setup -
Core: Added
ActivityContext
andApplicationContext
for better managing platform contexts. - Cleanup: Deleted old files that were replaced with new structure.
-
BuildConfig: Improved
BuildConfig
to manage build and environment-specific settings. -
Info: Improved
Info.plist
file. -
AppDelegate: Added
Firebase
setup toAppDelegate
. - DB: migrate from sqldelight to room
Edited by Ненашкин Владимир Денисович