[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.17134.765], locale en-PK)
• Flutter version 1.5.4-hotfix.2 at C:\src\flutter
• Framework revision 7a4c33425d (4 weeks ago), 2019-04-29 11:05:24 -0700
• Engine revision 52c7a1e849
• Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Users\Saadi\AppData\Local\Android\Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = C:\Users\Saadi\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[√] Android Studio (version 3.4)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 35.3.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[√] VS Code (version 1.34.0)
• VS Code at C:\Users\Saadi\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.0.2
[√] VS Code, 64-bit edition (version 1.20.0)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 3.0.2
Android studio
flutter info
,flutter doctor
):[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.17134.765], locale en-PK) • Flutter version 1.5.4-hotfix.2 at C:\src\flutter • Framework revision 7a4c33425d (4 weeks ago), 2019-04-29 11:05:24 -0700 • Engine revision 52c7a1e849 • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK at C:\Users\Saadi\AppData\Local\Android\Sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • ANDROID_HOME = C:\Users\Saadi\AppData\Local\Android\Sdk • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01) • All Android licenses accepted.
[√] Android Studio (version 3.4) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin version 35.3.1 • Dart plugin version 183.6270 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[√] VS Code (version 1.34.0) • VS Code at C:\Users\Saadi\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.0.2
[√] VS Code, 64-bit edition (version 1.20.0) • VS Code at C:\Program Files\Microsoft VS Code • Flutter extension version 3.0.2
[√] Connected device (1 available) • PRA LA1 • HGHDU17215004602 • android-arm64 • Android 8.0.0 (API 26)
• No issues found!
Plugin config BackgroundGeolocationFirebase.configure(BackgroundGeolocationFirebaseConfig( locationsCollection: "locations", geofencesCollection: "geofences", updateSingleDocument: false ));
bg.BackgroundGeolocation.ready(bg.Config( debug: true, distanceFilter: 50, logLevel: bg.Config.LOG_LEVEL_VERBOSE, stopTimeout: 1, stopOnTerminate: false, startOnBoot: true )).then((bg.State state) { setState(() { _enabled = state.enabled; }); });
To Reproduce Steps to reproduce the behavior:
Debug logs
$ adb logcat
2019-05-26 12:38:43.098 22319-22319/com.example.flutter_app D/ActivityThread: ActivityThread,attachApplication 2019-05-26 12:38:43.416 22319-22319/com.example.flutter_app V/ActivityThread: ActivityThread,callActivityOnCreate 2019-05-26 12:38:43.965 22319-22319/com.example.flutter_app D/ActivityThread: add activity client record, r= ActivityRecord{db3878d token=android.os.BinderProxy@71aaede {com.example.flutter_app/com.example.flutter_app.MainActivity}} token= android.os.BinderProxy@71aaede 2019-05-26 13:09:38.278 22319-22354/com.example.flutter_app I/flutter: ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════ 2019-05-26 13:09:38.315 22319-22354/com.example.flutter_app I/flutter: The following MissingPluginException was thrown while activating platform stream on channel 2019-05-26 13:09:38.315 22319-22354/com.example.flutter_app I/flutter: com.transistorsoft/flutter_background_geolocation/events/location: 2019-05-26 13:09:38.315 22319-22354/com.example.flutter_app I/flutter: MissingPluginException(No implementation found for method listen on channel 2019-05-26 13:09:38.315 22319-22354/com.example.flutter_app I/flutter: com.transistorsoft/flutter_background_geolocation/events/location) 2019-05-26 13:09:38.318 22319-22354/com.example.flutter_app I/flutter: When the exception was thrown, this was the stack: 2019-05-26 13:09:38.347 22319-22354/com.example.flutter_app I/flutter: #0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:300:7) 2019-05-26 13:09:38.347 22319-22354/com.example.flutter_app I/flutter:0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:300:7)