8,252 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
2
answers
101
views
Where is the SharedPreferences file located for a Flutter app on Android and iOS?
I’m using the shared_preferences package in my Flutter app, and I want to inspect the actual stored data on my device/emulator. However, I’m not sure where Flutter saves the SharedPreferences file on ...
-1
votes
2
answers
112
views
Flutter fail to build when shared preferences added
I just added shared preferences to my flutter project as a storage for login and registering and etc.
when i want to build the app, it gives me this error:
* What went wrong:
Execution failed for task ...
2
votes
0
answers
171
views
Flutter app stuck when SharedPreferences.getInstance() called
I updated my Flutter app to compile with Google Plays 16KB page size policy. I have changed several packages versions. Now I am getting an Platform exception error and app is stuck on splash.
The ...
1
vote
1
answer
114
views
Missing Linux implementations for path_provider, shared_preferences, and url_launcher
After updating some Linux Mint 22.2 packages (I forget which packages) I no longer able to run my Flutter app correctly because of these errors:
Package path_provider:linux references ...
1
vote
0
answers
32
views
SharedPreference.edit().commit() on IO Dispatcher not being received by listeners
val sharedPreference = PreferenceManager.getDefaultPreference()
val scope = CoroutineScope(Dispatchers.IO)
scope.launch {
val editor = sharedPreference.edit()
editor.putString("stringKey&...
0
votes
0
answers
100
views
javax.crypto.IllegalBlockSizeException on App Launch – EncryptedSharedPreferences Fails with KeyStoreException: Signature/MAC verification failed
I'm facing a crash on app launch related to EncryptedSharedPreferences. The crash log shows:
Fatal Exception: java.lang.RuntimeException: Unable to create application com.app.customer.application....
0
votes
1
answer
273
views
Sharing of key-value pair via flutter_secure_storage package
I have 2 flutter apps (let's call them as App1 and App2) which I am running on Windows platform as well.
From App1, I am writing a key-value pair (Key: 'Key1', Value: 'Value1') using ...
-1
votes
1
answer
63
views
How to save data permanently when sending from one Android activity to another?
I am developing an Android app where I send data from one activity (MainActivity) to another (SecondActivity) using Intent extras. The data is displayed correctly when I open the second activity, but ...
0
votes
0
answers
47
views
What is the right way to update WallpaperService
I'm trying to set a video as a live wallpaper, with some user-configurable options such as changing the video path, wallpaper scaling type (Crop or Fit to Screen), and background color. The code below ...
user avatar
user7954210
1
vote
1
answer
66
views
kotlin sharedPreferences
In my old java app I had a dropdown from the action bar which presented a choice of adjusting the font size and the font type. This used the PreferenceFragment which has long been deprecated. I am ...
0
votes
1
answer
77
views
Why does my gson / json save/load implementation work on a API 35 Medium phone but wont work on a real phone or emulated real phone?
I have an app which saves a handful of lists for a to do list
In android studio, the data saves and loads fine on a "medium phone api 35" type emulator, the ones that are just archetypes of ...
0
votes
1
answer
91
views
Flutter Firebase Notification Issue: Article Opens Again After Restarting the App
I’m encountering an issue with Firebase Cloud Messaging (FCM) notifications in my Flutter app. Specifically, when opening an article from a notification, closing the app, and then reopening it ...
0
votes
0
answers
71
views
How Do I Persist Settings After App Update
I have an app on both the App Store (iOS - Swift) and Play Store (Android - Java). The app uses UserDefaults.standard for iOS and SharedPreferences for Android to store a few settings.
Both of these ...
0
votes
0
answers
189
views
getting this error dev.flutter.pigeon.shared_preferences_foundation.LegacyUserDefaultsApi.getAll
while trying to run my flutter app for IOS I am getting the above error.The app runs and installs but it's stuck in a white screen.
Could anyone suggest solution for this.
I am trying to run my app in ...
0
votes
0
answers
50
views
Flutter error: Could not determine the dependencies of task ':shared_preferences_android:compileDebugJavaWithJavac
I encountered an error while running my Flutter project when using the shared_preferences package. The error message is as follows: "Could not determine the dependencies of task ':...