Content pfp
Content
@
https://warpcast.com/~/channel/frames
0 reply
4 recasts
4 reactions

derek pfp
derek
@derek
for frame devs building for multiple contexts: the SDK doesn't have an easy way to detect if you're in a frame (to my knowledge), but a trick that'll cover most use cases (for now) is to detect window.ReactNativeWebView. obvious holes until we have a way to detect if we're in a frame context, but it works.
3 replies
0 recast
14 reactions

Tamrat pfp
Tamrat
@tamrat
wouldn't checking sdk.context availability tell you if it is in frame or not?
1 reply
0 recast
0 reaction

derek pfp
derek
@derek
I'd love it if it worked that way, but I don't think so - it seems that it's populated either way by comlink.
1 reply
0 recast
1 reaction

Tamrat pfp
Tamrat
@tamrat
i see, ya i haven't tried it yet on my frame but ya would be great to make this easy. @horsefacts.eth
0 reply
0 recast
0 reaction