How to Ignore SSL for React Native

Add file IgnoreSSLFactory.java to the same path of MainApplicaiton.java (default under /android/app/src/main/java/com/[yourapp]/

//IgnoreSSLFactory.java
package com.yourapp; //Change this
import com.facebook.react.modules.network.OkHttpClientFactory;
import com.facebook.react.modules.network.OkHttpClientFactory;
import com.facebook.react.modules.network.OkHttpClientProvider;
import com.facebook.react.modules.network.ReactCookieJarContainer;
import java.security.cert.CertificateException;
import java.util.ArrayList…