-
Notifications
You must be signed in to change notification settings - Fork 165
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
Background Task is Unreliable #608
Comments
Could you be more specific or post a screen rec. |
Sorry, it's working now. |
How many github apps do you have, and have you added a hithub access token? I'm guessing your github update checks are being rate limited so obtainium has to wait a while before continuing. This would probably result in the notification sticking around during the wait, but I need to double check that. |
You're right, I haven't a token (didn't knew I could) |
Added a token, same behavior |
If the token was not valid, you'd get an "unauthorized" error. |
Could you post app logs for when this happens |
Log
|
The issue is back again. @ImranR98 can u check it. |
Yeah, seems to have gotten a lot worse for me on Android 14. Is this the case for you? |
I'm stuck on Android 12, UI 4.1. Samsung Galaxy Note10 |
How frequent is it for you? |
Maybe once or twice a day. I usually kill the app to clear it. I can be more aware of how often for the future. Thank you for such a amazing app. |
Could you also try opening the app (without killing it first) to see if that does anything. I've been seeing weird behaviour where the background task "pauses" for hours but resumes once I open the app. New to Android 14 so it may be a different issue to this one. |
Done. It still shows same notification. I have not cleared it manually nor killed the app. |
You can update. Today's changes shouldn't have any effect on this. |
Thank you for your time and help. I had to ask, as updating would of course restart the app and remove the "stuck notification". |
I updated to 0.14.31 and it seemed to work, but I have again gotten the "Checking for Updates" notification, like the one I posted a screenshot of earlier, which has now been stuck since 18:16. |
Been banging my head on this for hours. Most other plugins seem out of date, poorly supported, or are missing features (like being able to pass data into the background task). Someone suggested using a foreground task - that's an option but seems unnecessarily complicated for something so simple. Really wish I hadn't used Flutter (not like native Android was an option). I've opened this issue for the plugin currently being used, hopefully it turns out to be a small bug: fluttercommunity/plus_plugins#2314 |
+1 checking for updates notifications and also "attempted to update" notifications, but those are rarer and so far only for telegram and signal, which pull from their own websites instead of repositories like github or fdroid. |
SCHEDULE_EXACT_ALARM permission seems to be disabled by default in Android 14, does this have anything to do with background tasks? I reinstalled Obtainium on Android 14 and confirmed that the "Alarm & reminder" setting has disappeared from the Settings app. |
I once tried to create PAT & ended up getting shadow banned by GitHub declaring my GitHub account as "spam user". All of my comments, created issues/discussions were shadow banned completely. Llike this one: I ended up creating another account & started everything from scratch. I never recommend use GitHub PATs for obtainium. Better track F-Droid repos if those app provides updates. |
Then what is the purpose of this app. This app was developed to avoid using fdroid and it's signed apps. |
@BabyOilJohnson You can limit the amount of GitHub apps you track, to 30. You'll never face rate limits. |
I've switched to a different background task implementation which doesn't seem to have the same issues on Android 14. Works fine in my basic testing but I'd like to be more thorough before release. APKs attached below, please help test if you can (even testing on older versions of Android would be helpful): |
So far working. I set to update every hour.
…-------- Original Message --------
On Dec 28, 2023, 01:42, Imran wrote:
I've switched to a different background task implementation which doesn't seem to have the same issues on Android 14. Works fine in my basic testing but I'd like to be more thorough before release. APKs attached below, please help test if you can (even testing on older versions of Android would be helpful):
[app-arm64-v8a-release.zip](https://github.com/ImranR98/Obtainium/files/13784751/app-arm64-v8a-release.zip)
[app-armeabi-v7a-release.zip](https://github.com/ImranR98/Obtainium/files/13784752/app-armeabi-v7a-release.zip)
—
Reply to this email directly, [view it on GitHub](#608 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ACO7R3BWYAAVX4Q67A7OLOLYLUWJBAVCNFSM6AAAAAAY2CGGPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQHE2DKOJZHA).
You are receiving this because you commented.Message ID: ***@***.***>
|
Closing - seems fixed. |
Just saw this comment. Obtainium just makes authenticated HTTP requests to GitHub's public API - which is the exact use case PATs were meant for, so I doubt it is responsible. Either way, not related to this issue. |
The update notification is not clearing after the app is updated. In early versions, it worked fine but now it's not.
The text was updated successfully, but these errors were encountered: