Tinfoil-Facebook
Tinfoil-Facebook copied to clipboard
CookieSyncManager has been deprecated since API 21
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.