From 88fe7315e1ff63c52acc8d38e3a9982eb002cfb1 Mon Sep 17 00:00:00 2001 From: Ben Konyi Date: Thu, 9 Aug 2018 09:27:57 -0700 Subject: [PATCH] Change runWithEntrypointAndCallback -> runWithEntrypointAndLibraryUri --- .../location_background/ios/Classes/LocationBackgroundPlugin.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/location_background/ios/Classes/LocationBackgroundPlugin.m b/packages/location_background/ios/Classes/LocationBackgroundPlugin.m index b0ca3acf5d2c..ea266a91013e 100644 --- a/packages/location_background/ios/Classes/LocationBackgroundPlugin.m +++ b/packages/location_background/ios/Classes/LocationBackgroundPlugin.m @@ -178,7 +178,7 @@ - (void)startHeadlessService:(int64_t)handle { // Here we actually launch the background isolate to start executing our // callback dispatcher, `_backgroundCallbackDispatcher`, in Dart. - [_headlessRunner runWithEntrypointAndCallback:entrypoint libraryUri:uri completion:nil]; + [_headlessRunner runWithEntrypointAndLibraryUri:entrypoint libraryUri:uri]; // The headless runner needs to be initialized before we can register it as a // MethodCallDelegate or else we get an illegal memory access. If we don't