transistorsoft / cordova-background-geolocation-lt

The most sophisticated background location-tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.
http://www.transistorsoft.com/shop/products/cordova-background-geolocation
Other
656 stars 277 forks source link

Information Required - What is the minimum plugin version I should install inorder to support API level 31(Android 12). #1414

Closed Tejas-ChandraShekarRaju closed 5 months ago

Tejas-ChandraShekarRaju commented 8 months ago

I'm seeing crash reports which points to this plugin( I will update here once I have the logs). But however we are using 3.10.0, which is next version I can upgrade to stay compatible to Android 31. I'm not able to gather any info from your change logs as well. Is there a compatibility table I can refer to?

christocracy commented 8 months ago

I have no idea.

Use latest version or you’ll have problems with devices running latest iOS and Android versions

Tejas-ChandraShekarRaju commented 8 months ago

Hi @christocracy. Thank you for your response

We use the below versions

Target SDK -> 31 "cordova-background-geolocation-lt": "3.10.0", "cordova-plugin-background-fetch": “6.1.1” "cordova-background-geolocation-lt": { "OKHTTP_VERSION": "3.12.+", "APPCOMPAT_VERSION": "28.+", "GOOGLE_API_VERSION": "16.0.0", "EVENTBUS_VERSION": "3.0.0" }, "cordova": "10.0.0", "cordova-android": "^9.1.0",

With the above versions we are facing the below issue for android 12 and 13. Can you please assist us here?

image image
christocracy commented 8 months ago

You need to upgrade to the latest version.

Tejas-ChandraShekarRaju commented 5 months ago

This got resolved after upgrading to 4.9.4.

christocracy commented 5 months ago

4.9.4 will not work on devices running Android 13+

Tejas-ChandraShekarRaju commented 5 months ago

Noted and Thanks @christocracy . Will upgrade to latest when releasing for SDK 33. We can close this issue

christocracy commented 5 months ago

In the meantime, your Android 13+ users will find that your app won't work.

Tejas-ChandraShekarRaju commented 5 months ago

This is only if my App targets Andoird SDK 34 correct? As long as the run time is targeting only Android SDK 33 then checks that are enforced for Android 34 shouldn't be a problem.