Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enhance Build Information Management
Overview
This PR introduces enhancements to how the app manages and utilizes build information, with a particular focus on distinguishing between Xcode and TestFlight builds. A key part of this enhancement is the inclusion of a manually added
BuildDetails.plist
file in the project, which stores essential build details. The PR also includes updates to the app's logic to read from this plist and calculate build expiration dates, especially for TestFlight builds, where a specific validity period is important for managing updates and functionality.Changes
BuildDetails.plist
:BuildDetails.plist
has been manually added to the project. It should be updated as needed to reflect current build details.SettingsViewController
now includes updated logic to read build details fromBuildDetails.plist
and determine the build's expiration date. This is particularly critical for TestFlight builds, which have a 90-day validity period from the build date.isTestFlightBuild()
,buildDate()
, andcalculateExpirationDate()
have been introduced inSettingsViewController
to facilitate these enhancements.Testing
BuildDetails.plist
and the new logic inSettingsViewController
do not adversely affect existing app functionality.Notes