carp-dk / carp-dk/flutter-plugins

carp_background_location: ^3.0.1 BackgroundLocatorPlugin

Open
#656 3 comments 0 reactions 0 assignees View on GitHub
bugfix
Dominant language
Dart
Stars
608
Forks
735
Avg merge
1m
Merged PRs (30d)
3

Description

**Boolean defined in io.flutter.plugin.common.PluginRegistry.NewIntentListener**

### Device / Emulator and OS
- Device: Samsung Note 9 SM-N9600
- OS: Android 10

Lib version: ^3.0.1

### Describe the bug

Launching lib\main_dev.dart on SM N9600 in debug mode...
Running Gradle task 'assembleDebug'...
e: C:\Users\phael\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\BackgroundLocatorPlugin.kt: (25, 1): Class 'BackgroundLocatorPlugin' is not abstract and does not implement abstract member public abstract fun onNewIntent(p0: Intent): Boolean defined in io.flutter.plugin.common.PluginRegistry.NewIntentListener
e: C:\Users\phael\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\BackgroundLocatorPlugin.kt: (215, 43): Type mismatch: inferred type is Map? but Map was expected
e: C:\Users\phael\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\BackgroundLocatorPlugin.kt: (215, 48): Type mismatch: inferred type is Map? but Map was expected
e: C:\Users\phael\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\BackgroundLocatorPlugin.kt: (224, 43): Type mismatch: inferred type is Map? but Map was expected
e: C:\Users\phael\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\BackgroundLocatorPlugin.kt: (224, 48): Type mismatch: inferred type is Map? but Map was expected
e: C:\Users\phael\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\BackgroundLocatorPlugin.kt: (243, 43): Type mismatch: inferred type is Map? but Map was expected
e: C:\Users\phael\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\BackgroundLocatorPlugin.kt: (243, 48): Type mismatch: inferred type is Map? but Map was expected
e: C:\Users\phael\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\BackgroundLocatorPlugin.kt: (266, 5): 'onNewIntent' overrides nothing
e: C:\Users\phael\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\BackgroundLocatorPlugin.kt: (275, 35): Type mismatch: inferred type is BinaryMessenger? but BinaryMessenger was expected
e: C:\Users\phael\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\IsolateHolderExtension.kt: (42, 27): Type mismatch: inferred type is BinaryMessenger? but BinaryMessenger was expected
e: C:\Users\phael\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\IsolateHolderService.kt: (269, 35): Type mismatch: inferred type is BinaryMessenger? but BinaryMessenger was expected
e: C:\Users\phael\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\pluggables\DisposePluggable.kt: (17, 51): Type mismatch: inferred type is BinaryMessenger? but BinaryMessenger was expected
e: C:\Users\phael\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\background_locator-1.6.12\android\src\main\kotlin\rekab\app\background_locator\pluggables\InitPluggable.kt: (22, 55): Type mismatch: inferred type is BinaryMessenger? but BinaryMessenger was expected

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':background_locator:compileDebugKotlin'.
> Compilation error. See log for more details

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 53s
Exception: Gradle task assembleDebug failed with exit code 1

### Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [versÆo 10.0.19045.2486], locale pt-BR)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.3)
[√] VS Code (version 1.74.2)
[√] Connected device (3 available)
[√] HTTP Host Availability

### Additional info

version: 1.6.0+72

environment:
sdk: ">=2.16.2 <3.0.0"

dependencies:
flutter:
sdk: flutter

cupertino_icons: ^1.0.5
flutter_plus: ^1.0.0
auto_size_text: ^3.0.0
mobx: ^2.1.3
flutter_mobx: ^2.0.6+5
get_it: ^7.2.0
get: ^4.6.5
dio: ^4.0.6
url_launcher: ^6.1.7
google_maps_flutter: ^2.2.3
firebase_messaging: ^14.2.1
firebase_core: ^2.4.1
wakelock: ^0.6.2
device_info_plus: ^8.0.0
package_info_plus: ^3.0.2
notification_permissions: ^0.6.1
flutter_ringtone_player: ^3.2.0
connectivity_plus: ^3.0.2
geolocator: ^9.0.2
image_picker: ^0.8.6
flutter_svg: ^1.1.6
app_settings: ^4.2.0
permission_handler: ^10.2.0
qr_flutter: ^4.0.0
flutter_masked_text2: ^0.9.1
vibration: ^1.7.6
flutter_phone_direct_caller: ^2.1.1
sentry_flutter: ^6.18.2
system_alert_window: ^1.2.1
overlay_support: ^2.1.0
flutter_local_notifications: ^13.0.0
font_awesome_flutter: ^10.3.0
carp_background_location: ^3.0.1
validadores: ^1.0.5
brasil_fields: ^1.9.0
firebase_core_platform_interface: ^4.5.2

dev_dependencies:
mobx_codegen: ^2.1.1
build_runner: ^2.3.3

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.