hunk.code_window:     mKernel.reloadVisibleExperience(manifestUrl);
     }
     @ReactMethod
     public void preloadBundleUrlAsync(final String url, final Promise promise) {
       preloadRequestAsync(ExponentUrls.addExponentHeadersToUrl(url).build(), promise);
     }
     private void preloadRequestAsync(final Request request, final Promise promise) {
       mExponentNetwork.getClient().call(request, new Callback() {
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:     preloadRequestAsync(ExponentUrls.addExponentHeadersToUrl(url, false).build(), promise);
  
hunk.file_path: android/app/src/main/java/host/exp/exponent/modules/ExponentKernelModule.java
hunk.type: replace
file: // Copyright 2015-present 650 Industries. All rights reserved.
  
  package host.exp.exponent.kernel;
  
  import android.net.Uri;
  
  import java.util.ArrayList;
  import java.util.List;
  
  import host.exp.exponent.Constants;
  import expolib_v1.okhttp3.Request;
  
  public class ExponentUrls {
  
    private static final List<String> HTTPS_HOSTS = new ArrayList<>();
    static {
      HTTPS_HOSTS.add("exp.host");
      HTTPS_HOSTS.add("exponentjs.com");
    }
  
    private static boolean isHttpsHost(final String host) {
      for (int i = 0; i < HTTPS_HOSTS.size(); i++) {
        if (HTTPS_HOSTS.get(i).equals(host)) {
          return true;
        }
      }
  
      return false;
    }
  
    public static String toHttp(final String rawUrl) {
      if (rawUrl.startsWith("http")) {
        return rawUrl;
      }
  
      Uri uri = Uri.parse(rawUrl);
      boolean useHttps = isHttpsHost(uri.getHost()) || rawUrl.startsWith("exps");
      return uri.buildUpon().scheme(useHttps ? "https" : "http").build().toString();
    }
  
    public static Request.Builder addExponentHeadersToUrl(String urlString) {
      // TODO: set user agent
      String sdkVersions = Constants.SDK_VERSIONS;
      if (KernelConfig.FORCE_UNVERSIONED_PUBLISHED_EXPERIENCES) {
        sdkVersions = "UNVERSIONED";
      }
      Request.Builder builder = new Request.Builder()
          .url(urlString)
          .header("Exponent-SDK-Version", sdkVersions)
          .header("Exponent-Platform", "android")
          .header("Expo-Release-Channel", Constants.RELEASE_CHANNEL);
  
      if (ExpoViewKernel.getInstance().getVersionName() != null) {
        builder = builder.header("Exponent-Version", ExpoViewKernel.getInstance().getVersionName());
      }
  
      return builder;
    }
  }
  