[[NSURLCache sharedURLCache] removeAllCachedResponses];
// clear all cookies
NSHTTPCookie *cookie;
NSHTTPCookieStorage *storage = [NSHTTPCookieStorage sharedHTTPCookieStorage];
for (cookie in [storage cookies]) {
[storage deleteCookie:cookie];
}
Unfortunately, this code doesn't seem to do anything on Android after compiling with Apportable. The cookies are still present and responses in cache.
Is there any way of achieving this in a way that works on Android using Apportable?
Thanks.
--
You received this message because you are subscribed to the Google Groups "Apportable discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apportable-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to apportable-discuss+unsub...@googlegroups.com.