nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.23k stars 1.76k forks source link

Disable scanning of external (USB) drives #12090

Open regs01 opened 11 months ago

regs01 commented 11 months ago

⚠️ Before posting ⚠️

Steps to reproduce

Connect external drive.

Expected behaviour

Nextcloud should ask for each external drive with notification each time they connected. As well as should be an option to disable notification completely.

Actual behaviour

Nextcloud starts scanning it instantly draining the battery to zero and spamming with thousands of notifications about new folders with media, beeping on each. Beep beep beep, for half a hour if there are thousands of them.

Android version

10.0

Device brand and model

Huawei

Stock or custom OS?

Stock

Nextcloud android app version

3.26

Nextcloud server version

27

Using a reverse proxy?

I don't know

Android logs

No response

Server error logs

No response

Additional information

No response

joshtrichards commented 11 months ago

Nextcloud starts scanning it instantly draining the battery to zero and spamming with thousands of notifications about new folders with media, beeping on each. Beep beep beep, for half a hour if there are thousands of them.

Nextcloud should ask for each external drive with notification each time they connected.

I don't believe the scanning itself is Nextcloud, but Android's Media Scanner. The notifications however...

As well as should be an option to disable notification completely.

If you expand the first notification there is a button to the left that says Disable which will do precisely that. It disables notifications about any new found media folders from the media scan.

regs01 commented 11 months ago

I don't believe the scanning itself is Nextcloud, but Android's Media Scanner. The notifications however...

If Nextcloud dropping notifications, then i guess it does some kind of scanning as well.

If you expand the first notification there is a button to the left that says Disable which will do precisely that. It disables notifications about any new found media folders from the media scan.

Wouldn't that disable Nextcloud notifications entirely? But still, it would be better to disable it for USB devices with just one notification, whatever to scan for new folders or not.