Last active
May 8, 2019 10:14
-
-
Save heypiotr/bb6d55233c225fc7ec069e7098d531bd to your computer and use it in GitHub Desktop.
React Native 0.55.4 link @estimote/react-native-proximity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/android/app/build.gradle b/android/app/build.gradle | |
index 363c875..6fbda0e 100644 | |
--- a/android/app/build.gradle | |
+++ b/android/app/build.gradle | |
@@ -137,6 +137,7 @@ android { | |
} | |
dependencies { | |
+ compile project(':@estimote/react-native-proximity') | |
compile fileTree(dir: "libs", include: ["*.jar"]) | |
compile "com.android.support:appcompat-v7:23.0.1" | |
compile "com.facebook.react:react-native:+" // From node_modules | |
diff --git a/android/app/src/main/java/com/linktestfivefivefour/MainApplication.java b/android/app/src/main/java/com/linktestfivefivefour/MainApplication.java | |
index 39b214d..4a0e172 100644 | |
--- a/android/app/src/main/java/com/linktestfivefivefour/MainApplication.java | |
+++ b/android/app/src/main/java/com/linktestfivefivefour/MainApplication.java | |
@@ -3,6 +3,7 @@ package com.linktestfivefivefour; | |
import android.app.Application; | |
import com.facebook.react.ReactApplication; | |
+import com.estimote.react.RNEstimoteProximityPackage; | |
import com.facebook.react.ReactNativeHost; | |
import com.facebook.react.ReactPackage; | |
import com.facebook.react.shell.MainReactPackage; | |
@@ -22,7 +23,8 @@ public class MainApplication extends Application implements ReactApplication { | |
@Override | |
protected List<ReactPackage> getPackages() { | |
return Arrays.<ReactPackage>asList( | |
- new MainReactPackage() | |
+ new MainReactPackage(), | |
+ new RNEstimoteProximityPackage() | |
); | |
} | |
diff --git a/android/settings.gradle b/android/settings.gradle | |
index d0c86e6..5bf8309 100644 | |
--- a/android/settings.gradle | |
+++ b/android/settings.gradle | |
@@ -1,3 +1,5 @@ | |
rootProject.name = 'LinkTestFiveFiveFour' | |
+include ':@estimote/react-native-proximity' | |
+project(':@estimote/react-native-proximity').projectDir = new File(rootProject.projectDir, '../node_modules/@estimote/react-native-proximity/android') | |
include ':app' | |
diff --git a/ios/LinkTestFiveFiveFour.xcodeproj/project.pbxproj b/ios/LinkTestFiveFiveFour.xcodeproj/project.pbxproj | |
index 39f3ee3..c3668ef 100644 | |
--- a/ios/LinkTestFiveFiveFour.xcodeproj/project.pbxproj | |
+++ b/ios/LinkTestFiveFiveFour.xcodeproj/project.pbxproj | |
@@ -5,7 +5,6 @@ | |
}; | |
objectVersion = 46; | |
objects = { | |
- | |
/* Begin PBXBuildFile section */ | |
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; | |
00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; | |
@@ -38,6 +37,7 @@ | |
5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; | |
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; | |
ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; | |
+ 63C4ED19A5BA4F19ACCABA0A /* libRNEstimoteProximity.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B7DB70032CA44BA3BAD79BCA /* libRNEstimoteProximity.a */; }; | |
/* End PBXBuildFile section */ | |
/* Begin PBXContainerItemProxy section */ | |
@@ -343,6 +343,8 @@ | |
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; }; | |
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; }; | |
ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = "<group>"; }; | |
+ 1F2BE7A257E14B8FA847CDF9 /* RNEstimoteProximity.xcodeproj */ = {isa = PBXFileReference; name = "RNEstimoteProximity.xcodeproj"; path = "../node_modules/@estimote/react-native-proximity/ios/RNEstimoteProximity.xcodeproj"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; | |
+ B7DB70032CA44BA3BAD79BCA /* libRNEstimoteProximity.a */ = {isa = PBXFileReference; name = "libRNEstimoteProximity.a"; path = "libRNEstimoteProximity.a"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; | |
/* End PBXFileReference section */ | |
/* Begin PBXFrameworksBuildPhase section */ | |
@@ -371,6 +373,7 @@ | |
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, | |
00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, | |
139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, | |
+ 63C4ED19A5BA4F19ACCABA0A /* libRNEstimoteProximity.a in Frameworks */, | |
); | |
runOnlyForDeploymentPostprocessing = 0; | |
}; | |
@@ -557,6 +560,7 @@ | |
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, | |
00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, | |
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, | |
+ 1F2BE7A257E14B8FA847CDF9 /* RNEstimoteProximity.xcodeproj */, | |
); | |
name = Libraries; | |
sourceTree = "<group>"; | |
@@ -685,7 +689,7 @@ | |
83CBB9F71A601CBA00E9B192 /* Project object */ = { | |
isa = PBXProject; | |
attributes = { | |
- LastUpgradeCheck = 0610; | |
+ LastUpgradeCheck = 610; | |
ORGANIZATIONNAME = Facebook; | |
TargetAttributes = { | |
00E356ED1AD99517003FC87E = { | |
@@ -1181,6 +1185,14 @@ | |
); | |
PRODUCT_NAME = "$(TARGET_NAME)"; | |
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LinkTestFiveFiveFour.app/LinkTestFiveFiveFour"; | |
+ LIBRARY_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "\"$(SRCROOT)/$(TARGET_NAME)\"", | |
+ ); | |
+ HEADER_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "$(SRCROOT)/../node_modules/@estimote/react-native-proximity/ios/**", | |
+ ); | |
}; | |
name = Debug; | |
}; | |
@@ -1198,6 +1210,14 @@ | |
); | |
PRODUCT_NAME = "$(TARGET_NAME)"; | |
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LinkTestFiveFiveFour.app/LinkTestFiveFiveFour"; | |
+ LIBRARY_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "\"$(SRCROOT)/$(TARGET_NAME)\"", | |
+ ); | |
+ HEADER_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "$(SRCROOT)/../node_modules/@estimote/react-native-proximity/ios/**", | |
+ ); | |
}; | |
name = Release; | |
}; | |
@@ -1216,6 +1236,10 @@ | |
); | |
PRODUCT_NAME = LinkTestFiveFiveFour; | |
VERSIONING_SYSTEM = "apple-generic"; | |
+ HEADER_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "$(SRCROOT)/../node_modules/@estimote/react-native-proximity/ios/**", | |
+ ); | |
}; | |
name = Debug; | |
}; | |
@@ -1233,6 +1257,10 @@ | |
); | |
PRODUCT_NAME = LinkTestFiveFiveFour; | |
VERSIONING_SYSTEM = "apple-generic"; | |
+ HEADER_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "$(SRCROOT)/../node_modules/@estimote/react-native-proximity/ios/**", | |
+ ); | |
}; | |
name = Release; | |
}; | |
@@ -1259,6 +1287,14 @@ | |
SDKROOT = appletvos; | |
TARGETED_DEVICE_FAMILY = 3; | |
TVOS_DEPLOYMENT_TARGET = 9.2; | |
+ LIBRARY_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "\"$(SRCROOT)/$(TARGET_NAME)\"", | |
+ ); | |
+ HEADER_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "$(SRCROOT)/../node_modules/@estimote/react-native-proximity/ios/**", | |
+ ); | |
}; | |
name = Debug; | |
}; | |
@@ -1285,6 +1321,14 @@ | |
SDKROOT = appletvos; | |
TARGETED_DEVICE_FAMILY = 3; | |
TVOS_DEPLOYMENT_TARGET = 9.2; | |
+ LIBRARY_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "\"$(SRCROOT)/$(TARGET_NAME)\"", | |
+ ); | |
+ HEADER_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "$(SRCROOT)/../node_modules/@estimote/react-native-proximity/ios/**", | |
+ ); | |
}; | |
name = Release; | |
}; | |
@@ -1310,6 +1354,14 @@ | |
SDKROOT = appletvos; | |
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LinkTestFiveFiveFour-tvOS.app/LinkTestFiveFiveFour-tvOS"; | |
TVOS_DEPLOYMENT_TARGET = 10.1; | |
+ LIBRARY_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "\"$(SRCROOT)/$(TARGET_NAME)\"", | |
+ ); | |
+ HEADER_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "$(SRCROOT)/../node_modules/@estimote/react-native-proximity/ios/**", | |
+ ); | |
}; | |
name = Debug; | |
}; | |
@@ -1335,6 +1387,14 @@ | |
SDKROOT = appletvos; | |
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LinkTestFiveFiveFour-tvOS.app/LinkTestFiveFiveFour-tvOS"; | |
TVOS_DEPLOYMENT_TARGET = 10.1; | |
+ LIBRARY_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "\"$(SRCROOT)/$(TARGET_NAME)\"", | |
+ ); | |
+ HEADER_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "$(SRCROOT)/../node_modules/@estimote/react-native-proximity/ios/**", | |
+ ); | |
}; | |
name = Release; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment