Skip to content

Commit d2f6dc8

Browse files
authored
Comment ProxyLifecycleProvider to fix Flutter 3.24 kotlin compilation.
1 parent 45fffb5 commit d2f6dc8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/FlutterUnityWidgetPlugin.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ class FlutterUnityWidgetPlugin : FlutterPlugin, ActivityAware {
9292
*
9393
* <p>This is used in the case where a direct Lifecycle/Owner is not available.
9494
*/
95+
/* // commented because of compilation errors in Flutter 3.24 and no references in the codebase.
9596
@SuppressLint("NewApi")
9697
private class ProxyLifecycleProvider(activity: Activity) : Application.ActivityLifecycleCallbacks, LifecycleOwner, LifecycleProvider {
9798
private val lifecycle = LifecycleRegistry(this)
@@ -161,4 +162,5 @@ class FlutterUnityWidgetPlugin : FlutterPlugin, ActivityAware {
161162
return lifecycle
162163
}
163164
}
164-
}
165+
*/
166+
}

0 commit comments

Comments
 (0)