QuantumBadger / QuantumBadger/RedReader

CookieSyncManager is not needed from API 21

Open
#539 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
Java
Stars
2.7k
Forks
527
Avg merge
20d 10h
Merged PRs (30d)
3

Description

Hi,
I found in WebViewFragment, CookieSyncManager is instantiated yet this API is deprecated from API 21 and not needed on higher API levels. (You may refer to the API guide)
As suggested, From API 21, CookieManager can work well alone.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open src/main/java/org/quantumbadger/redreader/fragments/WebViewFragment.java at the referenced line and inspect how CookieSyncManager and CookieManager are used. Check the API 21 guidance, then build or run the relevant Android tests to confirm cookie behavior remains intact without the deprecated manager.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.