facebook / flipper

A desktop debugging platform for mobile developers.
https://fbflipper.com/
MIT License
13.35k stars 955 forks source link

Discussion: Add support for DataStore (shared preferences replacement) #2407

Open bizzguy opened 3 years ago

bizzguy commented 3 years ago

Android has introduced a replacement for Shared Preferences called DataStore

 https://developer.android.com/topic/libraries/architecture/datastore

Just asking if there are any plans on the roadmap to create a plugin for DataStore?

bizzguy commented 3 years ago

Some thoughts. I started looking at the DataStore API and there seem to be some deficiencies in "discovery" of DataStores and in interrogating a DataStore for its preference values and types.

Given that it is still in beta, I don't think I'd actually use DataStore on a production project yet. Here is the history of the library versions:

2021-06-08_11-03-13

I'm going to continue to experiment with it but creating a plugin may be a little premature.

Is anybody (that uses Flipper) actually using DataStore yet?

Also, just thinking ahead. Seems like the current "Shared Preference Viewer" desktop plugin could be the first version of a DataSource Viewer. Thoughts?

Update: Shared Preference Viewer does not use DataTable which might actually be a better UI experience to fix that first.

mweststrate commented 3 years ago

Thanks for the updates! Yeah agreed that using the same plugin makes sense!

b95505017 commented 3 years ago

+1 Flipper + DataStore

stale[bot] commented 2 years ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

batuypn commented 2 years ago

+1 DataStore support on Flipper

furusin commented 2 years ago

+1 Flipper + DataStore

mweststrate commented 2 years ago

Flipper is very pluggable, so pull requests welcome! https://fbflipper.com/docs/tutorial/intro/.

Please avoid posting +1's, use thumbs up instead.

roomedia commented 2 years ago

Hi there, I just opened Pull Request(https://github.com/facebook/flipper/pull/4243)

Please check it out @mweststrate

ritesh-singh commented 1 year ago

Any plans on merging the opened PR ?

sudansh commented 1 year ago

@mweststrate could we please get the above PR reviewed and merged.

mwshubham commented 10 months ago

2024 started. Would be more helpful now.