WebKit-interner Content-Filter via ManagedSettingsStore().webContent als stilles Sicherheitsnetz. Blockt eine kuratierte, laenderabhaengige Top- Gambling-Domain-Liste plus systemseitig Adult-Content (.auto-Variante). Braucht NUR Family Controls — kein MDM, kein neues Entitlement, keine Config-Plugin-Aenderung. - gambling-domains.json: gebuendelte Starter-Liste (DE/GB/FR), je <=50 Domains (Apple-Hartlimit), klar als STARTER markiert. Via Podspec- resource_bundles ins App-Bundle gepackt. - applyWebContentFilter / clearWebContentFilter: zwei native AsyncFunctions. Land via Locale.current.region, iOS 16+ gegated, FC-Auth vorausgesetzt. - JS-Bridge (Module-Decl, types, web-stub, lib/protection.ts) + Actions im useProtectionState-Hook. getDeviceState liefert webContentFilter-Layer mit. KEINE Auto-Trigger-Logik — Layer 2 ist vorerst nur explizit aufrufbare Capability. Siehe TODO(layer2-gating) im Swift-Modul und lib/protection.ts. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
19 lines
421 B
TypeScript
19 lines
421 B
TypeScript
import RebreakProtectionModule from './src/RebreakProtectionModule';
|
|
|
|
export type {
|
|
ActivateResult,
|
|
DeviceLayers,
|
|
DisableResult,
|
|
HealthProbeOpts,
|
|
HealthProbeOutcome,
|
|
HealthProbeResult,
|
|
ProtectionLayerKey,
|
|
RebreakProtectionEvents,
|
|
SyncBlocklistOpts,
|
|
SyncBlocklistResult,
|
|
SystemSettingsTarget,
|
|
WebContentFilterResult,
|
|
} from './src/RebreakProtection.types';
|
|
|
|
export default RebreakProtectionModule;
|