Fix Android 14 authentication breakage.
Workaround to fix issue #148: authentication failure to redirect back to FFA. Google issue tracker: https://issuetracker.google.com/issues/210886001 Workaround suggested by AppAuth: https://github.com/openid/AppAuth-Android/issues/977#issuecomment-1785604118
This commit is contained in:
parent
c1eb9d6b2a
commit
c9056a2dbe
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||
|
@ -56,6 +57,11 @@
|
|||
android:name=".activities.LicencesActivity"
|
||||
android:screenOrientation="portrait" />
|
||||
|
||||
<activity
|
||||
android:name="net.openid.appauth.AuthorizationManagementActivity"
|
||||
android:launchMode="@integer/launch_mode_for_app_auth"
|
||||
tools:replace="android:launchMode" />
|
||||
|
||||
<service
|
||||
android:name=".playback.PlayerService"
|
||||
android:foregroundServiceType="mediaPlayback"
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- LAUNCH_SINGLE_INSTANCE -> overrides library mode because of
|
||||
bug in Android 14 (34) which causes infinite loop
|
||||
should be fixed soon with version 14.1 -->
|
||||
<integer name="launch_mode_for_app_auth">3</integer>
|
||||
</resources>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- LAUNCH_SINGLE_TASK -> default value from library -->
|
||||
<integer name="launch_mode_for_app_auth">2</integer>
|
||||
</resources>
|
|
@ -0,0 +1 @@
|
|||
+ Workaround Android 14 authentication breakage. Issue #148 (contributed by hdasch)
|
Loading…
Reference in New Issue