Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction
jp 🎩
@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
0 recast
43 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
2 reactions
jp 🎩
@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