Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Adding Trip Controls to Homescreen Quick Actions #53
iOS allows for quick actions that allows a user to control the app from the home screen. These actions can be dynamically added and removed as the app runs code with a limit of 4 actions at any given time.
I find when I'm about to go out for a walk or get in my car for a drive, sometimes I feels like I have to stop what I'm doing and go through a decent number of steps in order to track my activity. Open my phone, open the app. Hold down on the trip icon for a couple of seconds until the trip mode view comes up, select the type I'm doing, and then click the "Start" button.
A thought I had was that it would be great if there was always a "Start/Stop Trip" quick action. Obviously whether it was start or stop would update at the same time that the "Start/Stop" button updates.
If the user isn't in a trip, it could display the 4 most recent (but not active) trip types.
If the user selects "Stop Car Trip", and then open the Quick Action menu again, it would display:
These are just some initial thoughts, I'd love to hear what you think.
This is a great idea. I guess I got so used to doing the steps you outlined that I don't really think about it anymore.
I like the idea of the app keeping track of the most used trip types and providing those options.
One thing related to this that I'm not quite sure about is whether starting a trip should (temporarily) adjust the actual CoreLocation settings. Right now it's possible to set 1km accuracy and then start a trip and barely any location data will be recorded. I'm thinking it might be a good idea to turn up the resolution during an active trip, then restore it to the user setting after the trip ends. In fact, i'm going to open that as a new issue :-)