It was commented out wholesale in 398b7b9 so the App-Store/TestFlight provisioning profile would build (Apple hasn't granted the *Distribution* Family Controls entitlement yet). But that also killed it for the dev-client, so denyAppRemoval / ManagedSettings throws "NSCocoaErrorDomain:4099 — can't talk to the helper app" when you flip the Blocker-page App-Lock. Gate it on REBREAK_ENABLE_FAMILY_CONTROLS, set to "1" in eas.json's development profile (internal distribution → Development entitlement, which we do have). The preview/production profiles stay without it until Apple approves the Distribution entitlement — then add the flag there too + bump buildNumber. NOTE: the next `eas build -p ios --profile development` will re-provision the main app profile to include the entitlement; if Apple turns out NOT to have granted the *Development* one either, that build will fail the same way the TestFlight one did. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
63 lines
1.4 KiB
JSON
63 lines
1.4 KiB
JSON
{
|
|
"cli": {
|
|
"version": ">= 5.0.0",
|
|
"appVersionSource": "local"
|
|
},
|
|
"build": {
|
|
"development": {
|
|
"developmentClient": true,
|
|
"distribution": "internal",
|
|
"env": {
|
|
"EXPO_PUBLIC_API_URL": "https://staging.rebreak.org",
|
|
"REBREAK_ENABLE_FAMILY_CONTROLS": "1"
|
|
},
|
|
"ios": {
|
|
"simulator": false
|
|
},
|
|
"android": {
|
|
"buildType": "apk"
|
|
}
|
|
},
|
|
"preview": {
|
|
"distribution": "store",
|
|
"env": {
|
|
"EXPO_PUBLIC_API_URL": "https://staging.rebreak.org"
|
|
},
|
|
"ios": {
|
|
"resourceClass": "m-medium",
|
|
"autoIncrement": false
|
|
},
|
|
"android": {
|
|
"buildType": "apk",
|
|
"autoIncrement": false
|
|
}
|
|
},
|
|
"production": {
|
|
"env": {
|
|
"EXPO_PUBLIC_API_URL": "https://staging.rebreak.org"
|
|
},
|
|
"ios": {
|
|
"resourceClass": "m-medium",
|
|
"autoIncrement": false
|
|
},
|
|
"android": {
|
|
"buildType": "app-bundle",
|
|
"autoIncrement": false
|
|
}
|
|
}
|
|
},
|
|
"submit": {
|
|
"production": {
|
|
"ios": {
|
|
"appleId": "tunisie@hotmail.de",
|
|
"ascAppId": "6762027467",
|
|
"appleTeamId": "84BQ7MTFYK"
|
|
},
|
|
"android": {
|
|
"serviceAccountKeyPath": "<TODO: lokaler Pfad zu Google-Cloud-Service-Account-JSON, z.B. ~/secrets/rebreak-play-service-account.json>",
|
|
"track": "internal"
|
|
}
|
|
}
|
|
}
|
|
}
|