This repository was archived by the owner on Aug 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
26
26
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
27
27
28
28
android {
29
- compileSdkVersion 30
29
+ compileSdkVersion 31
30
30
31
31
sourceSets {
32
32
main. java. srcDirs + = ' src/main/kotlin'
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext. kotlin_version = ' 1.3.50 '
2
+ ext. kotlin_version = ' 1.6.10 '
3
3
repositories {
4
4
google()
5
5
mavenCentral()
Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ class _MyAppState extends State<MyApp> {
31
31
super .initState ();
32
32
33
33
/// [Authenticator] needs to be registered as an app lifecycle observer
34
- WidgetsBinding .instance? .addObserver (globalAuthenticator);
34
+ WidgetsBinding .instance.addObserver (globalAuthenticator);
35
35
}
36
36
37
37
@override
38
38
void dispose () {
39
39
/// When disposing of the app, remove [Authenticator] 's subscription
40
40
/// to lifecycle events
41
- WidgetsBinding .instance? .removeObserver (globalAuthenticator);
41
+ WidgetsBinding .instance.removeObserver (globalAuthenticator);
42
42
super .dispose ();
43
43
}
44
44
You can’t perform that action at this time.
0 commit comments