Open david-laundav opened 6 years ago
I'm not sure upgrading is going to help. It looks like some folks are suggesting 11.4.0 and we're already 11.4.2. Also another noting it's still an issue on 15.0.1.
This also leads me to believe it's a usage/configuration issue rather than a xamarin binding issue.
What does your final AndroidManifest.xml look like in your app?
Hi @Redth and @SotoiGhost,
As a note, on the 5th of September 2018, this was solved in the Android Library:
Spetember 5, 2018 Android Sender 16.0.2
Fixed the IllegalStateException thrown when ReconnectionService is started in background if the app targets to Android O or higher. Apps that enable reconnection service should update to use this version to avoid being affected this bug.
https://developers.google.com/cast/docs/release-notes#spetember-5-2018
This means that targeting the newest version of the Android SKD should help circumvent this issue.
Thanks, we're currently working on getting 15.x versions out, and after that we'll look at first updating this particular library to 16.0.2 where it appears to be fixed on Google's side.
we are getting this issue with version com.google.android.gms:play-services-analytics:16.0.6'
This sounds like an upstream bug and I'm not sure where it's fixed. Please give this a try once we get preview packages out for 16.0.2 or higher.
CampaignTrackingService remove from manifest its depecreated
I am using com.google.android.gms:play-services-analytics:16.0.6
still occur this issue.
I am using
com.google.android.gms:play-services-analytics:16.0.6
still occur this issue.
Same for me.
@iBotasky @hamidsn
Could you provide minimal repro sample, please?
Thanks
17.0.0
still occur this issue at 100% HUAWEI (Android 10)
Xamarin.Android Version (eg: 6.0):
8.0+
Operating System & Version (eg: Mac OSX 10.11):
N/A
Google Play Services Version (eg: 8.4.0):
NuGet: 60.1142.1
Describe your Issue:
We're getting lots of reported crashes from Android 8.0 devices for the Google Analytics library.
Others have mentioned that the solution is to upgrade, but there is no new update available for the Xamarin binding libraries.
Steps to Reproduce (with link to sample solution if possible):
N/A
Include any relevant Exception Stack traces, build logs, adb logs:
Stacktrace
Message: Not allowed to start service Intent { act=com.google.android.gms.analytics.ANALYTICS_DISPATCH cmp=com.juke.music/com.google.android.gms.analytics.AnalyticsService }: app is in background uid UidRecord{37d58a2 u0a191 CAC bg:+2m49s628ms idle procs:1 seq(0,0,0)}