react-native-share / react-native-share

Social share, sending simple data to other apps.

Home Page:https://react-native-share.github.io/react-native-share

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

URL icons don't work at all

avr6ude opened this issue · comments

Steps to reproduce

  1. Use the following code
const url = `https://app.link/${feedId}/${postId}`
  const message = 'message'
  const thumbnailImage = `data:image/png;base64,${base64image}'`
  const options: ShareOptions = Platform.select({
    ios: {
      failOnCancel: false,
      message: message,
      activityItemSources: [
        {
          placeholderItem: {
            type: 'url',
            content: url,
          },
          item: {
            default: {
              type: 'url',
              content: url,
            },
          },
          thumbnailImage: {
            default: thumbnailImage,
          },
          linkMetadata: {
            title: text,
            url,
            image: thumbnailImage,
          },
        },
      ],
    },
    default: { url, message: `${message}: ${url}` },
  })
  await Share.open(options)
  1. SCR-20231106-qmns

Expected behavior

Icons should show up

Actual behavior

No icons show up

Environment

  • React Native version: 0.71.7
  • React Native platform + platform version: iOS 17
  • *Typescript version
  • (if using typescript): 4.9.4

react-native-share

Version: 9.4.1

Link to repo (highly encouraged)

https://github.com/

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. You may also mark this issue as a "discussion" and i will leave this open

I'm experiencing the same issue in react-native 0.72.4 using the latest version for the library (10.0.2). Any updates?

Any solution here?