Skip to content

Commit

Permalink
Comment ProxyLifecycleProvider to fix Flutter 3.24 kotlin compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
timbotimbo authored Aug 9, 2024
1 parent 45fffb5 commit d2f6dc8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class FlutterUnityWidgetPlugin : FlutterPlugin, ActivityAware {
*
* <p>This is used in the case where a direct Lifecycle/Owner is not available.
*/
/* // commented because of compilation errors in Flutter 3.24 and no references in the codebase.
@SuppressLint("NewApi")
private class ProxyLifecycleProvider(activity: Activity) : Application.ActivityLifecycleCallbacks, LifecycleOwner, LifecycleProvider {
private val lifecycle = LifecycleRegistry(this)
Expand Down Expand Up @@ -161,4 +162,5 @@ class FlutterUnityWidgetPlugin : FlutterPlugin, ActivityAware {
return lifecycle
}
}
}
*/
}

0 comments on commit d2f6dc8

Please sign in to comment.