app: privacy policy link in the settings sheet
- new lib/src/ui/links.dart holds kPrivacyPolicyUrl (single source of truth for the app, the store listing and the compliance docs) - settings sheet: "Datenschutzerklaerung" tile opens the policy in the browser via url_launcher; manifest grown a <queries> VIEW/https intent so Android 11+ can resolve it - verified on device: tap sends ACTION_VIEW for the URL and Chrome comes up - guard: tools/build_release.sh aborts while links.dart still contains the example.invalid placeholder, so a release cannot ship without a policy URL - docs: compliance row updated (in-app entry done, only the public URL missing)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/// External links. Single source of truth: the settings sheet, the store
|
||||
/// listing and the compliance docs all quote these strings.
|
||||
///
|
||||
/// The privacy policy URL must stay publicly reachable without login - Play
|
||||
/// rejects listings that point at a gated page, and AdMob shows it inside the
|
||||
/// consent form. `tools/build_release.sh` refuses to build while the
|
||||
/// placeholder below is still in place.
|
||||
const String kPrivacyPolicyUrl = 'https://example.invalid/iron-arc/privacy';
|
||||
|
||||
/// Placeholder marker used by the release guard.
|
||||
const String kPrivacyPolicyPlaceholder = 'example.invalid';
|
||||
Reference in New Issue
Block a user