nextcloud / android

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

Share from other apps to nextcloud app does not do anything #3301

Closed archont00 closed 3 years ago

archont00 commented 5 years ago

Actual behaviour

Expected behaviour

Steps to reproduce

  1. Choose a photo from Gallery app.
  2. Click on Share icon.
  3. Choose Nextcloud.
  4. Once it opens up, choose a folder and click on "upload".
  5. Switch to nextcloud app and look at that particular folder - the file is not there.

Environment data

Android version: 8.0.0

Device model: Samsung SGS S7

Stock or customized system: Stock, unbranded.

Nextcloud app version: 3.3.2

Nextcloud server version: 14.0.1

Logs

Nextcloud log (data/nextcloud.log)

There is no recent "nextcloud.log" in the android filesystem accessible to the user. (Only some old version from 2017.) There seems to be no option in app settings to enable debug logging.

AndyScherzinger commented 3 years ago

@bsimml this is a bug introduced by 3.14.1, so you should be able to work with 3.14.0 for your testings until we ship a fix for this matter (likely 3.14.2)

tonyuh commented 3 years ago

Yup, I have the same issue since a few days ago, running Samsung SM-G970F/DS with Android 10 and NC app version 3.14.1

After sharing a file from another app, NC app opens up and able to click upload, a dialog box came up but instantly closes and the file isn't uploaded. I can upload via NC app by hitting the + icon just fine.

Hope this will be fixed in the next version.

AndyScherzinger commented 3 years ago

CLosing in favor of #7587

ModischFabrications commented 3 years ago

CLosing in favor of #7587

Looking at https://github.com/nextcloud/android/issues/7587#issuecomment-738671742 I am very skeptical of them having the same root cause, as this issue is based on missed Intents (probably a race condition) while the other one seems to be based on invalid control flow.

@tobiasKaminsky has already investigated in this, can you confirm or deny my suspicion?

ModischFabrications commented 2 years ago

This issue still persists, can you give a rough estimate on the ETA? It a huge liability to loose pictures during uploads...