Closed Epicpkmn11 closed 2 years ago
This seems to be fixed now, I'm not sure if it was a KaiOS or Revolt update that actually fixed it, but it's working now.
I've made a client designed with KaiOS support. The main client (revite) still didn't work great on KaiOS so this should work as a good substitute for you.
What happened?
Using KaiOS 3.1 on a Nokia 2760 Flip I'm getting the desktop layout instead of the mobile layout, making it impossible to send messages:
I was able to track the bug down to
react-device-detect
'sisMobile
being false, when it should be true, however beyond that I'm stumped... In a test app using the exact same version ofreact-device-detect
it correctly detects this phone as a mobile device, however in Revolt it somehow thinks it's not. It's specificallyisMobile
that's bugged as I removed everything else from isTouchscreenDevice.ts:3-8 and it was still bugged. By forcing that to true I was able to get it working properly and can confirm that Revolt works (if not super well) on KaiOS 3 if this were working correctly:If it's at all helpful the user agent of this phone is
Mozilla/5.0 (Mobile; N139DL; rv:84.0) Gecko/84.0 Firefox/84 KAIOS/3.1
, I selected Firefox and Other as it's based on Firefox 84, but not exactly normal Firefox lol.Branch
Production (app.revolt.chat)
Commit hash
cca97f9
What browsers are you seeing the problem on?
Firefox, Other (please specify in the "What happened" form)
Relevant log output
No response
Desktop
PWA