nextcloud / nextcloud/notes-android
Disable battery optimizations on first run
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 168
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 31
Description
Is your feature request related to a problem? Please describe.
Other applications request that you disable battery optimizations and warn the user that suff will break if they don't. I don't remember seeing this on the Notes app, I just configured the account and started using it. Soon sync started to fail randomly, I tried to roll back to a previous version, then I had to keep the Nextcloud app open all the time, sometimes I even had to log in with the web browser to be able to sync my notes. I hated this application with all my heart, I wanted to stop using it and wondered how such a big pile of shit had been released to the public. Then I saw Github issues that did mention sync problems due to battery optimizations, after disabling them the app works perfectly. Please warn new users about this problem when they run the app the first time. I just tried installing the app on a different device from f-droid and there is no warning at all.
Describe the solution you'd like
Warn new users about battery optimizations or request permissions to disable if possible
Describe alternatives you've considered
There is no alternative, with battery optimizations sync fails
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Android app's first-run flow and its existing handling of battery optimization settings. Determine how the app can warn users or request the relevant exemption, then verify that the first-run experience explains the sync impact and that sync continues to work when optimization remains enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100