Content
@
0 reply
0 recast
0 reaction
Jorge Pablo Franetovic š©
@jpfraneto.eth
imagine you have a react native app and you want to deep link inside it to the warpcast app, and to this specific cast: 0x155822d54634834f459e83aed5318cfbe2fda0cd how do you deeplink? whats the url? do you need any permission? cc @dylsteck.eth
3 replies
1 recast
103 reactions
dylan
@dylsteck.eth
the link you could use is warpcast.com/~/conversations/[hash] and it should deeplink you into Warpcast š«”
1 reply
0 recast
4 reactions
Jorge Pablo Franetovic š©
@jpfraneto.eth
maybe it is because Iām running this inside expo run dev but it takes me to brave (this is the code: const openWarpcast = () => { if (videoDetails?.castHash) { Linking.openURL(`https://www.warpcast.com/~/conversations/${videoDetails.castHash}`); } }; (ā¦) <TouchableOpacity style={styles.warpcastButton} onPress={openWarpcast}> <Text style={styles.buttonText}>View on Warpcast</Text> </TouchableOpacity> )
2 replies
0 recast
0 reaction
Samuel ć
@samuellhuber.eth
brave generally isn't the most friendly with linking out of brave (security reasons i assume)
1 reply
0 recast
0 reaction
dylan
@dylsteck.eth
Hmm maybe try using Link from expo-router instead of Linking? IIRC Linking is reserved for deep links into your own app ā I have this example working in github.com/dylsteck/litecast for username mentions(demo below), Iām just looking for this line of code
1 reply
0 recast
0 reaction