Skip to content

Commit

Permalink
Added an extra success log
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Feb 19, 2021
1 parent ff6cb5a commit f9bfc24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ios/Classes/SwiftBackgroundLocationTrackerPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ extension SwiftBackgroundLocationTrackerPlugin: FlutterPlugin {
return nil
}
let success = flutterEngine.run(withEntrypoint: flutterCallbackInformation.callbackName, libraryURI: flutterCallbackInformation.callbackLibraryPath)

CustomLogger.log(message: "FlutterEngine.run returned `\(success)`")
if (success) {
SwiftBackgroundLocationTrackerPlugin.flutterPluginRegistrantCallback?(flutterEngine)
self.flutterEngine = flutterEngine
Expand Down

0 comments on commit f9bfc24

Please sign in to comment.