CorePrefsAndroidModule
Koin module providing Android DataStore instances for each preference domain.
Each DataStore is a singleton backed by its own CoroutineScope using the injected CoroutineDispatchers.io dispatcher, and includes a SharedPreferencesMigration to migrate legacy SharedPreferences data on first access.
Functions
Link copied to clipboard
fun provideAnalyticsDataStore(context: Context, dispatchers: CoroutineDispatchers): DataStore<Preferences>
Link copied to clipboard
fun provideAppDataStore(context: Context, dispatchers: CoroutineDispatchers): DataStore<Preferences>
Link copied to clipboard
fun provideCustomEmojiDataStore(context: Context, dispatchers: CoroutineDispatchers): DataStore<Preferences>
Link copied to clipboard
fun provideFilterDataStore(context: Context, dispatchers: CoroutineDispatchers): DataStore<Preferences>
Link copied to clipboard
fun provideHomoglyphEncodingDataStore(context: Context, dispatchers: CoroutineDispatchers): DataStore<Preferences>
Link copied to clipboard
fun provideMapConsentDataStore(context: Context, dispatchers: CoroutineDispatchers): DataStore<Preferences>
Link copied to clipboard
fun provideMapDataStore(context: Context, dispatchers: CoroutineDispatchers): DataStore<Preferences>
Link copied to clipboard
fun provideMapTileProviderDataStore(context: Context, dispatchers: CoroutineDispatchers): DataStore<Preferences>
Link copied to clipboard
fun provideMeshDataStore(context: Context, dispatchers: CoroutineDispatchers): DataStore<Preferences>
Link copied to clipboard
fun provideMeshLogDataStore(context: Context, dispatchers: CoroutineDispatchers): DataStore<Preferences>
Link copied to clipboard
fun provideRadioDataStore(context: Context, dispatchers: CoroutineDispatchers): DataStore<Preferences>
Link copied to clipboard