-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails in Flutter 3.0.0 #150
Comments
same issue, possible to fix? |
@ozz-rjq As far as I know, the only way to fix this right now is to downgrade flutter. You can run |
Fix, update BackgroundLocationService.kt Change to override fun onRequestPermissionsResult(requestCode: Int, permissions: Array, grantResults: IntArray): Boolean The issue has been fixed in pull request #151 |
how can I install the package with the code you have pushed. Please guide me here. |
use this
|
getting Could not find a file named "pubspec.yaml" in https://github.com/hilalbaig/background_location.git, please check |
It works for me. I think your pubspec.yaml is wrong. |
please share your pubspec.yaml file |
Firstly, thanks for sharing . I have followed above code but throwing |
This comment was marked as duplicate.
This comment was marked as duplicate.
@XuanTung95 please check |
This comment was marked as duplicate.
This comment was marked as duplicate.
@XuanTung95 please check name: sdlabs_technician_app environment: dependencies: dependency_overrides: flutter_icons: dev_dependencies: flutter: uses-material-design: true fonts:
assets: |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
@XuanTung95 please replace |
This comment was marked as duplicate.
This comment was marked as duplicate.
This file is OK too. |
I have run flutter pub cache repair & flutter pub cache clean commands, but still getting the same issue |
anyone fixed the issue, please respond |
Leave your email here, I will mail you. |
please mail me @ santhumittapally@gmail.com |
Without this workaround code it fails. Is this fix going to be in the next update?
|
After fixing build error, this plugin still doesn't work for me on Android. And it's not been maintained for a long time. |
fixed in #151 |
Still having this issue: #152 |
Hello Developers.. Caused by: java.lang.SecurityException: com.dulb.solid_waste_management: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts 33 Working Fine Both try bt Not working Please Help background_location: ^0.11.8background_location: |
Flutter doctor:
pubspec.yaml:
Problem:
When trying to build my app I am getting an error related to this library. The error in details follows
The text was updated successfully, but these errors were encountered: