@react-native-clipboard/clipboard 1.13.0 → 1.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RNCClipboard.podspec +1 -1
- package/android/build.gradle +4 -3
- package/package.json +1 -1
package/RNCClipboard.podspec
CHANGED
package/android/build.gradle
CHANGED
|
@@ -27,9 +27,10 @@ def resolveReactNativeDirectory() {
|
|
|
27
27
|
return reactNativeFromProjectNodeModules
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
// This code is taken from react-native-reanimated, but with an extra "../" due to @react-native-cliploard/clipboard being in a subdirectory
|
|
31
|
+
def reactNativeFromNodeModulesWithReactNativeClipboard = file("${projectDir}/../../../react-native")
|
|
32
|
+
if (reactNativeFromNodeModulesWithReactNativeClipboard.exists()) {
|
|
33
|
+
return reactNativeFromNodeModulesWithReactNativeClipboard
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
throw new Exception(
|