~emersion/goguma-dev

android: make https links to open on their default handler v1 APPLIED

Pedro Lucas Porcellis: 1
 android: make https links to open on their default handler

 1 files changed, 7 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/goguma-dev/patches/32197/mbox | git am -3
Learn more about email & git

[PATCH] android: make https links to open on their default handler Export this patch

This also will make things like reddit links being opened on user's
defined handler (i.e. the reddit app client, etc)
---
 android/app/src/main/AndroidManifest.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index bf4fffd..d283d44 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -9,6 +9,13 @@
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
    <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>

    <queries>
        <intent>
            <action android:name="android.intent.action.VIEW" />
            <data android:scheme="https" />
        </intent>
    </queries>

    <application
        android:label="Goguma"
        android:name="${applicationName}"
-- 
2.36.0
Pushed, thanks!