Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CookieSyncManager has been deprecated since API 21 #116

Open
LiliWeiSE opened this issue Sep 26, 2017 · 0 comments
Open

CookieSyncManager has been deprecated since API 21 #116

LiliWeiSE opened this issue Sep 26, 2017 · 0 comments

Comments

@LiliWeiSE
Copy link

Hi,

I noticed that CookieSyncManager is still in use to sync the cookies in BaseFacebookWebViewActivity.java. However, this class has been deprecated since API 21 and is not guaranteed to work for later API levels. (Reference: Android API Guide)

After API 21, CookieManager should work fine with itself and CookieManager.flush() is a replacement for CookieSyncManager.sync().

I also found some related discussions on StackOverflow.

Hope this can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant