Skip to content
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

AutoUpload Not Working With Google Play Version #14334

Open
4 tasks done
djlactose opened this issue Jan 7, 2025 · 9 comments
Open
4 tasks done

AutoUpload Not Working With Google Play Version #14334

djlactose opened this issue Jan 7, 2025 · 9 comments
Assignees
Labels

Comments

@djlactose
Copy link

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

Since the last release I am unable to see any files on my device to upload into Nextcloud. It just shows all folders blank.

Expected behaviour

I should be able to upload any file on my phone to my Nextcloud instance.

Actual behaviour

It just shows no files in any folder I got into when trying to select what to upload.

Android version

15

Device brand and model

Pixel 8 pro

Stock or custom OS?

Stock

Nextcloud android app version

3.30.7

Nextcloud server version

30.0.4

Using a reverse proxy?

Yes

Android logs

data folder is blocked in android 15 unless you root the device

Server error logs

Additional information

No response

@Whisprin
Copy link

Whisprin commented Jan 8, 2025

Are you using the "+ button" and then "Upload files"?
Can you please navigate to a folder that contains photos and/or videos and check if those files show up?

And can you please try to use the "Upload content from other apps" option instead and report if that works? You can still browse local folders and files.

@djlactose
Copy link
Author

djlactose commented Jan 8, 2025 via email

@Daniel-MFG
Copy link

Hello there 👋

I seem to have the exactly same issue...

The interesting thing to note is that the folder shows up with the correct size but when i navigate inside there is only my testing "bump" file inside.
Image
Image

If i navigate to my music folders tho (containing .mp3 files) everything shows up as one would expect..
Image

i can also replicate this behavior with the "auto upload"-Feature...
If a folder contains Images, Music or files without any extension nextcloud will at least "find" them but otherwise not!
(might also work with some other file extensions but i didn't test every file extension possible for obvious reasons...)
Is there some wrong filter being used here?

What i also tested in the end is what would happen if i try to manually upload a file to a folder and then they correctly show up.
So this issue seems not to affect that feature.

This is a really big issue in my eyes as anyone who uses these features to back up anything besides images and music will not have their data backed up without noticing!
In my case for example i have lost my Signal Backups from the last couple of weeks...
(no error messages or anything..)
I only noticed this by chance as i wanted to delete some of the really old backups (cleaning up...)

@Whisprin
Copy link

Whisprin commented Jan 8, 2025

@Daniel-MFG Can you please try to use the "Upload content from other apps" option and report if that shows other file types? Manually selecting and uploading files should be working.

Image

I agree that the Auto uploads failing silently is a big issue as some users might notice this too late. Unfortunately, as of now this can't be fixed in the Google Play variant of the app. It still works in the F-Droid variant.

My suggestion is to send a push notification to all users to inform them that Auto uploads stopped working. That way users can actively look for alternatives instead of assuming that everything works as usual. See this summary here (1. problem): #14135 (comment)

@Daniel-MFG
Copy link

Daniel-MFG commented Jan 8, 2025

@Whisprin
When i use "Upload content from other apps" then it also shows the files correctly...

But i kinda mentioned that already:

What i also tested in the end is what would happen if i try to manually upload a file to a folder and then they correctly show up.
So this issue seems not to affect that feature.

Image

@alperozturk96 alperozturk96 changed the title Unable to see any files to upload AutoUpload Not Working With Gplay Variant Jan 10, 2025
@alperozturk96
Copy link
Collaborator

alperozturk96 commented Jan 10, 2025

Google Play version of our app no longer includes the android.permission.MANAGE_EXTERNAL_STORAGE permission due to repeated rejections by Google. While this issue did not arise in earlier versions, at some point, Google began rejecting the app for including this permission. Interestingly, some apps continue to have this permission and can still update without issues. Despite multiple attempts, we have been unable to pass their review, which has impacted the AutoUpload functionality of our app.

We are planning to inform users about this issue within app.

Edit: It seems that manually granting the necessary permissions is not feasible with the Google Play version. (Stock Android 15)

@Daniel-MFG
Copy link

Google Play version of our app no longer includes the android.permission.MANAGE_EXTERNAL_STORAGE permission due to repeated rejections by Google. While this issue did not arise in earlier versions, at some point, Google began rejecting the app for including this permission. Interestingly, some apps continue to have this permission and can still update without issues. Despite multiple attempts, we have been unable to pass their review, which has impacted the AutoUpload functionality of our app.

For users who prefer the Google Play version, they can try manually granting the necessary permissions. To do this, navigate to your device settings, select Apps, then Permission Manager, and choose Files and Media. Locate our app and enable Manage All Files permissions. Please note that the steps may vary slightly depending on the device.

If the issue persists after granting the necessary permissions, please provide us with the details through this issue. We are planning to inform users about this issue within app.

@alperozturk96 I am using a Google Pixel 7 Pro with the default rom (Android 15 - rooted) and here for example if i select the nextcloud app and manage it's permissions i only get the following (no permission for files/all files listed):
Image

And if i navigate to the system permissions manager ( Settings -> Security & Privacy -> Privacy -> Permission manager )
I can find the (presumably) correct permission and there is nothing in there...
Image

My guess is that with Android 15 no app shows up there if it never requests this permission?
(this is a pure guess to be honest)

@djlactose
Copy link
Author

djlactose commented Jan 10, 2025 via email

@Daniel-MFG
Copy link

I installed the F-Droid version now and while it did correctly download my music library to my phone again it STILL doesn't upload anything that isn't Photos/videos/Music...

The "Signal-Backup" folder essentially still looks like in my earlier post here:
#14334 (comment)

But i did get asked for the "all files" right and gave it to the app:
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants