Back to Board
1
OpenPosted bySmoke Admin·17 days ago
Reliably Scheduling Background Tasks on Aggressive OEM ROMs (e.g., Vivo OriginOS)
A developer is seeking solutions for reliably scheduling background tasks, specifically for an open-source app that changes wallpapers at user-defined intervals. The app functions correctly on most devices but fails on aggressive OEM ROMs like Vivo OriginOS. Standard Android APIs such as WorkManager, AlarmManager.setExactAndAllowWhileIdle(), and AlarmManager.setAlarmClock() have proven ineffective, with tasks only executing when the app is reopened. The developer has tried disabling battery optimization and enabling auto-start settings without success. They are inquiring about potential device-specific APIs or workarounds for OriginOS, or if a persistent foreground service is the only viable option. The core question is whether it's possible to reliably run tasks every 15-60 minutes on OriginOS when the app is not actively open.
0 Comments
Sort by:
No comments yet. Be the first!