lylejantzi3rd
Joined 4 years ago
Joined 4 years ago
sudo pmset disablesleep 1
You would think this would negatively affect battery life when the laptop isn't docked, but I haven't noticed much of a change. It's also nice to be able to shut the lid on a whim instead of trying to keep the lid open so my downloads don't turn off while I'm moving from one room to another.Unfortunately, that also makes this a PII security nightmare.
It's still early days, but I have a demo running. Unfortunately, it requires using a drop-in replacement library for CoreLocation. That alone may make it infeasible.
A user reports a location bug on their morning commute. You're 2,000 miles away. Instead of flying out to reproduce it, you replay their exact GPS trip on your simulator. Same route. Same speed. Same timing.
Record & replay real GPS routes for iOS.
Video here: https://x.com/LyleMakes/status/2064438713124270233
Screenshot here: https://x.com/LyleMakes/status/2063784301594853657/photo/1
I can record a sequence of events that includes just about anything the phone can do: lat/long changes, speed, orientation, changes in motion state (idle, walking, driving, etc), geofencing, bluetooth state changes, wifi state changes, etc. Everything timestamped.
But, how do you play this sequence back in a way that makes the app think you're taking the same trip again? I was hoping the OS (iOS and/or Android) would provide a mechanism for this. And it does, but only lat/long. Nothing else.
The missing information is very important when trying to debug what's going on in my application on any particular trip. Now, I know I can create my own version of CLLocation that will generate these events whenever I want them, but I was hoping to find a solution that didn't require changing application code to support. I would like to take my findings and create a product that can help people do this sort of testing and requiring them to switch out CLLocation everywhere it's used in their application is a difficult sell.
It's early days. I'm not even sure it's possible.