-
- All Implemented Interfaces:
-
com.appstack.attribution.StorageProvider
public final class SharedPrefsStorage implements StorageProvider
Thread-safe StorageProvider implementation backed by Android's android.content.SharedPreferences.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSharedPrefsStorage.Companion
-
Constructor Summary
Constructors Constructor Description SharedPrefsStorage(Context context, String prefsName)
-
Method Summary
-
-
Method Detail
-
putStringSync
Unit putStringSync(String key, String value)
Persist a value synchronously so it survives process kill (e.g. close app before async putString has flushed). Use for critical keys like install-sent flag.
-
-
-
-