Category "sharedpreferences"

How to update Rcyclerview after removing an Item from shared preferences

I have a few recyclerview in different activities and all of their items specified by sharedpreferences but after removing an item from sharedpreferences the re

MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences) while getting FCM in background

I'm working on a Flutter app in which I'm using the shared_preferences: ^2.0.13 package. Flutter version : 2.10.1 (latest) gradle version: 6.7 Android gradle

How to save the selection of a spinner in a dialog box

I have a dialog box with a spinner in it. So far, I have managed to code the spinner so that it saves the last known selection whenever I open up the dialog box

Json decode Instance of Item

I'm trying to save a list of object into a shared preference for easy storage. I'm getting the error [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exce

What happens to Sharedpreferences/AndroidKeyStore/AccountManager when user choose to copy apps and data from your old device

When a user grabs a new phone, and has an existing phone and wishes to migrate apps and data to the new phone. What exactly happens with the SharedPreferences/A

android SharedPreferences order/sort by field

i am retrieving all SharedPreferences inside my app like this: getCollection() async { SharedPreferences prefs = await SharedPreferences.getInstance();

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