Skip to content

Commit

Permalink
fix: Handle null check on Android when checking CallbackInformation
Browse files Browse the repository at this point in the history
Co-authored-by: Elias Tourneux <[email protected]>
  • Loading branch information
eliasto and elias-sncf authored Dec 3, 2023
1 parent 79acf46 commit acd95d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class HomeWidgetBackgroundService : MethodChannel.MethodCallHandler, JobIntentSe

engine = FlutterEngine(context)

val callbackInfo = FlutterCallbackInformation.lookupCallbackInformation(callbackHandle)
val callbackInfo = FlutterCallbackInformation.lookupCallbackInformation(callbackHandle) ?: return



Expand Down

0 comments on commit acd95d6

Please sign in to comment.