-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add / remove/clear from shared prefs #98
Labels
feature request
New feature or request
Comments
I need to confirm these even work. I've not seen much documentation on them |
A good first step might be to list all shared pref files, and then optionally list their content.
|
none of these |
6 tasks
I'm getting a bug today:
Likely because device/ emulator wasn't fully booted. I should add a "is fully booted" check first |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add a value to default shared preferences.
adb shell 'am broadcast -a org.example.app.sp.PUT --es key key_name --es value "hello world!"'
Remove a value to default shared preferences.
adb shell 'am broadcast -a org.example.app.sp.REMOVE --es key key_name'
Clear all default shared preferences.
adb shell 'am broadcast -a org.example.app.sp.CLEAR --es key key_name'
The text was updated successfully, but these errors were encountered: