by 30blay · 2y ago · 0 comments
As others have stated, not all phones have pressure sensors, and the quality of the readings also varies a lot between different models. For example, we had one device where the readings would spike when squeezing the phone.
Transit also doesn't have permission to read the pressure sensor, and our use case wouldn't justify asking for it.
For others wanting to implement similar functionality, it would be great if they didn't need to re-do the entire work from scratch.