hunk.code_window: import java.util.List;
   import host.exp.exponent.AppLoader;
   import host.exp.exponent.Constants;
   import host.exp.exponent.ExponentManifest;
   import host.exp.exponent.kernel.ExponentUrls;
   import host.exp.exponent.kernel.KernelConstants;
   import host.exp.expoview.ExpoViewBuildConfig;
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.file_path: android/expoview/src/main/java/host/exp/exponent/experience/DetachActivity.java
hunk.type: replace
file: /*
   * Copyright (c) 2015-present, Horcrux.
   * All rights reserved.
   *
   * This source code is licensed under the MIT-style license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  
  package abi27_0_0.host.exp.exponent.modules.api.components.svg;
  
  import abi27_0_0.com.facebook.react.bridge.Callback;
  import abi27_0_0.com.facebook.react.bridge.ReactApplicationContext;
  import abi27_0_0.com.facebook.react.bridge.ReactContextBaseJavaModule;
  import abi27_0_0.com.facebook.react.bridge.ReactMethod;
  
  class SvgViewModule extends ReactContextBaseJavaModule {
      SvgViewModule(ReactApplicationContext reactContext) {
          super(reactContext);
      }
  
      @Override
      public String getName() {
          return "RNSVGSvgViewManager";
      }
  
  
      @ReactMethod
      public void toDataURL(int tag, Callback successCallback) {
          SvgViewShadowNode svg = SvgViewManager.getShadowNodeByTag(tag);
  
          if (svg != null) {
              successCallback.invoke(svg.toDataURL());
          }
      }
  }
  