ankidroid / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
8.11k stars 2.17k forks source link

CookieManager.setAcceptFileSchemeCookies deprecated in API30 #7109

Open mikehardy opened 3 years ago

mikehardy commented 3 years ago

Deprecated: loading HTML via files and allowing local cookies

https://developer.android.com/reference/android/webkit/CookieManager#setAcceptFileSchemeCookies(boolean)

Forward-port target: AndroidX WebKit stuff:

https://developer.android.com/reference/androidx/webkit/WebViewAssetLoader

github-actions[bot] commented 3 years ago

Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

github-actions[bot] commented 3 years ago

Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

dae commented 10 months ago

Should be fixed by the new backend switching to a separate HTTP server.

BrayanDSO commented 3 months ago

setAcceptFileSchemeCookies may not be necessary anymore. So that needs

  1. Testing if it is still required
  2. Removing it if not