Content pfp
Content
@
https://warpcast.com/~/channel/payflow
0 reply
0 recast
0 reaction

Sinaver pfp
Sinaver
@sinaver.eth
Looking for 3 users with latest Android (14/15) to help me test theme issue on Android in Frame v2 - open @payflow frame v2 - switch device theme between light <-> dark - record / screenshot in each theme @bountybot 1000 degen tip each
10 replies
1 recast
18 reactions

Builder.cook pfp
Builder.cook
@stanfyhack
Hey, I'm using a Samsung running android 14. I want to help out buddy
2 replies
0 recast
1 reaction

Sinaver pfp
Sinaver
@sinaver.eth
Sure, go ahead!
1 reply
0 recast
1 reaction

Builder.cook pfp
Builder.cook
@stanfyhack
I noticed there ain't any difference on both modes, apart from the header Dark mode light mode
2 replies
0 recast
1 reaction

Sinaver pfp
Sinaver
@sinaver.eth
Seems my theory is wrong that the issue related to old android version, thanks 1000 $degen
1 reply
0 recast
1 reaction

Builder.cook pfp
Builder.cook
@stanfyhack
Thanks, you might consider applying the style to the document itself or the HTML tag. Although I don't know what frame work you used to style the frontend
1 reply
0 recast
1 reaction

Sinaver pfp
Sinaver
@sinaver.eth
I am using MUI hook: useMediaQuery('(prefers-color-scheme: dark)')
1 reply
0 recast
1 reaction

Builder.cook pfp
Builder.cook
@stanfyhack
Okay, Where did you apply the theme? Is it at the root level file of your app?
1 reply
0 recast
1 reaction

Sinaver pfp
Sinaver
@sinaver.eth
yah, passing it to the MUI theme container, it works fine on IOS and Desktop in Iframe, having issues specifically on Android in frame v2 Seems prefers-color-scheme is not passed properly in webView on Android.
1 reply
0 recast
1 reaction

Builder.cook pfp
Builder.cook
@stanfyhack
Yes, that's the problem most times. Instead of MUI’s useMediaQuery, use the native window.matchMedia directly. This works better on Android
1 reply
0 recast
1 reaction

Sinaver pfp
Sinaver
@sinaver.eth
made some changes, can you help to check again, make sure to receive update app prompt
0 reply
0 recast
0 reaction