Open robsco opened 4 years ago
+1 I have the same problem
+1 Getting this for files shares on iOS. Any idea what could be going wrong @ajith-ab ?
@ateev here is the solution https://github.com/ajith-ab/react-native-receive-sharing-intent/issues/28
@ateev here is the solution #28
For a copy/paste solution: https://github.com/ajith-ab/react-native-receive-sharing-intent/issues/28#issuecomment-731725933
When sharing a url from iOS, either Chrome or Safari, I'm getting a share dialog open with a thumbnail, rather than launching my app directly/immediately.
On Android it opens directly into the app fine, and is picked up by code running on one of my screens (under React Navigation).
When I submit the share dialog on iOS, it does launch the app, but the code in my screen doesn't fire.
Copy & pasted every as-is from the docs, changing my hostAppBundleIdentifier.
I actually only want to share URLs currently, no need for other files.
If it make any difference, I also support deeplink and fb shares, so already had a scheme in my info.plist: `
` Perhaps you could show simplified instructions for ONLY sharing a url, to see which bits are needed, and which aren't.
Coming from a ReactNative background, a screen full of Swift code is a bit daunting for most.