Skip to content

Commit 5d08f44

Browse files
committed
Upgrade AppAuth + change theme to fix OIDC flow
1 parent 7a4dae3 commit 5d08f44

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
android:label="@string/app_name"
3232
android:networkSecurityConfig="@xml/network_security_config"
3333
android:requestLegacyExternalStorage="true"
34+
tools:replace="android:theme"
35+
android:theme="@style/NormalTheme"
3436
android:roundIcon="@mipmap/ic_launcher_round">
3537
<activity
3638
android:name=".MainActivity"

android/app/src/main/res/values/styles.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33
<!-- Theme applied to the Android Window while the process is starting -->
4-
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
4+
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
55
<!-- Show a splash screen on the activity. Automatically removed when
66
Flutter draws its first frame -->
77
<item name="android:windowBackground">@drawable/launch_background</item>
@@ -12,7 +12,7 @@
1212
running.
1313
1414
This Theme is only used starting with V2 of Flutter's Android embedding. -->
15-
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
15+
<style name="NormalTheme" parent="Theme.AppCompat.Light.NoActionBar">
1616
<item name="android:windowBackground">@android:color/white</item>
1717
</style>
1818
</resources>

data/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ dependencies:
5757
ref: master
5858

5959
# OIDC
60-
flutter_appauth: 2.1.0+1
60+
flutter_appauth: 4.0.0
6161

6262
# uuid
6363
uuid: 3.0.6

pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,14 +392,14 @@ packages:
392392
name: flutter_appauth
393393
url: "https://pub.dartlang.org"
394394
source: hosted
395-
version: "2.1.0+1"
395+
version: "4.0.0"
396396
flutter_appauth_platform_interface:
397397
dependency: transitive
398398
description:
399399
name: flutter_appauth_platform_interface
400400
url: "https://pub.dartlang.org"
401401
source: hosted
402-
version: "4.1.0"
402+
version: "5.2.0"
403403
flutter_datetime_picker:
404404
dependency: "direct main"
405405
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ dependencies:
115115
permission_handler: 10.2.0
116116

117117
# OIDC
118-
flutter_appauth: 2.1.0+1
118+
flutter_appauth: 4.0.0
119119

120120
# datetime picker
121121
flutter_datetime_picker: 1.5.1

0 commit comments

Comments
 (0)