Skip to content

Commit

Permalink
Error Solved- Type mismatch: inferred type is Activity? but Activity …
Browse files Browse the repository at this point in the history
…was expected

After upgrading Flutter to 3.0, jitsi_meet was showing error as
jitsi_meet\JitsiMeetPlugin.kt: (66, 42): Type mismatch: inferred type is Activity? but Activity was expected
  • Loading branch information
sohelakhtar23 committed Jun 17, 2022
1 parent 97154d5 commit f9596e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class JitsiMeetPlugin() : FlutterPlugin, MethodCallHandler, ActivityAware

private var activity: Activity? = null

constructor(activity: Activity) : this() {
constructor(activity: Activity?) : this() {
this.activity = activity
}

Expand Down

0 comments on commit f9596e7

Please sign in to comment.