signalapp / Signal-iOS

A private messenger for iOS.
https://signal.org
GNU Affero General Public License v3.0
10.6k stars 2.95k forks source link

Accept URL and text from iOS share sheet, instead of just URL #5737

Closed jasongitmail closed 2 months ago

jasongitmail commented 5 months ago

Bug description

I'm developing an iOS app that uses NativeScript's shareUrl() functionality, which leverages iOS's native sharesheet.

Apps are able to provide a URL and text to prepopulate into a message app's compose box.

For example: https://example.com Check out this app!

Signal populates only the URL into it's compose box and omits the text. Other messengers like WhatsApp or iOS Messages, include both the URL and text as intended.

Steps to reproduce

  1. Install NativeScript's Preview app on iPhone https://apps.apple.com/us/app/nativescript-preview/id1264484702
  2. Visit NativeScript's demo app for social sharing, wait for Stackblitz to load, and then scan the QR code shown. The NativeScript preview app will load and run the demo iOS application.
  3. Click the "Share URL" link shown in the demo app.
  4. The sharesheet will open. Choose Signal, then Note To Self, and then arrow to continue.

Actual result:

The URL is populated into Signal's compose box.

signal

Expected result:

The URL and the text of Home of NativeScript should both be populated into the compose box, like in these examples:

WhatsApp:

whatsapp

iOS Messages

messages

Device info

Device: iPhone 14 Pro iOS version: 17.2.1 Signal version: 6.56

bexelbie commented 5 months ago

Likely duplicate of #5641

stale[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 months ago

This issue has been closed due to inactivity.