hunk.code_window: }
   android {
       compileSdkVersion 27
       buildToolsVersion "27.0.3"
       defaultConfig {
           minSdkVersion 16
           targetSdkVersion 26
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.file_path: android/ReactAndroid/build.gradle
hunk.type: replace
file: /**
   * Copyright (c) 2015-present, Facebook, Inc.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  #import <ReactABI27_0_0/ABI27_0_0RCTEventEmitter.h>
  #import <ReactABI27_0_0/ABI27_0_0RCTNetworkTask.h>
  
  @protocol ABI27_0_0RCTNetworkingRequestHandler <NSObject>
  
  // @lint-ignore FBOBJCUNTYPEDCOLLECTION1
  - (BOOL)canHandleNetworkingRequest:(NSDictionary *)data;
  // @lint-ignore FBOBJCUNTYPEDCOLLECTION1
  - (NSDictionary *)handleNetworkingRequest:(NSDictionary *)data;
  
  @end
  
  @protocol ABI27_0_0RCTNetworkingResponseHandler <NSObject>
  
  - (BOOL)canHandleNetworkingResponse:(NSString *)responseType;
  - (id)handleNetworkingResponse:(NSURLResponse *)response data:(NSData *)data;
  
  @end
  
  @interface ABI27_0_0RCTNetworking : ABI27_0_0RCTEventEmitter
  
  /**
   * Does a handler exist for the specified request?
   */
  - (BOOL)canHandleRequest:(NSURLRequest *)request;
  
  /**
   * Return an ABI27_0_0RCTNetworkTask for the specified request. This is useful for
   * invoking the ReactABI27_0_0 Native networking stack from within native code.
   */
  - (ABI27_0_0RCTNetworkTask *)networkTaskWithRequest:(NSURLRequest *)request
                             completionBlock:(ABI27_0_0RCTURLRequestCompletionBlock)completionBlock;
  
  - (void)addRequestHandler:(id<ABI27_0_0RCTNetworkingRequestHandler>)handler;
  
  - (void)addResponseHandler:(id<ABI27_0_0RCTNetworkingResponseHandler>)handler;
  
  - (void)removeRequestHandler:(id<ABI27_0_0RCTNetworkingRequestHandler>)handler;
  
  - (void)removeResponseHandler:(id<ABI27_0_0RCTNetworkingResponseHandler>)handler;
  
  @end
  
  @interface ABI27_0_0RCTBridge (ABI27_0_0RCTNetworking)
  
  @property (nonatomic, readonly) ABI27_0_0RCTNetworking *networking;
  
  @end
  