Tinfoil-Facebook icon indicating copy to clipboard operation
Tinfoil-Facebook copied to clipboard

CookieSyncManager has been deprecated since API 21

Open LiliWeiSE opened this issue 7 years ago • 0 comments

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.

LiliWeiSE avatar Sep 26 '17 11:09 LiliWeiSE