8000 chore: prepare v0.1.0 build 18 for external TestFlight by shroominic · Pull Request #28 · shroominic/OpenGlucose · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ expectations are defined in [docs/compatibility.md](docs/compatibility.md).

### Changed

- External TestFlight builds no longer self-declare an unreviewed export-
compliance exemption. The Account Holder must explicitly classify the build,
and the release owner must record that determination before external beta
approval and tester notification.
- Restricted glucose-history blobs now use deterministic SHA-256 filenames
that do not embed reversible sensor storage keys. Schema-two filenames are
migrated crash-safely at startup, interrupted migrations resume, and
Expand Down
2 changes: 1 addition & 1 deletion docs/release-notes/v0.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ or emergency monitoring.

Android package: `com.openglucose.app`

App version: `0.1.0` (build `17`)
App version: `0.1.0` (build `18`)
11 changes: 11 additions & 0 deletions docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,17 @@ signed application/team entitlements, and embedded App Store provisioning
profiles. It also rejects any IPA containing `Runner.debug.dylib`, preventing
the untethered debug-engine crash seen in earlier test packages.

The iOS app intentionally omits `ITSAppUsesNonExemptEncryption`; the bundle
must not self-declare an exemption that has not been reviewed. Before approving
an external TestFlight build, the Account Holder must answer Apple's export-
compliance questions in App Store Connect from a current review of the
cryptography shipped by the app and its dependencies. The release owner must
record the export-compliance determination, responder, date, supporting
evidence, and any classification or authorization identifiers in the private
release record. An unresolved or unrecorded determination blocks external beta
approval and tester notification. Do not add the Info.plist key merely to
suppress the classification step.

Internal mode requires `TESTFLIGHT_MODE=internal`, an immutable
`TESTFLIGHT_GROUP_ID`, and `DISTRIBUTE_INTERNAL=yes`. It requires exactly one
automatic internal group with the approved name and ID, exactly one tester in
Expand Down
4 changes: 2 additions & 2 deletions openhealth/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ TESTFLIGHT_UPLOAD_PROVENANCE_PATH="/secure/openglucose/releases/0.1.0+17-upload.
# its parent directory with mode 700 outside the repository. The lane writes a
# pending claim before the request and atomically marks it complete only after a
# confirmed response. Never run concurrently or retry a pending claim.
TESTFLIGHT_NOTIFICATION_RECEIPT_PATH="/secure/openglucose/releases/0.1.0+17-notification.json"
TESTFLIGHT_NOTIFICATION_RECEIPT_PATH="/secure/openglucose/releases/0.1.0+18-notification.json"

# Immutable source identity; both values must match the clean worktree.
RELEASE_VERSION="0.1.0+17"
RELEASE_VERSION="0.1.0+18"
RELEASE_COMMIT="full-40-character-git-commit"

# Release approval and audience gates are fail-closed. External mode requires
Expand Down
2 changes: 0 additions & 2 deletions openhealth/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
Expand Down
2 changes: 1 addition & 1 deletion openhealth/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: openglucose
description: Your Open-source health and wellness app focused on local data and privacy.
publish_to: none
version: 0.1.0+17
version: 0.1.0+18

environment:
sdk: ^3.11.4
Expand Down
11 changes: 11 additions & 0 deletions openhealth/test/privacy_release_defaults_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,9 @@ void main() {
final liveActivityConfiguration = _read(
'ios/Flutter/LiveActivity.xcconfig',
);
final runnerInfo = _read('ios/Runner/Info.plist');
final runnerEntitlements = _read('ios/Runner/Runner.entitlements');
final releasePolicy = _read('../docs/releases.md');
expect(script, contains('RELEASE_APPROVED'));
expect(script, contains('DISTRIBUTE_EXTERNAL'));
expect(script, contains('DISTRIBUTE_INTERNAL'));
Expand Down Expand Up @@ -316,6 +318,15 @@ void main() {
expect(script, contains('verify_main_app_healthkit_profile'));
expect(script, contains('com.apple.developer.healthkit'));
expect(runnerEntitlements, contains('com.apple.developer.healthkit'));
expect(
runnerInfo,
isNot(contains('ITSAppUsesNonExemptEncryption')),
reason:
'External beta export compliance requires an explicit, recorded '
'Account Holder determination.',
);
expect(releasePolicy, contains('Account Holder'));
expect(releasePolicy, contains('export-compliance determination'));
expect(
runnerEntitlements,
isNot(contains('com.apple.developer.healthkit.access')),
Expand Down
0