3 ms·
I've been working on a project and because I really hate Java I'm trying to get it done with a PWA. There are like ten million annoying things that prevent you
by thot_experiment 4y ago
I've been working on a project and because I really hate Java I'm trying to get it done with a PWA. There are like ten million annoying things that prevent you from having access to the hardware in easy ways but outside that using a browser for UI is pretty solid for my purposes.
I'm only concerned with one user so I've been able to circumvent those issues by just running code on the underlying *nix subsystem on my phone and talking to the UI over websockets. For certain usecases WebBluetooth is actually enough to control a peripheral and you don't even need a rooted phone, just any android w/ chrome.
A lot of the reasoning behind why phones are so locked down feels like safety theater, there may be good security reasons, but there are also DEFINITELY good business reasons.
It's frustrating, if Android was actually an open platform (at least in the Windows sense LOL) I could do this shit without resorting to weird root-cloaking fuckery that gets broken every update.