Category "sharedpreferences"

Flutter : Strange behavior of Shared Preferences

I have a problem with inconsistent shared preferences value. I will try to describe it as simple as possible. I'm using Firebase Cloud Messaging for push notifi

Modify xml shared_prefs file using adb

I am trying to interact with android app shared_prefs using adb. Let's use VLC for this example. The shared preferences are stored in: /data/data/org.videolan.v

SharePrefs not working for Android Spinner - behaviour very erratic

I have a spinner inside of a dialog box, which you can use to select a currency for my app. When you select a currency, it connects to an api from a currency si

How to save List<Object> to SharedPreferences in Flutter?

I have a list of favorite music, which I retrieve from music when the app is opened for the first time, the app gets a favorite music list from favorite. I want

How to save QR Scan details to listview using flutter?

I am currently building a QR Scanner App using flutter.  There I want to know how to scan a QR Code and save it permanently(using shared preferences) with

SharedPreferences in Flutter not persisting?

I'm trying to implement a "Remember Me" functionality by using SharedPreferences. Unfortunately, no matter what I do, it doesn't seem like the login details are

Flutter shared_preferences not persistent?

I have been using shared_preferences in flutter, was working fine until now. Suddenly it stopped working, both in iOS and Android. I debugged it step by step an

Flutter: How to use SharedPreferences synchronously?

I am using Shared Preferences in my Flutter app and what I would like to do is store SharedPreferences as a field on startup and then use it synchronously in th