Skip to content

Commit

Permalink
Move the log
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Feb 19, 2021
1 parent f9bfc24 commit 005c281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/SwiftBackgroundLocationTrackerPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ extension SwiftBackgroundLocationTrackerPlugin: FlutterPlugin {
SwiftBackgroundLocationTrackerPlugin.flutterPluginRegistrantCallback?(flutterEngine)
self.flutterEngine = flutterEngine
} else {
CustomLogger.log(message: "FlutterEngine.run returned `false` we will cleanup the flutterEngine")
flutterEngine.destroyContext()
CustomLogger.log(message: "FlutterEngine.run returned `false` this means that the callback function could not be fount, triggered or there was a crash in your callback function.")
}
}
return flutterEngine
Expand Down

0 comments on commit 005c281

Please sign in to comment.