From b78a0c63535e083f7801afcab01d8db35e3769da Mon Sep 17 00:00:00 2001 From: Fahim Masud Choudhury Date: Tue, 8 Jul 2025 15:25:51 +0600 Subject: [PATCH] feat: improve f-droid link handling - Handle only app-specific links - Add pathPrefix to handle only app-specific links The pathPattern .*/packages/.*\..* ensures that the path contains /packages/ followed by a string with at least one dot, which is characteristic of a package name. This will correctly handle URLs like https://f-droid.org/en/packages/com.klee.sapio/ and ignore URLs like https://f-droid.org/en/packages/. --- app/src/main/AndroidManifest.xml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 673db1004..611458f23 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -84,14 +84,40 @@ + + + - + + + + + + + + + + + + + + + + + + + + + + + + -- GitLab