Skip to content
Browse files
Make addCookies method public. (#27512)
react-native-cookie-store wants the ability to set custom cookies on Android. We use ForwardingCookieHandler to mange the cookies. Exposing the `addCookies` method will allow the module to provide the same functionality on Android.


## Changelog

[Android] [Changed] - Expose addCookies method
Pull Request resolved: #27512

Test Plan: N/A

Differential Revision: D19236309

Pulled By: cpojer

fbshipit-source-id: bf1a0730165456c34c5bf432ac370176a881cbcf
  • Loading branch information
safaiyeh authored and facebook-github-bot committed Dec 27, 2019
1 parent 98ebc1e commit cc845ccfb4c0f841b876bca55c5f70efd72be538
Showing 1 changed file with 1 addition and 1 deletion.
@@ -124,7 +124,7 @@ public void destroy() {

private void addCookies(final String url, final List<String> cookies) {
public void addCookies(final String url, final List<String> cookies) {
final CookieManager cookieManager = getCookieManager();
if (cookieManager == null) return;

0 comments on commit cc845cc

Please sign in to comment.