Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated branch sdk and fix build #1051

Merged
merged 3 commits into from
Aug 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "ios/mixpanel-iphone"]
path = ios/mixpanel-iphone
url = [email protected]:mixpanel/mixpanel-iphone.git
[submodule "ios/branch-ios-sdk"]
path = ios/branch-ios-sdk
url = [email protected]:BranchMetrics/ios-branch-deep-linking-attribution.git
53 changes: 47 additions & 6 deletions ios/MetaMask.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
151E2E712319C0E2001197E9 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
15205D6321596BAA0049EA93 /* MetaMask.entitlements in Resources */ = {isa = PBXBuildFile; fileRef = 15205D6221596AD90049EA93 /* MetaMask.entitlements */; };
153C1ABB2217BCDC0088EFE0 /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 153C1A742217BCDC0088EFE0 /* JavaScriptCore.framework */; };
153F84CA2319B8FD00C19B63 /* Branch.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 153F84C92319B8DB00C19B63 /* Branch.framework */; };
153F84CB2319B8FD00C19B63 /* Branch.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 153F84C92319B8DB00C19B63 /* Branch.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
154BC3592238C164009AF026 /* libRNSVG.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 154BC3562238C135009AF026 /* libRNSVG.a */; };
158B0638211A727500DF3C74 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
158B063B211A72F500DF3C74 /* InpageBridgeWeb3.js in Resources */ = {isa = PBXBuildFile; fileRef = 158B0639211A72F500DF3C74 /* InpageBridgeWeb3.js */; };
158B063C211A72F500DF3C74 /* InpageBridge.js in Resources */ = {isa = PBXBuildFile; fileRef = 158B063A211A72F500DF3C74 /* InpageBridge.js */; };
159878462231DF67001748EC /* AntDesign.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 159878012231DF67001748EC /* AntDesign.ttf */; };
Expand All @@ -39,7 +41,6 @@
15F7795E22A1B7B500B1DF8C /* Mixpanel.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 15F7795722A1B79400B1DF8C /* Mixpanel.framework */; };
15F7795F22A1B7B500B1DF8C /* Mixpanel.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 15F7795722A1B79400B1DF8C /* Mixpanel.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
15F7796522A1BC8C00B1DF8C /* RCTAnalytics.m in Sources */ = {isa = PBXBuildFile; fileRef = 15F7796422A1BC8C00B1DF8C /* RCTAnalytics.m */; };
1BD911B0D9B9495FA607B1E5 /* libSMXCrashlytics.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 62EC4398901B46B1AA5F8C87 /* libSMXCrashlytics.a */; };
1D30A37AA1C8404C8BD53A4D /* libTcpSockets.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 178440FE3F1C4F4180D14622 /* libTcpSockets.a */; };
2348DAE74F344434A57B334F /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7FF1597C0ACA4902B86140B2 /* Zocial.ttf */; };
258B2C29C8CD42BBBF3E4872 /* libLottie.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D0CBAE789660472DB719C765 /* libLottie.a */; };
Expand Down Expand Up @@ -70,7 +71,6 @@
9AC52F22A86F4412BDE0EE7B /* FontAwesome5_Solid.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A98DB430A7DA47EFB97EDF8B /* FontAwesome5_Solid.ttf */; };
9F715EBC29F64D1C8170F284 /* libRNViewShot.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 29A7A9B265664A939A064628 /* libRNViewShot.a */; };
AB0011D0A1224FD09AB255D3 /* libRCTAes.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3BCC003A069E4228AE707B9A /* libRCTAes.a */; };
ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
B9FD0E084B9642E68F7D3E46 /* libRNWeb3Webview.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8E1CC67DB29F47E584AA47D1 /* libRNWeb3Webview.a */; };
BF4370F845E740D0A30CEC30 /* libRCTSearchApi.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8E369AC13A2049B6B21E5120 /* libRCTSearchApi.a */; };
C017D5C2EDDF43E28281BE61 /* libRNDeviceInfo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3267A8153EF14962AB36C825 /* libRNDeviceInfo.a */; };
Expand Down Expand Up @@ -217,6 +217,20 @@
remoteGlobalIDString = ED296FEE214C9CF800B7C4FE;
remoteInfo = "jsiexecutor-tvOS";
};
153F84C82319B8DB00C19B63 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 153F84C42319B8DA00C19B63 /* BranchSDK.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = E298D0521C73D1B800589D22;
remoteInfo = Branch;
};
153F84CC2319B8FD00C19B63 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 153F84C42319B8DA00C19B63 /* BranchSDK.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = E298D0511C73D1B800589D22;
remoteInfo = Branch;
};
154BC3402238BB17009AF026 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = D8518FF4CC274EC49DF798C9 /* RNGestureHandler.xcodeproj */;
Expand Down Expand Up @@ -689,6 +703,7 @@
dstSubfolderSpec = 10;
files = (
15F7795F22A1B7B500B1DF8C /* Mixpanel.framework in Embed Frameworks */,
153F84CB2319B8FD00C19B63 /* Branch.framework in Embed Frameworks */,
15ACC9FD22655C3A0063978B /* Lottie.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
Expand Down Expand Up @@ -720,6 +735,7 @@
14E7DBD0B81B4F6087628BA0 /* libRNRandomBytes-tvOS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = "libRNRandomBytes-tvOS.a"; sourceTree = "<group>"; };
15205D6221596AD90049EA93 /* MetaMask.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = MetaMask.entitlements; path = MetaMask/MetaMask.entitlements; sourceTree = "<group>"; };
153C1A742217BCDC0088EFE0 /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
153F84C42319B8DA00C19B63 /* BranchSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = BranchSDK.xcodeproj; path = "branch-ios-sdk/carthage-files/BranchSDK.xcodeproj"; sourceTree = "<group>"; };
154BC3502238C12E009AF026 /* RNSVG.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RNSVG.xcodeproj; path = "../node_modules/react-native-svg/ios/RNSVG.xcodeproj"; sourceTree = "<group>"; };
158B0639211A72F500DF3C74 /* InpageBridgeWeb3.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = InpageBridgeWeb3.js; path = ../app/core/InpageBridgeWeb3.js; sourceTree = "<group>"; };
158B063A211A72F500DF3C74 /* InpageBridge.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; name = InpageBridge.js; path = ../app/core/InpageBridge.js; sourceTree = "<group>"; };
Expand Down Expand Up @@ -825,8 +841,6 @@
153C1ABB2217BCDC0088EFE0 /* JavaScriptCore.framework in Frameworks */,
15A06E9722D94A8900DBAD25 /* Crashlytics.framework in Frameworks */,
15B418E7222663D500CA8239 /* libRCTPushNotification.a in Frameworks */,
ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
158B0638211A727500DF3C74 /* libRCTAnimation.a in Frameworks */,
15ACC9FC22655C3A0063978B /* Lottie.framework in Frameworks */,
146834051AC3E58100842450 /* libReact.a in Frameworks */,
15A06E9822D94A8900DBAD25 /* Fabric.framework in Frameworks */,
Expand All @@ -853,14 +867,15 @@
5C0349CCAB9C4E179B04905D /* libRNGestureHandler.a in Frameworks */,
C017D5C2EDDF43E28281BE61 /* libRNDeviceInfo.a in Frameworks */,
03D91D70A389444797688056 /* libRNBackgroundTimer.a in Frameworks */,
153F84CA2319B8FD00C19B63 /* Branch.framework in Frameworks */,
BF4370F845E740D0A30CEC30 /* libRCTSearchApi.a in Frameworks */,
258B2C29C8CD42BBBF3E4872 /* libLottie.a in Frameworks */,
5B523AAB3B4B42348DA7D392 /* libLottieReactNative.a in Frameworks */,
9F715EBC29F64D1C8170F284 /* libRNViewShot.a in Frameworks */,
FEA573B66E7541C5A06F7EE1 /* libRNCAsyncStorage.a in Frameworks */,
1D30A37AA1C8404C8BD53A4D /* libTcpSockets.a in Frameworks */,
151E2E712319C0E2001197E9 /* libRCTAnimation.a in Frameworks */,
E0C6F135CAA341E7ABAD4051 /* libRNCNetInfo.a in Frameworks */,
1BD911B0D9B9495FA607B1E5 /* libSMXCrashlytics.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -1021,6 +1036,14 @@
name = Products;
sourceTree = "<group>";
};
153F84C52319B8DA00C19B63 /* Products */ = {
isa = PBXGroup;
children = (
153F84C92319B8DB00C19B63 /* Branch.framework */,
);
name = Products;
sourceTree = "<group>";
};
154BC3512238C12E009AF026 /* Products */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -1333,6 +1356,7 @@
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
isa = PBXGroup;
children = (
153F84C42319B8DA00C19B63 /* BranchSDK.xcodeproj */,
15A06E9522D94A8800DBAD25 /* Crashlytics.framework */,
15A06E9622D94A8900DBAD25 /* Fabric.framework */,
15F7794F22A1B79400B1DF8C /* Mixpanel.xcodeproj */,
Expand Down Expand Up @@ -1441,6 +1465,7 @@
dependencies = (
15ACC9FF22655C3A0063978B /* PBXTargetDependency */,
15F7796122A1B7B500B1DF8C /* PBXTargetDependency */,
153F84CD2319B8FD00C19B63 /* PBXTargetDependency */,
);
name = MetaMask;
productName = "Hello World";
Expand Down Expand Up @@ -1483,6 +1508,10 @@
productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = 153F84C52319B8DA00C19B63 /* Products */;
ProjectRef = 153F84C42319B8DA00C19B63 /* BranchSDK.xcodeproj */;
},
{
ProductGroup = 15723E24225FD0B800A5B418 /* Products */;
ProjectRef = 4379F36F969347758D1A9F96 /* Lottie.xcodeproj */;
Expand Down Expand Up @@ -1770,6 +1799,13 @@
remoteRef = 153C1AA32217BCDC0088EFE0 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
153F84C92319B8DB00C19B63 /* Branch.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = Branch.framework;
remoteRef = 153F84C82319B8DB00C19B63 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
154BC3412238BB17009AF026 /* libRNGestureHandler-tvOS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
Expand Down Expand Up @@ -2333,6 +2369,11 @@
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
153F84CD2319B8FD00C19B63 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = Branch;
targetProxy = 153F84CC2319B8FD00C19B63 /* PBXContainerItemProxy */;
};
15ACC9FF22655C3A0063978B /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = Lottie_iOS;
Expand Down
1 change: 1 addition & 0 deletions ios/branch-ios-sdk
Submodule branch-ios-sdk added at 2c7221
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"gaba": "1.6.0",
"https-browserify": "0.0.1",
"jsc-android": "236355.1.1",
"lottie-react-native": "github:brunobar79/lottie-react-native#e832475cf870eae32506bf73cbd96a757967b8f5",
"lottie-react-native": "github:brunobar79/lottie-react-native#7ce6a78ac4ac7b9891bc513cb3f12f8b9c9d9106",
"multihashes": "0.4.14",
"number-to-bn": "1.7.0",
"path": "0.12.7",
Expand Down
3 changes: 3 additions & 0 deletions scripts/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,6 @@ rm -rf node_modules/Libraries/React.xcodeproj/React/Views/RCTWebView.h
rm -rf node_modules/Libraries/React.xcodeproj/React/Views/RCTWebView.m
rm -rf node_modules/Libraries/React.xcodeproj/React/Views/RCTWebViewManager.h
rm -rf node_modules/Libraries/React.xcodeproj/React/Views/RCTWebViewManager.m

echo "15. Remove Branch examples"
rm -rf node_modules/react-native-branch/examples/
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7129,9 +7129,9 @@ [email protected]:
resolved "https://registry.yarnpkg.com/lottie-ios/-/lottie-ios-2.5.0.tgz#55c808e785d4a6933b0c10b395530b17098b05de"
integrity sha1-VcgI54XUppM7DBCzlVMLFwmLBd4=

"lottie-react-native@github:brunobar79/lottie-react-native#e832475cf870eae32506bf73cbd96a757967b8f5":
version "3.0.0"
resolved "https://codeload.github.com/brunobar79/lottie-react-native/tar.gz/e832475cf870eae32506bf73cbd96a757967b8f5"
"lottie-react-native@github:brunobar79/lottie-react-native#7ce6a78ac4ac7b9891bc513cb3f12f8b9c9d9106":
version "3.0.1"
resolved "https://codeload.github.com/brunobar79/lottie-react-native/tar.gz/7ce6a78ac4ac7b9891bc513cb3f12f8b9c9d9106"
dependencies:
invariant "^2.2.2"
lottie-ios "2.5.0"
Expand Down Expand Up @@ -9403,8 +9403,8 @@ [email protected]:
integrity sha512-cuXIIv+dcG8a8qkTD8pMzeqOEZCO+UGKglZWIe1osve+yJslmCowYQff+bI9xa7NOt2w+Vtd4L3d9JonlSqODg==

"react-native-branch@github:brunobar79/react-native-branch-deep-linking-attribution#androidx":
version "3.0.0-beta.3"
resolved "https://codeload.github.com/brunobar79/react-native-branch-deep-linking-attribution/tar.gz/29f41541e7ebc12e3885ed4bdb97c562edcaf5cb"
version "3.1.1"
resolved "https://codeload.github.com/brunobar79/react-native-branch-deep-linking-attribution/tar.gz/f455eb7fa317644978ebddd8a3afb80c73951f85"

[email protected]:
version "0.1.2"
Expand Down