achorein / expo-share-intent

🚀 Simple share intent in an Expo Native Module
MIT License
128 stars 13 forks source link

Share intent confirmation dialog disappears #1

Closed vitaliimelnychuk closed 5 months ago

vitaliimelnychuk commented 5 months ago

Describe the bug Thanks for creating this package! I was running into a lot of issues building share features a few years back and after seeing your demo and this package decided to give it a quick try. Previously, I had to stop using expo because of this!

After setting up the project and running it in the simulator, for some reason dialog just disappears after clicking share :( See the recording below:

https://github.com/achorein/expo-share-intent/assets/22550335/21ea3b63-da36-40b7-bcb1-21f9f8e11fd2

To Reproduce I used the set up you have in your example and it built correctly

Environment

System:
  OS: macOS 14.2.1
  CPU: (8) arm64 Apple M2
  Memory: 395.42 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.17.0
    path: ~/.nvm/versions/node/v18.17.0/bin/node
  Yarn: Not Found
  npm:
    version: 9.6.7
    path: ~/.nvm/versions/node/v18.17.0/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.14.3
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - visionOS 1.0
      - watchOS 10.2
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
  Xcode:
    version: 15.2/15C500b
    path: /usr/bin/xcodebuild
Languages:
  Java: Not Found
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.4
    wanted: 0.73.4
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Additional context Let me know if you think this is just something with simulator....

vitaliimelnychuk commented 5 months ago

@achorein Sorry, closing this issue. I missed adding scheme as part of my app.json. I imagine it's heavily used to share content.

Closing the issue, let me know if you think it could be useful to add it as part of package installation.

achorein commented 5 months ago

Thanks, like you I don't understand why the expo team hasn't integrated it yet.

scheme was my lead :)

Sure, it's a must have in the doc !