memories icon indicating copy to clipboard operation
memories copied to clipboard

Can't share file / in Android APP / web UI

Open KapriQ opened this issue 10 months ago • 11 comments

Describe the bug

Hello, I can't share the file in android app or in webui.

Steps To Reproduce

I click on share icon: There are options like "Smaller size, Big resolution, Original file, Public link" ... None of these option works, it is showing "loading" and nothing. After long time it shows "There is no app for this action" ...

In the WEB UI in nextcloud memories, i click share, and is visible only option for link share... Nothing else.

Platform

- OS: Android Vanilla 14 / Linux KDE
- Browser: FireFox 135.0.1
- Memories Version: 1.12 / 7.5.2 (server)
- Nextcloud Version: Hub 9 (30.0.6)
- PHP Version: 8.2-fpm

Screenshots

Image

Additional context

No errors related for share / file etc...

KapriQ avatar Mar 01 '25 16:03 KapriQ

Please reload the pick while monitoring the browser inspector for errors. Both the Console and Network tabs.

joshtrichards avatar Mar 13 '25 16:03 joshtrichards

For what it's worth, I can see the same problems. In the Android app, downloading doesn't do anything. Sharing a file doesn't do anything either.

In the webui (Memories 7.5.2), I only have the link option (I didn't know other options should be offered here).

My console after reloading the picture:

Content-Security-Policy: Ignoring “blob:” within script-src-elem: ‘strict-dynamic’ specified memories
OCA.Files.Sidebar initialized files-sidebar.js:1:19758
OCA.Comments.View initialized comments-comments-app.js:1:16612
OCA.Sharing.ShareSearch initialized files_sharing-files_sharing_tab.js:1:715
OCA.Sharing.ExternalLinkActions initialized files_sharing-files_sharing_tab.js:1:1491
OCA.Sharing.ExternalShareActions initialized files_sharing-files_sharing_tab.js:1:2369
session heartbeat polling started core-main.js:1:28782
Source map error: No sources are declared in this source map.
Resource URL: https://HOSTNAME.tld/apps/activity/js/preload-helper-CfzTJz-5.chunk.mjs
Source Map URL: preload-helper-CfzTJz-5.chunk.mjs.map
Source map error: No sources are declared in this source map.
Resource URL: https://HOSTNAME.tld/apps/activity/js/_commonjsHelpers-BdswosdL.chunk.mjs
Source Map URL: _commonjsHelpers-BdswosdL.chunk.mjs.map
TypeError: this is undefined bootstrap-autofill-overlay-menu.js:7784:9
Will-change memory consumption is too high. Budget limit is the document surface area multiplied by 3 (1451879 px). Occurrences of will-change over the budget will be ignored. memories
Registering notifications container as a menu NotificationsApp-C9WUfcDR.chunk.mjs:35:65644
Notifications permissions granted NotificationsApp-C9WUfcDR.chunk.mjs:35:70302
Polling interval updated to 30000 NotificationsApp-C9WUfcDR.chunk.mjs:35:69733
Started background fetcher as session_keepalive is enabled NotificationsApp-C9WUfcDR.chunk.mjs:35:66937
Registering notifications container as a menu NotificationsApp-C9WUfcDR.chunk.mjs:35:65644
Notifications permissions granted NotificationsApp-C9WUfcDR.chunk.mjs:35:70302
Polling interval updated to 30000 NotificationsApp-C9WUfcDR.chunk.mjs:35:69733
Started background fetcher as session_keepalive is enabled NotificationsApp-C9WUfcDR.chunk.mjs:35:66937
SW registered:  
ServiceWorkerRegistration { installing: null, waiting: null, active: ServiceWorker, navigationPreload: NavigationPreloadManager, scope: "https://HOSTNAME.tld/index.php/apps/memories", updateViaCache: "imports", onupdatefound: null, pushManager: PushManager }
memories-main.js:2:2447808
Got notification data, restoring default polling interval. 2 NotificationsApp-C9WUfcDR.chunk.mjs:35:68688
Doubling multipreview buffer size 1048576 memories-components_frame_XImgWorker_ts.js:1:1763
Doubling multipreview buffer size 2097152 memories-components_frame_XImgWorker_ts.js:1:1763

I don't see any errors in the Console tab. I don't see any errors in the Apache logs either.

Hope this helps.

s1shed avatar Mar 21 '25 16:03 s1shed

On a PC, if I enable developer settings and simulate a phone, the photo sharing option (only the link is shown) doesn't appear. Those options are missing. It only shows up on a real mobile device through a browser or the Memories app, and it looks like your application, when clicking to select the quality, tries to find some integrated app or something on the phone to handle the sharing, but it fails for me. But I have no idea what...

Can you fix it, and make the sharing in the way how the nextcloud app is ?

I think it has something to do with google apps - i am on clean vanilla os w/o gapps.

KapriQ avatar Mar 21 '25 17:03 KapriQ

I have the same problem. Using the webversion of Memories on a phone I cannot share an image to another app. when trying to share the original image or a reduced size version of it I get the error "Diese Art von Daten kann nicht geteilt werden" (This type of data cannot be shared). However, when I use the Memories mobile app I am able to share images using these options.

Phone: Stock Samsung S23 Browser: Firefox Mobile 137.0.2 Memories: 7.5.2 Nextcloud: 30.0.6

Edit: it works on Chrome for Android (Version 135)

StefanAbl avatar May 01 '25 11:05 StefanAbl

This type of data cannot be shared

This is a browser issue / limitation, unfortunately. They don't allow some types of files to be shared, e.g. HEIC or sometimes it seems rather arbitrary. Not much can we can do about it :(

pulsejet avatar May 03 '25 18:05 pulsejet

i've the same problem on android app and memories webapp on nextcloud

  • Memories Version: 1.12 / 7.6.0 (server)
  • Nextcloud Hub 10
  • Nextcloud 31.0.6 (on truenas 24.10)
  • Android 16 (Grapheneos) Same on firefox v. 140.0 (mobile) Same on chromium based (mobile) Same on Firefox 140.0.4 (desktop version Ubuntu 24.04) only external link option Same on chromium 138.0... (desktop version ubuntu 24.04) only external link option Same on Brave Browser only external link option Edit: from the android app i can't download files (photo or video...)

Alive1984 avatar Jul 13 '25 16:07 Alive1984

no update? is it possible there's nobody has the same issue? O_O

Alive1984 avatar Aug 02 '25 10:08 Alive1984

I have the same issue. On Android S21 I open i picture, click share icon and doesnt matter which option I choose, it shows me a spinning loading circle and nothing happens. In fact when I open Memories in Google Chrome on my S21 I can share my media. So its only not working on Android app. File type is .jpg and .heic and size up to 10MB.

mimedo avatar Aug 10 '25 20:08 mimedo

@mimedo is it a stock rom on your s21? Have you Google services on it?

Alive1984 avatar Aug 19 '25 22:08 Alive1984

@Alive1984 I have no root or such things in case you're asking. Everything by default using Google services and Play Store etc.

mimedo avatar Aug 26 '25 15:08 mimedo

Additionally, the Download option on Android app has no function. I click on it and nothing happens. I thought it was a permission issue because initially, I rejected access to my photo and media folders. I gave Memories the permissions but still nothing happens. Directly via Chrome I can download the media without any problems.

mimedo avatar Sep 08 '25 13:09 mimedo

I have the same issue.

SpamReceiver avatar Jan 07 '26 09:01 SpamReceiver