-
Notifications
You must be signed in to change notification settings - Fork 232
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
BackgroundLocation.getLocationUpdates don't work #145
Comments
In my case it doesn't work in combination with Firebase Messaging initialization |
@KamilSvoboda this drove me crazy. did you manage to find a work around ? |
Unfortunately not. :( I'm waiting for the response of the plugin author. |
Damn! Mine too. Any suggestions for other plugins ? |
@jesussmile, i have my eye on https://pub.dev/packages/geolocation but haven't tried it yet |
Bumping this up, am facing the same issue on Android. Is it linked to FirebaseMessaging.onBackgroundMessage?? |
9 similar comments
Bumping this up, am facing the same issue on Android. Is it linked to FirebaseMessaging.onBackgroundMessage?? |
Bumping this up, am facing the same issue on Android. Is it linked to FirebaseMessaging.onBackgroundMessage?? |
Bumping this up, am facing the same issue on Android. Is it linked to FirebaseMessaging.onBackgroundMessage?? |
Bumping this up, am facing the same issue on Android. Is it linked to FirebaseMessaging.onBackgroundMessage?? |
Bumping this up, am facing the same issue on Android. Is it linked to FirebaseMessaging.onBackgroundMessage?? |
Bumping this up, am facing the same issue on Android. Is it linked to FirebaseMessaging.onBackgroundMessage?? |
Bumping this up, am facing the same issue on Android. Is it linked to FirebaseMessaging.onBackgroundMessage?? |
Bumping this up, am facing the same issue on Android. Is it linked to FirebaseMessaging.onBackgroundMessage?? |
Bumping this up, am facing the same issue on Android. Is it linked to FirebaseMessaging.onBackgroundMessage?? |
You should use v0.7.0, it's not be error |
Wow am soo sorry 😔 didnt wanted to spam post it here, might be my internet acting up. I will give 0.7.0 a try thanks. |
following your advice, I downgraded but keep running into this error
|
You try run android native source for debug error |
Hi Team, V 0.7.0 won't work on Android 12 because of this error: Unable to create service com.almoullim.background_location.LocationUpdatesService: java.lang.IllegalArgumentException: uk.co.walkwithyou.walkwithyou: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. So can't use it. |
Removing "FirebaseMessaging.onBackgroundMessage" fixed it, but we need a real solution which can help us use FirebaseMessaging.onBackgroundMessage with this plugin. |
Why don't you use Background locator plugin instead . It works fine. |
Because this is not a blocker for me as of now, so I this plugin is fixed am happy to continue using it. |
Yes, it my problem so i used Geolocator |
gotcha, in that case, closing this as a duplicate of #139 to consolidate everything into one issue |
I use 0.8.1 it not work, but it's work with 0.6.0
[√] Flutter (Channel stable, 2.5.0, on Microsoft Windows [Version 10.0.18363.1556], locale vi-VN)
• Flutter version 2.5.0 at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 4cc385b4b8 (5 months ago), 2021-09-07 23:01:49 -0700
• Engine revision f0826da7ef
• Dart version 2.14.0
The text was updated successfully, but these errors were encountered: