CookieManager.getCookie() always returns null (Version <= API 28 (Pie))
问题 I use a standard android.webkit.Webview in a Java-Based native android app. Inside the Webview the User logs into a webapp. After successful login the webapp stores a cookie with the access token. I want to access this cookie. The cookie has the following characteristics: HTTPS Url Structure like: https://api.example.com httpOnly Flag Secure Flag When on Android API Level 29 or API Level 30, calling CookieManager.getCookie("https://api.example.com") works like expected and returns a String