ajith-ab / react-native-receive-sharing-intent

A React Native plugin that enables React Native apps to receive sharing photos, videos, text, urls or any other file types from another app
MIT License
297 stars 106 forks source link

iOS app not opening with RN 0.70.6 #159

Open DaneHoward opened 1 year ago

DaneHoward commented 1 year ago

I love the package - it worked flawlessly on Android but I'm having some issues with the iOS app opening.

Followed the documentation but the app is not opening when the app is selected through the share function in photos.

The documentation walks through how to implement the package in AppDelegate.m but those instructions don't seem applicable (or at least are unclear) to the newer AppDelegate.mm in more recent RN versions.

I can't find any log outputs from iOS simulator so it's not causing a critical iOS crash but is likely just not triggering the app to open properly.

Thank you and happy to help produce code segments to recreate this issue.

RN v 0.70.6 iOS 16 react-native-receive-sharing-intent 2.0.0

achorein commented 1 year ago

Just got a working example with expo 47 and RN 0.70.8 here https://github.com/achorein/expo-share-intent-demo/tree/expo47