navidrome icon indicating copy to clipboard operation
navidrome copied to clipboard

Sharing feature does not work on mobile

Open Retrockit opened this issue 2 years ago • 4 comments

I confirm that:

  • [X] I have searched the existing open AND closed issues to see if an issue already exists for the bug I've encountered
  • [X] I'm using the latest version (your issue may have been fixed already)

Version

0.51.0

Current Behavior

image

When sharing a track on mobile. This error populates, and sharing link does not get created

do not get this behavior on desktop browser. Sharing works on desktop browsers

Expected Behavior

A mini pop-up in the webpage should come up saying “URL copied to clipboard: https://Linktosong.com/share/jwjxjdjd

Steps To Reproduce

be on mobile phone

Click on three dots next to song or album

click share

In the pop-up press Shars

Environment

- OS: iOS 17.2.1
- Browser: Safari

How Navidrome is installed?

Docker

Configuration

No response

Relevant log output

No response

Anything else?

No response

Code of Conduct

  • [X] I agree to follow Navidrome's Code of Conduct

Retrockit avatar Feb 09 '24 21:02 Retrockit

I don't have an iOS to test it, but seems to be an issue with permissions on your phone. Maybe the issue is related to this? https://www.macrumors.com/2022/10/17/ios-16-1-paste-from-other-apps-settings/

Anyway, I can assure you this works (at least on Android): Screenshot 2024-02-10 at 9 23 38 PM

deluan avatar Feb 11 '24 02:02 deluan

I don't have an iOS to test it, but seems to be an issue with permissions on your phone. Maybe the issue is related to this? https://www.macrumors.com/2022/10/17/ios-16-1-paste-from-other-apps-settings/

Anyway, I can assure you this works (at least on Android):

Screenshot 2024-02-10 at 9 23 38 PM

I did do another test, but have my iPhone reach Navidrome over wireguard

The pop-up shows up when invoking the action on the wireguard IP, but not sure why it won't give that when on the public interface (at least on mobile)

Most strange

image

Retrockit avatar Feb 15 '24 21:02 Retrockit

Browsers lock many features & permissions (such as a webapp beeing able to copy to clipboard) to websites with secure context (aka https with a valid cert)

metalheim avatar Feb 16 '24 05:02 metalheim

This issue has been automatically marked as stale because it has not had recent activity. The resources of the Navidrome team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open. If this is a feature request, and you feel that it is still relevant and valuable, please tell us why. This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

github-actions[bot] avatar Aug 15 '24 01:08 github-actions[bot]