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'
2626apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
2727
2828android {
29- compileSdkVersion 30
29+ compileSdkVersion 31
3030
3131 sourceSets {
3232 main. java. srcDirs + = ' src/main/kotlin'
Original file line number Diff line number Diff line change 11buildscript {
2- ext. kotlin_version = ' 1.3.50 '
2+ ext. kotlin_version = ' 1.6.10 '
33 repositories {
44 google()
55 mavenCentral()
Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ class _MyAppState extends State<MyApp> {
3131 super .initState ();
3232
3333 /// [Authenticator] needs to be registered as an app lifecycle observer
34- WidgetsBinding .instance? .addObserver (globalAuthenticator);
34+ WidgetsBinding .instance.addObserver (globalAuthenticator);
3535 }
3636
3737 @override
3838 void dispose () {
3939 /// When disposing of the app, remove [Authenticator] 's subscription
4040 /// to lifecycle events
41- WidgetsBinding .instance? .removeObserver (globalAuthenticator);
41+ WidgetsBinding .instance.removeObserver (globalAuthenticator);
4242 super .dispose ();
4343 }
4444
You can’t perform that action at this time.
0 commit comments