hunk.code_window:       // We use a modified build of com.android.support.test:runner:1.0.1. Explanation in maven-test/README
         url "$rootDir/maven-test"
       }
       jcenter()
       maven {
         // Local Maven repo containing AARs with JSC built for Android
         url "$rootDir/../js/node_modules/jsc-android/android"
       }
  
hunk.labels: keep keep add keep keep keep keep keep
hunk.after_edit:     maven {
         url 'https://maven.google.com'
       }
  
hunk.file_path: android/build.gradle
hunk.type: add
file: /**
   * Copyright (c) 2015-present, Facebook, Inc.
   * All rights reserved.
   *
   * This source code is licensed under the BSD-style license found in the
   * LICENSE file in the root directory of this source tree. An additional grant
   * of patent rights can be found in the PATENTS file in the same directory.
   */
  
  #import "ABI24_0_0RCTClipboard.h"
  
  #import <UIKit/UIKit.h>
  
  @implementation ABI24_0_0RCTClipboard
  
  ABI24_0_0RCT_EXPORT_MODULE()
  
  - (dispatch_queue_t)methodQueue
  {
    return dispatch_get_main_queue();
  }
  
  
  ABI24_0_0RCT_EXPORT_METHOD(setString:(NSString *)content)
  {
    UIPasteboard *clipboard = [UIPasteboard generalPasteboard];
    clipboard.string = (content ? : @"");
  }
  
  ABI24_0_0RCT_EXPORT_METHOD(getString:(ABI24_0_0RCTPromiseResolveBlock)resolve
                    rejecter:(__unused ABI24_0_0RCTPromiseRejectBlock)reject)
  {
    UIPasteboard *clipboard = [UIPasteboard generalPasteboard];
    resolve((clipboard.string ? : @""));
  }
  
  @end
  