r/androidapps • u/stereomatch • Nov 05 '19
DEV User access to files created by apps taking a sharp turn with Android 10
Starting with Android 10, files created by audio recorder apps and other such apps will no longer be visible to users.
EDIT: I think the app has to target Android 10 - which all apps will eventually have to - just as all apps have to now target Android Pie and above. So for now the apps which are targeting up to Android Pie DO continue to save to local storage (and the storage IS visible in the Files app). But with later versions, the visibility of these files will be restricted.
This is a feature of Android 10 that does not get top billing, when features are being discussed by reviewers.
In addition, the files that an app creates - the important audio files you created with your audio recorder app, for instance - could be deleted if you uninstall the app by mistake.
Those apps which used a complicated method to bypass this restriction (using an alternate and incomplete API called Storage Access Framework) were able to provide persistent storage - this SAF API was used by many file manager apps, for example.
However, going forward, it seems even file manager apps will need whitelisting - as examined in the post below.
It seems the era of open access to your files is going away faster than expected with Android - the changes are designed to favor Google cloud storage (however if you are recording audio in the wild without internet access, and happen to uninstall the app by mistake, you may lose your recordings). Your data is no longer yours.
The Google video direct link:
ADDED:
at the 9:20 minute mark:
The next big change we are making is we're adding a special app access permission
this is specifically for apps that can demonstrate a need for broad access to shared storage
and these will be whitelisted by Google Play
we're also taking this a step further and protecting those external app directories
and making sure that users can't select those directories with the Storage Access Framework APIs
4
u/raybb Nov 05 '19
Wow.... I was wondering where the audio files were stored for the new Sound Recorder app from Google.
2
u/stereomatch Nov 05 '19
Run the built-in Files app - on top-right click the 3-dot button - then turn on "Show internal storage". Can you now see more files than before - this should show the recording folder for most older audio recorder apps.
However the Google sound recorder app may be using it's app-specific folder - if it does, then you will not be able to see it using the Files app. In addition, the app-specific folder is deleted if you uninstall the app (or do a Clear Data).
If you don't have too many files, you may want to experiment by doing a Clear Data on the Google sound recorder app (or if you can uninstall and then reinstall it if that is possible). Do your old recordings appear again, or do they go away ?
1
u/geekdad4L Nov 05 '19
Can you tell me if Total Commander and FolderSync can browse local folders in 10?
2
u/stereomatch Nov 05 '19
They should - but once they update app to target to Android 10 (which now annually apps have to do eventually - like for Pie now), then I am not sure - also beyond Android 10 it looks to be getting worse - see video for details.
56
u/Tyler1492 Nov 05 '19
Suddenly, I don't feel bad about not getting Android 10 anymore.
I find it really annoying that Google continues to approximate Android to iOS by taking away the things that made Android preferable without providing iOS's advantages.
11
u/diet-Coke-or-kill-me Nov 06 '19
I don't keep up with news about android itself, but I find this news highly disturbing, as the thing that drove me insane about iOS (during my few encounters with it) was the lack of access to the files themselves.
What are some these other things Android has taken away recently?
26
u/SirChasm Nov 05 '19
IOS just basically needs to loosen up its default apps abilities, and improve the homescreen customization, and there will be literally nothing left that will keep me on Android, as Apple's hardware, camera, and support is generally better than with Google.
I dunno if maybe I'm a tiny minority, but from my POV, the closer Android is to IOS, the less inclined I will be to stay with Android...
0
Nov 05 '19
[deleted]
4
Nov 05 '19
Unless your bootloader is locked (Samsung Galaxy), or your phone doesn't have a large enough support community to try rooting it..
The removal of features from Android the last couple years is honestly pushing me more to look at iOS and iPhone 11, and I've had Android phones for the last 10 years.
22
u/formerfatboys Nov 05 '19
This is what makes using an iPhone so awful. No ability to use your own files.
-8
u/onometre Nov 06 '19
You can absolutely use your own files lol
5
u/formerfatboys Nov 06 '19
I haven't had an iPhone since the 7 but it was absolutely obnoxious.
Wanna load a video onto your phone? Load up iTunes. As the video to the app and then only that app can access it. What a fucking nightmare.
Three only way it should ever work is that your files exist in folders and any all you want can go to that folder and use them.
Hopefully Samsung overrules Google on this and figures out a workaround.
6
u/z-vet Nov 05 '19
Good reason to ditch Google. The problem is, it will not affect them: the coward is dumb and will eat any shit they feed them.
10
u/LeGensu Nov 05 '19
What's the alternative? Apple? Even worse
8
u/stereomatch Nov 05 '19
Android is trying to recreate the Apple success with cloud storage.
The difference is iOS from the start started with that constrained model, while Google is trying to retrofit automatic into a manual car, with a user base which picked the manual car for that feature.
So it is politically hazardous, as it betrays the roadmap that (some segment of) users have in their head for android.
But more dangerously, it is not a trivial change - android apps started off with a clear unix-like perception of storage/file system. That is being polluted by a hodge podge of annual changes in android that is a political/strategic move within Google to get as fast as possible to reduce user reliance on local storage, and thus force them to the cloud.
With established code bases on android that use standard java and C code interfaces to the file io, this is a radical departure. SAF for instance is a non-standard file access api they were pushing, but it now seems even that will have caveats (whitelisting).
2
u/ozwislon Nov 06 '19
Agreed. iCloud storage is a clusterfuck tho, especially post-iOS13... I guess we Android users have that to look forward to, eventually. It sucks especially more for those in countries who have constrained internet data plans, which will eventually need to store their data in Google's cloud instead of the local device because they have no way not to.
5
u/z-vet Nov 05 '19
Custom ROM without Google. And don't pay for their cloud.
2
u/stereomatch Nov 05 '19
The problem with that is that from the developer point of view, there is no visibility into what to expect from device capability point of view. Already there is heavy fragmentation even within the approved devices. Custom ROMs add to that.
When a feature cannot be guaranteed across devices (and there are thousands of variants - compared to handful with iOS), a developer will not implement that feature, or will try to avoid it.
3
u/billFoldDog Nov 05 '19
I'll do that for a while. In a year or two, app support for android 9 will start to fail. Not sure what comes after that.
Hopefully the custom Android community will be able to maintain a fork that puts the sauce back in the spaghetti.
2
u/z-vet Nov 05 '19
Yep. I think about getting a Linux-compatible tablet for Internet and a babushka-phone for calls.
2
Nov 05 '19
A Kai OS or other feature phone could provide some smart functionality. A linux compatible tablet could also be a Windows tablet, ie Surface.
2
u/billFoldDog Nov 05 '19
I'm using the surface pro 3 with Linux right now. The only issue I see is a shortage of battery life. 5 hours ain't gonna cut it.
This is a problem fairly far in the future, though. Hopefully we'll have Librem5 or something by then.
1
8
u/FrankenFood Nov 05 '19
I think this is a good time to mention the alternatives to using android:
https://www.replicant.us/ Replicant - Replicant is a fully free Android distribution running on several devices,
a free software mobile operating system putting the emphasis on freedom and privacy/security
https://www.postmarketos.org/ - postmarketOS (pmOS for short) is a touch-optimized, pre-configured Alpine Linux ( https://alpinelinux.org/ ) with its own packages, which can be installed on [many different] smartphones.
The idea is to enable a 10-year life cycle for smartphones. You probably already know that, after a few years, Android and iOS stop providing updates for older smartphones. At the same time, you can run Linux on older computers (https://itsfoss.com/lightweight-linux-beginners/) easily. PostmarketOS wants to achieve the same on the mobile platform, by tweaking Linux into a touch-optimized platform.
there is also LineageOS, SailfishOS , eelo , kaiOS , and librem
1
u/SmallerBork Jan 04 '20
Doesn't replicant only support really old devices though?
I'm going to stick with custom Android ROMs on any devices that shipped with Android, but I'm really interested in Pine64 and Purism going forward.
All I really need out of a phone is a modern SoC, good amount of RAM, storage, and internet I like emulating games. Most other stuff is icing on the cake to me. I know camera and NFC etc are important to some people but I think the basic specs are going to be more important to people. Hopefully later devices from them will have comparable hardware to current midrange phones.
4
u/Mordan Nov 25 '19
Google has become pure evil.
Boycott Android 10.
Your phone belongs to you. So are your files.
1
Feb 07 '20
Newer versions of android arent letting us get free from google. This is an example of same.
-7
8
u/Akoustyk Nov 05 '19
Wow. I'm not going to want to use any version of Android beyond 10 then, and I will definitely be more interested in switching to Apple.
Idk why android would remove everything that makes it better than apple.