Expensify / react-native-share-menu

A module for React Native that adds your app to the share menu of the device
MIT License
632 stars 235 forks source link

Share intent for multiple links crashing #275

Open stoicaandrei opened 9 months ago

stoicaandrei commented 9 months ago

I am testing my ShareExtension from various apps, and I noticed that one of them is sending 2 Links (see the screenshot attached), and my app is not showing in the Share Sheet.

These are my activation rules

<key>NSExtensionActivationRule</key>
<dict>
  <key>NSExtensionActivationSupportsText</key>
  <true/>
  <key>NSExtensionActivationSupportsWebPageWithMaxCount</key>
  <integer>10</integer>
  <key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
  <integer>10</integer>
</dict>

I tried testing it on my physical device with TRUEPREDICATE. It is showing in the Share Sheet, but it crashes when it attempts to read the data.

Is this a bug or a bad config on my part? IMG_770CF36E7745-1