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:
@@ -44,6 +44,12 @@
|
||||
|
||||
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
|
||||
<queries>
|
||||
<!-- url_launcher: needed on Android 11+ to resolve the browser for the
|
||||
privacy policy link. -->
|
||||
<intent>
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
<data android:scheme="https"/>
|
||||
</intent>
|
||||
<intent>
|
||||
<action android:name="android.intent.action.PROCESS_TEXT"/>
|
||||
<data android:mimeType="text/plain"/>
|
||||
|
||||
Reference in New Issue
Block a user