Skip to content

[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 and onApplicationCreated for early and standard application setup. onActivityCreated to manage actions when activity created.
  • Platform-Specific Code: Utilized expect/actual to handle platform differences in Koin 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 and Firebase dependencies and integrate SceneDelegate for improved scene management.
  • Crashlytics: Updated Crashlytics setup
  • Core: Added ActivityContext and ApplicationContext 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 to AppDelegate.
  • DB: migrate from sqldelight to room

Merge request reports

Loading