-
Notifications
You must be signed in to change notification settings - Fork 111
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
Android 14 #119
Comments
Have a look at https://developer.android.com/about/versions/14/changes/fgs-types-required. My fork at https://github.com/stevehayles/background_locator_fixed has the changes needed in the master branch to resolve this. I have some other differences like reverting the Google Play Services version to 20 but if you look in at the IsolateHolderService.kt file it has the fixes. You will need to have a compileSdkVersion of 34 |
@stevehayles i test your fork and not work after updates |
Hi, I cannot comment on your implementation, the repo shows what changes are required to update the library for Android 14. It's not a pull request, for me it resolves the issue and I was simply offering some guidance. |
BackgroundLocator 2 2.0.6 version ishlatganman
Android 14da chiqyapdi
Caused by: android.app.MissingForegroundServiceTypeException: Starting FGS without a type callerApp=ProcessRecord{4bdb296 11745:uz.example/u0a103} targetSDK=34
The text was updated successfully, but these errors were encountered: