Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Fix UTF_8 bug for the react native 0.62.1 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepimenta authored Apr 13, 2020
1 parent aeaf987 commit 408df17
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@
import okhttp3.OkHttpClient.Builder;
import okhttp3.internal.http.HttpMethod;

import static okhttp3.internal.Util.UTF_8;

/**
* Manages instances of {@link WebView}
* <p>
Expand All @@ -126,7 +124,7 @@
*/
@ReactModule(name = RNCWebViewManager.REACT_CLASS)
public class RNCWebViewManager extends SimpleViewManager<WebView> {

public static final Charset UTF_8 = Charset.forName("UTF-8");
public static final int COMMAND_GO_BACK = 1;
public static final int COMMAND_GO_FORWARD = 2;
public static final int COMMAND_RELOAD = 3;
Expand Down Expand Up @@ -1282,4 +1280,4 @@ public void postMessage(String message) {
}
}
}
}
}

0 comments on commit 408df17

Please sign in to comment.