Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 9ceee1b6 authored by Álvaro Brey's avatar Álvaro Brey Committed by GitHub
Browse files

LoginSetupActivity: allow http/https in intent filter (#211)

* LoginSetupActivity: allow http/https in intent filter

Initially introduced in https://github.com/bitfireAT/davx5-ose/commit/054f1ece612eceef962b356b7ad8b2b7125a6393

,
this `intent-filter` breaks login from the Nextcloud app, as we send the server URI as `http`/`https`.

Signed-off-by: default avatarÁlvaro Brey <alvaro.brey@nextcloud.com>

* Update intent-filter for login flow on api lvl 33 (closes bitfireAT/davx5#172)

Signed-off-by: default avatarÁlvaro Brey <alvaro.brey@nextcloud.com>
Co-authored-by: default avatarSunik Kupfer <kupfer@bitfire.at>
parent e6ecc7a9
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -124,6 +124,12 @@
                <data android:scheme="carddavs"/>
                <data android:scheme="davx5"/>
            </intent-filter>
            <intent-filter>
                <action android:name="loginFlow" /> <!-- Ensures this filter matches, even if the sending app is not defining an action -->
                <category android:name="android.intent.category.DEFAULT" />
                <data android:scheme="http" />
                <data android:scheme="https" />
            </intent-filter>
        </activity>

        <activity