mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Set the API cookie as well as the web cookie
We need to set both of these values as the web will make an API request.
This commit is contained in:
parent
f6a3b7091c
commit
ea4eda7e53
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ fun ArticleWebView(slug: String, authCookieString: String) {
|
|||
|
||||
CookieManager.getInstance().setAcceptThirdPartyCookies(this, true)
|
||||
CookieManager.getInstance().setAcceptCookie(true)
|
||||
CookieManager.getInstance().setCookie(BuildConfig.OMNIVORE_API_URL, authCookieString)
|
||||
CookieManager.getInstance().setCookie(BuildConfig.OMNIVORE_WEB_URL, authCookieString) {
|
||||
loadUrl(url)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue