Skip to content

Commit

Permalink
Update README.md (#6)
Browse files Browse the repository at this point in the history
fryette authored Jul 29, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 5bf4091 commit 6628f81
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -34,6 +34,16 @@ await cookieManager.clearCookies();
```

For more examples check example folder.

## Troubleshooting
If you are using Objective C, check that PodFile have a flag use_frameworks ([why you need to do it](https://github.com/amag2511/webview_cookie_manager/issues/4#issuecomment-665508540))
```
target 'Runner' do
use_frameworks!
use_modular_headers!
..........
end
```

## How it works
The cookies stores and retrieves using the [httpCookieStore](https://developer.apple.com/documentation/webkit/wkwebsitedatastore/2881956-httpcookiestore) for iOS and [CookieManager](https://developer.android.com/reference/java/net/CookieManager) for Android.

0 comments on commit 6628f81

Please sign in to comment.