-
I was seeing some occasional weirdness in my app after migrating over to Harmony. It looks like onSharedPreferenceChanged() does not fire in another process if that process happens to be committing at…
-
```
SharedPreferences _preferences = await SharedPreferences.getInstance();
```
This code simply fails with an error if config file is broken. Maybe it's good to clear preferences file if it con…
-
-
https://developer.android.com/topic/libraries/architecture/datastore
[Settings](https://developer.android.com/develop/ui/views/components/settings/use-saved-values#custom-data-store)
-
https://github.com/kiwibrowser/src.next/blob/kiwi/chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/settings/DownloadSettings.java
This has full implementation of how to s…
-
I've keep counting user's steps as using flutter packages `flutter_background_service`, `flutter_background_service_android` and `flutter_local_notifications`.
I write all codes in class `StepNotif…
-
Based on discussion in https://github.com/flutter/flutter/issues/153293 there is a thorny use case we didn't consider in switching the backend from `SharedPreferences` to `DataStore` on Android: some …
-
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:ess_application/appservices_lib.dart';
import 'package:ess_core/esscore_lib.dart';
import 'package:flutter_local_noti…
-
Using the ktfmt IntelliJ plugin 1.1.0.47 in Android Studio, setting "Code style" to "Google (internal)"
1. The following code with a single parameter will get the trailing comma removed.
```
…
-
The library currently uses a kotlin version of a Builder implementation, but moving it to SharedPreferences would clean up access in the library itself.
Ref [here](https://developer.android.com/kot…