google / modernstorage

ModernStorage is a group of libraries that provide an abstraction layer over storage on Android to simplify its interactions
https://google.github.io/modernstorage/
Apache License 2.0
1.24k stars 60 forks source link

Emulate IS_PENDING flag from API 21+ #36

Closed yrezgui closed 2 years ago

yrezgui commented 3 years ago

The IS_PENDING flag allows a file to not be visible to others applications until it has been processed like when you're still saving its content (see documentation).

The flag is only available from API 29+ but could possible be emulated on previous Android versions by following this scenario:

yrezgui commented 2 years ago

We should think of possibilities with the new storage but closing this issue as it's related to the deprecated mediastore module