Open theone3nu opened 5 years ago
As soon as ShareExtension.openURL gets called it is going to catch block and here is the error description.
You should take a look at the Linking part, to be sure it is well implemented. Documentation is here : https://facebook.github.io/react-native/docs/linking
I have implemented deeplinking already. I tried with Linking.openURL('myapp://'). It says unable to open url myapp://. But when i called the same Linking.openURL('myapp://') from the parent app It is opening the app. Also when i am trying to call myapp from browser window.open('myapp://') it is opening myapp. Only problem is i am unable to navigate from the share.ios component
@arribbar Just saw that latest code is not up to date in npm
https://github.com/alinz/react-native-share-extension/issues/127#issue-383560862
Thats the reason ShareExtension.openURL is throwing error. Can admin upload the latest code into repo. The current version is 1.2.1
Try to use Linking. ShareExtension.openURL is working in IOS but not in android so you can use Linking.
Try to use Linking. ShareExtension.openURL is working in IOS but not in android so you can use Linking.
Hey this is old, but what did you mean by this? (thanks btw)
I have followed this https://github.com/alinz/react-native-share-extension#open-container-app When i click on the share extension in ios photo gallery myapp is not opening at all.
ShareExtension.openURL('myapp://');
"react-native": "0.55.2", Here is the screenshot of warning
Please help