Unable to use Android upload => due to new google policy

Hello,

I would like to upload the /Android/data/net.osmandplus/files/tracks folder to my nextcloud environment. I would like to exploit my tracks with gpxpod app in the web interface on my PC.

For some reason the android nextcloud app does not “see” beyond /Android/data.

Is there a way to solve this? Tried ticking “show hidden files” in the settings app ; but that doesn’t work.

Using Nextcloud Hub 9 (30.0.5) and Android app 3.30.7

tx,

T

Android-App 3.30.7 is buggy, downgrade to 3.30.5 from F-Droid. Maybe you’ll have more luck then.

upgrading to 3.30.8 didn’t help… i’ll try .5 soon

I think I just found the issue:

This only is one issue. In older versions (previous to 3.30.6) you may prevent from issue, if you remove the mark at “Remove file after upload” in the auto-upload settings.
Google now blocks write-access by 3rd party-apps.

I am not sure, whether upload from /Android/data/net.osmandplus/files/tracks may be affected by the bug, Googles new “policy” or anything else.

1 Like

Seeing osmandplus I’d expect F-Droid, but you didn’t mention the source of your Nextcloud Android app.

Having said that, I realized I had not configured the uploading of my tracks since switching phones a while back, and thought to document my steps in case I got any further than you.

Running :

  • Nextcloud 30
  • Nexctloud-dev 20250121 from F-Droid
  • Osmand~ 4.9.7, also from F-Droid
  • LineageOS 21.x (last before 22) (Android 14)

These are my findings:

  • As you write, Auto-upload “Custom folder” in the Nextcloud app does not allow me to chose files in /Android/data/
  • Nextcloud-dev does have access to files in /Android/media/
  • Osmand saves recorded tracks to /Android/data/net.osmandplus/files/tracks/rec
  • I tried setting another directory in Osmand (as I remember was possible, earlier, even though without a file picker it was not directly user friendly)
  • Osmand does not allow to change the directory anymore, only to switch between “everything in one folder” (at the …/rec location) or “make subdirectories per month/day”

I had hoped the issues with Googles download store should not affect us when using apps from F-Droid, especially on LineageOS :frowning:

Edit to add: You may change the title to reflect Google-policy, as the issue does not have to do with “hidden folders” as such (there is this setting in the app that lets you (not) see .hidden files)

@wbk: I confirm F-droid for both apps on IodeOS latest version (on SM-G973F).

I also tried adapting Osmand settings, but have exactly the same situation as you.

Other option: a local android script app that copies the tracks to /Android/media => if anyone has (simple) suggestions always welcome (preferably F-droid based)

What a situation :frowning:

F-Droid has “Automation”, that may work. Otherwise, if you have Termux installed, a simple copy command may work.

There used to be (at least) one other such rule based automation app on F-Droid, but I forgot the name and can’t find it with a couple of searches.

1 Like

Version 3.30.8 (January 20, 2025) is available. As I read in annother thread, the issues should have been solved.

See above, already tried it. Did not work. Retried a couple of seconds ago, still nothing.

the automation script is not that easy. It does not have the copy file function by default. You need a script in the app, I need to dig deeper…