Open Misha327 opened 4 weeks ago
Sorry for posting a non-issue, not sure where to ask.
As per title, is it possible to share a url from safari to the app without having to show a modal first?
This is the example I am currently using, I would like to open host app directly.
port { openHostApp } from "expo-share-extension"; import { Button, Text, View } from "react-native"; // if ShareExtension is your root component, url is available as an initial prop export default function ShareExtension({ url }: { url: string }) { const handleOpenHostApp = () => { openHostApp(`create?url=${url}`) } return ( <View style={{ flex: 1 }}> <Text>{url}</Text> <Button title="Open Host App" onPress={handleOpenHostApp} /> </View> ); }
Thank you for your work.
Hi @Misha327, no unfortunately that's not possible at the moment. I might implement this in the future though, will keep you posted here
Sorry for posting a non-issue, not sure where to ask.
As per title, is it possible to share a url from safari to the app without having to show a modal first?
This is the example I am currently using, I would like to open host app directly.
Thank you for your work.