Content
@
https://warpcast.com/~/channel/frames
0 reply
4 recasts
4 reactions
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
@tamrat
wouldn't checking sdk.context availability tell you if it is in frame or not?
1 reply
0 recast
0 reaction
Jack Dishman
@dish
doing something similar for conditional rendering for webapp vs frame views
0 reply
0 recast
2 reactions
erik nelson
@eriknelson.eth
snippet we use from @deodad that has worked great so far
1 reply
0 recast
3 reactions