creepymonster / GlucoseDirect

App programmed in Swift/SwiftUI for using Libre blood glucose sensors.
MIT License
361 stars 115 forks source link

Add git version to non-release builds in About view #565

Open DAcodedBEAT opened 1 year ago

DAcodedBEAT commented 1 year ago

Depends on: #564

When I first downloaded this application from TestFlight, I was unable to connect the sensor via LibreLinkUp. After some digging, I was able to figure out that this was resolved in 3667f439de8f8110c18856222f744fb614a03405, but these updates were never pushed to TestFlight.

By adding this new field to the About view, users can see the latest Git commit used to build the application (and can also copy this by clicking on the field) and can more-easily figure out if their application is up-to-date with the changes from this repository.

note: The git version is only set on non-release builds (meaning TestFlight and local development builds) since production releases should have their own unique version set.

DAcodedBEAT commented 1 year ago

@creepymonster may we please get this merged in?