mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 07:15:35 +01:00
DEL
This commit is contained in:
parent
1ef78c82d7
commit
5c0520157a
15 changed files with 13 additions and 493 deletions
|
@ -85,7 +85,7 @@ npx react-native run-ios
|
||||||
npx pod-install
|
npx pod-install
|
||||||
```
|
```
|
||||||
|
|
||||||
Open ios/BlueWallet.xcworkspace. Once the project loads, select the scheme/target BlueWallet-NoLDK. Click Run.
|
Open ios/BlueWallet.xcworkspace. Once the project loads, select the scheme/target BlueWallet. Click Run.
|
||||||
|
|
||||||
## TESTS
|
## TESTS
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@ export * from './wallets/hd-legacy-breadwallet-wallet';
|
||||||
export * from './wallets/hd-legacy-p2pkh-wallet';
|
export * from './wallets/hd-legacy-p2pkh-wallet';
|
||||||
export * from './wallets/watch-only-wallet';
|
export * from './wallets/watch-only-wallet';
|
||||||
export * from './wallets/lightning-custodian-wallet';
|
export * from './wallets/lightning-custodian-wallet';
|
||||||
export * from './wallets/lightning-ldk-wallet';
|
|
||||||
export * from './wallets/abstract-hd-wallet';
|
export * from './wallets/abstract-hd-wallet';
|
||||||
export * from './wallets/hd-segwit-bech32-wallet';
|
export * from './wallets/hd-segwit-bech32-wallet';
|
||||||
export * from './wallets/hd-legacy-electrum-seed-p2pkh-wallet';
|
export * from './wallets/hd-legacy-electrum-seed-p2pkh-wallet';
|
||||||
|
|
|
@ -25,7 +25,6 @@ export default class WalletGradient {
|
||||||
static defaultGradients: string[] = ['#B770F6', '#9013FE'];
|
static defaultGradients: string[] = ['#B770F6', '#9013FE'];
|
||||||
static lightningCustodianWallet: string[] = ['#F1AA07', '#FD7E37']; // Corrected property with missing colors
|
static lightningCustodianWallet: string[] = ['#F1AA07', '#FD7E37']; // Corrected property with missing colors
|
||||||
static aezeedWallet: string[] = ['#8584FF', '#5351FB'];
|
static aezeedWallet: string[] = ['#8584FF', '#5351FB'];
|
||||||
static ldkWallet: string[] = ['#8584FF', '#5351FB'];
|
|
||||||
|
|
||||||
static createWallet = () => {
|
static createWallet = () => {
|
||||||
const { colors } = useTheme();
|
const { colors } = useTheme();
|
||||||
|
|
|
@ -1,78 +0,0 @@
|
||||||
import { DimensionValue, Image, StyleSheet, TouchableOpacity, View } from 'react-native';
|
|
||||||
import { Text } from 'react-native-elements';
|
|
||||||
import React from 'react';
|
|
||||||
import { useTheme } from './themes';
|
|
||||||
|
|
||||||
interface LdkButtonProps {
|
|
||||||
text: string;
|
|
||||||
subtext: string;
|
|
||||||
active: boolean;
|
|
||||||
style: {
|
|
||||||
width: DimensionValue;
|
|
||||||
height: DimensionValue;
|
|
||||||
};
|
|
||||||
onPress: () => void;
|
|
||||||
}
|
|
||||||
|
|
||||||
export const LdkButton: React.FC<LdkButtonProps> = ({ text, subtext, active, style, onPress }) => {
|
|
||||||
const { colors } = useTheme();
|
|
||||||
const stylesHook = StyleSheet.create({
|
|
||||||
container: {
|
|
||||||
borderColor: (active && colors.lnborderColor) || colors.buttonDisabledBackgroundColor,
|
|
||||||
backgroundColor: colors.buttonDisabledBackgroundColor,
|
|
||||||
minWidth: style.width,
|
|
||||||
minHeight: style.height,
|
|
||||||
height: style.height,
|
|
||||||
},
|
|
||||||
text: {
|
|
||||||
color: colors.lnborderColor,
|
|
||||||
},
|
|
||||||
subtext: {
|
|
||||||
color: colors.alternativeTextColor,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
return (
|
|
||||||
<TouchableOpacity accessibilityRole="button" onPress={onPress}>
|
|
||||||
<View style={[stylesHook.container, styles.container]}>
|
|
||||||
<View style={styles.contentContainer}>
|
|
||||||
<View>
|
|
||||||
<Image style={styles.image} source={require('../img/addWallet/lightning.png')} />
|
|
||||||
</View>
|
|
||||||
<View>
|
|
||||||
<Text style={[stylesHook.text, styles.text]}>{text}</Text>
|
|
||||||
<Text style={[stylesHook.subtext, styles.subtext]}>{subtext}</Text>
|
|
||||||
</View>
|
|
||||||
</View>
|
|
||||||
</View>
|
|
||||||
</TouchableOpacity>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
|
||||||
container: {
|
|
||||||
borderWidth: 1.5,
|
|
||||||
borderRadius: 8,
|
|
||||||
flex: 1,
|
|
||||||
marginBottom: 8,
|
|
||||||
},
|
|
||||||
contentContainer: {
|
|
||||||
marginHorizontal: 16,
|
|
||||||
marginVertical: 10,
|
|
||||||
flexDirection: 'row',
|
|
||||||
alignItems: 'center',
|
|
||||||
},
|
|
||||||
image: {
|
|
||||||
width: 34,
|
|
||||||
height: 34,
|
|
||||||
marginRight: 8,
|
|
||||||
},
|
|
||||||
text: {
|
|
||||||
fontWeight: 'bold',
|
|
||||||
fontSize: 18,
|
|
||||||
},
|
|
||||||
subtext: {
|
|
||||||
fontSize: 13,
|
|
||||||
fontWeight: '500',
|
|
||||||
},
|
|
||||||
});
|
|
|
@ -9,7 +9,6 @@
|
||||||
/* Begin PBXBuildFile section */
|
/* Begin PBXBuildFile section */
|
||||||
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
|
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
|
||||||
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
|
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
|
||||||
2B2B129397ACA4E7FCCB4F6F /* libPods-BlueWallet-NoLDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 52FA0F1447D69747BD547E1E /* libPods-BlueWallet-NoLDK.a */; };
|
|
||||||
32B5A32A2334450100F8D608 /* Bridge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32B5A3292334450100F8D608 /* Bridge.swift */; };
|
32B5A32A2334450100F8D608 /* Bridge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32B5A3292334450100F8D608 /* Bridge.swift */; };
|
||||||
32F0A29A2311DBB20095C559 /* ComplicationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32F0A2992311DBB20095C559 /* ComplicationController.swift */; };
|
32F0A29A2311DBB20095C559 /* ComplicationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32F0A2992311DBB20095C559 /* ComplicationController.swift */; };
|
||||||
6D2A6464258BA92D0092292B /* Stickers.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6D2A6463258BA92D0092292B /* Stickers.xcassets */; };
|
6D2A6464258BA92D0092292B /* Stickers.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6D2A6463258BA92D0092292B /* Stickers.xcassets */; };
|
||||||
|
@ -75,17 +74,6 @@
|
||||||
B461B852299599F800E431AA /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = B461B851299599F800E431AA /* AppDelegate.mm */; };
|
B461B852299599F800E431AA /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = B461B851299599F800E431AA /* AppDelegate.mm */; };
|
||||||
B47B21EC2B2128B8001F6690 /* BlueWalletUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B47B21EB2B2128B8001F6690 /* BlueWalletUITests.swift */; };
|
B47B21EC2B2128B8001F6690 /* BlueWalletUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = B47B21EB2B2128B8001F6690 /* BlueWalletUITests.swift */; };
|
||||||
B49038D92B8FBAD300A8164A /* BlueWalletUITest.swift in Sources */ = {isa = PBXBuildFile; fileRef = B49038D82B8FBAD300A8164A /* BlueWalletUITest.swift */; };
|
B49038D92B8FBAD300A8164A /* BlueWalletUITest.swift in Sources */ = {isa = PBXBuildFile; fileRef = B49038D82B8FBAD300A8164A /* BlueWalletUITest.swift */; };
|
||||||
B4A29A2C2B55C990002A67DF /* EventEmitter.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D32C5C52596CE3A008C077C /* EventEmitter.m */; };
|
|
||||||
B4A29A2D2B55C990002A67DF /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
|
|
||||||
B4A29A2E2B55C990002A67DF /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = B461B851299599F800E431AA /* AppDelegate.mm */; };
|
|
||||||
B4A29A2F2B55C990002A67DF /* Bridge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32B5A3292334450100F8D608 /* Bridge.swift */; };
|
|
||||||
B4A29A312B55C990002A67DF /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = B9D9B3A7B2CB4255876B67AF /* libz.tbd */; };
|
|
||||||
B4A29A322B55C990002A67DF /* libsqlite3.0.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B468CC34D5B41F3950078EF /* libsqlite3.0.tbd */; };
|
|
||||||
B4A29A352B55C990002A67DF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6DF25A9E249DB97E001D06F5 /* LaunchScreen.storyboard */; };
|
|
||||||
B4A29A372B55C990002A67DF /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
|
|
||||||
B4A29A3A2B55C990002A67DF /* BlueWalletWatch.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = B40D4E30225841EC00428FCC /* BlueWalletWatch.app */; };
|
|
||||||
B4A29A3C2B55C990002A67DF /* Stickers.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 6D2A6461258BA92C0092292B /* Stickers.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
|
|
||||||
B4A29A3D2B55C990002A67DF /* WidgetsExtension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 6DD4109C266CADF10087DE03 /* WidgetsExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
|
|
||||||
B4AB21072B61D8CA0080440C /* SplashScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4AB21062B61D8CA0080440C /* SplashScreen.swift */; };
|
B4AB21072B61D8CA0080440C /* SplashScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4AB21062B61D8CA0080440C /* SplashScreen.swift */; };
|
||||||
B4AB21092B61DC3F0080440C /* SplashScreen.m in Sources */ = {isa = PBXBuildFile; fileRef = B4AB21082B61DC3F0080440C /* SplashScreen.m */; };
|
B4AB21092B61DC3F0080440C /* SplashScreen.m in Sources */ = {isa = PBXBuildFile; fileRef = B4AB21082B61DC3F0080440C /* SplashScreen.m */; };
|
||||||
B4AB225D2B02AD12001F4328 /* XMLParserDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4AB225C2B02AD12001F4328 /* XMLParserDelegate.swift */; };
|
B4AB225D2B02AD12001F4328 /* XMLParserDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4AB225C2B02AD12001F4328 /* XMLParserDelegate.swift */; };
|
||||||
|
@ -140,41 +128,6 @@
|
||||||
remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
|
remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
|
||||||
remoteInfo = BlueWallet;
|
remoteInfo = BlueWallet;
|
||||||
};
|
};
|
||||||
B49038D62B8FBA2500A8164A /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
|
|
||||||
proxyType = 1;
|
|
||||||
remoteGlobalIDString = B4A29A212B55C990002A67DF;
|
|
||||||
remoteInfo = "BlueWallet-NoLDK";
|
|
||||||
};
|
|
||||||
B4A29A232B55C990002A67DF /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
|
|
||||||
proxyType = 1;
|
|
||||||
remoteGlobalIDString = B40D4E2F225841EC00428FCC;
|
|
||||||
remoteInfo = BlueWalletWatch;
|
|
||||||
};
|
|
||||||
B4A29A252B55C990002A67DF /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
|
|
||||||
proxyType = 1;
|
|
||||||
remoteGlobalIDString = 6D99465D2555A660000E52E8;
|
|
||||||
remoteInfo = MarketWidgetExtension;
|
|
||||||
};
|
|
||||||
B4A29A272B55C990002A67DF /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
|
|
||||||
proxyType = 1;
|
|
||||||
remoteGlobalIDString = 6D2A6460258BA92C0092292B;
|
|
||||||
remoteInfo = Stickers;
|
|
||||||
};
|
|
||||||
B4A29A292B55C990002A67DF /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
|
|
||||||
proxyType = 1;
|
|
||||||
remoteGlobalIDString = 6DD4109B266CADF10087DE03;
|
|
||||||
remoteInfo = WidgetsExtension;
|
|
||||||
};
|
|
||||||
/* End PBXContainerItemProxy section */
|
/* End PBXContainerItemProxy section */
|
||||||
|
|
||||||
/* Begin PBXCopyFilesBuildPhase section */
|
/* Begin PBXCopyFilesBuildPhase section */
|
||||||
|
@ -212,29 +165,6 @@
|
||||||
name = "Embed App Extensions";
|
name = "Embed App Extensions";
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
B4A29A392B55C990002A67DF /* Embed Watch Content */ = {
|
|
||||||
isa = PBXCopyFilesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
dstPath = "$(CONTENTS_FOLDER_PATH)/Watch";
|
|
||||||
dstSubfolderSpec = 16;
|
|
||||||
files = (
|
|
||||||
B4A29A3A2B55C990002A67DF /* BlueWalletWatch.app in Embed Watch Content */,
|
|
||||||
);
|
|
||||||
name = "Embed Watch Content";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
B4A29A3B2B55C990002A67DF /* Embed App Extensions */ = {
|
|
||||||
isa = PBXCopyFilesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
dstPath = "";
|
|
||||||
dstSubfolderSpec = 13;
|
|
||||||
files = (
|
|
||||||
B4A29A3C2B55C990002A67DF /* Stickers.appex in Embed App Extensions */,
|
|
||||||
B4A29A3D2B55C990002A67DF /* WidgetsExtension.appex in Embed App Extensions */,
|
|
||||||
);
|
|
||||||
name = "Embed App Extensions";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXCopyFilesBuildPhase section */
|
/* End PBXCopyFilesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
|
@ -376,7 +306,6 @@
|
||||||
B47B21E92B2128B8001F6690 /* BlueWalletUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BlueWalletUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
B47B21E92B2128B8001F6690 /* BlueWalletUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BlueWalletUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
B47B21EB2B2128B8001F6690 /* BlueWalletUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BlueWalletUITests.swift; sourceTree = "<group>"; };
|
B47B21EB2B2128B8001F6690 /* BlueWalletUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BlueWalletUITests.swift; sourceTree = "<group>"; };
|
||||||
B49038D82B8FBAD300A8164A /* BlueWalletUITest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BlueWalletUITest.swift; sourceTree = "<group>"; };
|
B49038D82B8FBAD300A8164A /* BlueWalletUITest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BlueWalletUITest.swift; sourceTree = "<group>"; };
|
||||||
B4A29A452B55C990002A67DF /* BlueWallet.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BlueWallet.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
||||||
B4AB21062B61D8CA0080440C /* SplashScreen.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SplashScreen.swift; sourceTree = "<group>"; };
|
B4AB21062B61D8CA0080440C /* SplashScreen.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SplashScreen.swift; sourceTree = "<group>"; };
|
||||||
B4AB21082B61DC3F0080440C /* SplashScreen.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SplashScreen.m; sourceTree = "<group>"; };
|
B4AB21082B61DC3F0080440C /* SplashScreen.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SplashScreen.m; sourceTree = "<group>"; };
|
||||||
B4AB225C2B02AD12001F4328 /* XMLParserDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = XMLParserDelegate.swift; sourceTree = "<group>"; };
|
B4AB225C2B02AD12001F4328 /* XMLParserDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = XMLParserDelegate.swift; sourceTree = "<group>"; };
|
||||||
|
@ -452,16 +381,6 @@
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
B4A29A302B55C990002A67DF /* Frameworks */ = {
|
|
||||||
isa = PBXFrameworksBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
B4A29A312B55C990002A67DF /* libz.tbd in Frameworks */,
|
|
||||||
B4A29A322B55C990002A67DF /* libsqlite3.0.tbd in Frameworks */,
|
|
||||||
2B2B129397ACA4E7FCCB4F6F /* libPods-BlueWallet-NoLDK.a in Frameworks */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXFrameworksBuildPhase section */
|
/* End PBXFrameworksBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
/* Begin PBXGroup section */
|
||||||
|
@ -676,7 +595,6 @@
|
||||||
6D2A6461258BA92C0092292B /* Stickers.appex */,
|
6D2A6461258BA92C0092292B /* Stickers.appex */,
|
||||||
6DD4109C266CADF10087DE03 /* WidgetsExtension.appex */,
|
6DD4109C266CADF10087DE03 /* WidgetsExtension.appex */,
|
||||||
B47B21E92B2128B8001F6690 /* BlueWalletUITests.xctest */,
|
B47B21E92B2128B8001F6690 /* BlueWalletUITests.xctest */,
|
||||||
B4A29A452B55C990002A67DF /* BlueWallet.app */,
|
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -917,42 +835,12 @@
|
||||||
);
|
);
|
||||||
dependencies = (
|
dependencies = (
|
||||||
B47B21F02B2128B8001F6690 /* PBXTargetDependency */,
|
B47B21F02B2128B8001F6690 /* PBXTargetDependency */,
|
||||||
B49038D72B8FBA2500A8164A /* PBXTargetDependency */,
|
|
||||||
);
|
);
|
||||||
name = BlueWalletUITests;
|
name = BlueWalletUITests;
|
||||||
productName = BlueWalletUITests;
|
productName = BlueWalletUITests;
|
||||||
productReference = B47B21E92B2128B8001F6690 /* BlueWalletUITests.xctest */;
|
productReference = B47B21E92B2128B8001F6690 /* BlueWalletUITests.xctest */;
|
||||||
productType = "com.apple.product-type.bundle.ui-testing";
|
productType = "com.apple.product-type.bundle.ui-testing";
|
||||||
};
|
};
|
||||||
B4A29A212B55C990002A67DF /* BlueWallet-NoLDK */ = {
|
|
||||||
isa = PBXNativeTarget;
|
|
||||||
buildConfigurationList = B4A29A422B55C990002A67DF /* Build configuration list for PBXNativeTarget "BlueWallet-NoLDK" */;
|
|
||||||
buildPhases = (
|
|
||||||
B4A29A2A2B55C990002A67DF /* [CP] Check Pods Manifest.lock */,
|
|
||||||
B4A29A2B2B55C990002A67DF /* Sources */,
|
|
||||||
B4A29A302B55C990002A67DF /* Frameworks */,
|
|
||||||
B4A29A342B55C990002A67DF /* Resources */,
|
|
||||||
B4A29A382B55C990002A67DF /* Bundle React Native code and images */,
|
|
||||||
B4A29A392B55C990002A67DF /* Embed Watch Content */,
|
|
||||||
B4A29A3B2B55C990002A67DF /* Embed App Extensions */,
|
|
||||||
B4A29A3E2B55C990002A67DF /* Upload source maps to Bugsnag */,
|
|
||||||
B4A29A3F2B55C990002A67DF /* Upload Bugsnag dSYM */,
|
|
||||||
B4A29A402B55C990002A67DF /* [CP] Embed Pods Frameworks */,
|
|
||||||
B4A29A412B55C990002A67DF /* [CP] Copy Pods Resources */,
|
|
||||||
);
|
|
||||||
buildRules = (
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
B4A29A222B55C990002A67DF /* PBXTargetDependency */,
|
|
||||||
B4A29A242B55C990002A67DF /* PBXTargetDependency */,
|
|
||||||
B4A29A262B55C990002A67DF /* PBXTargetDependency */,
|
|
||||||
B4A29A282B55C990002A67DF /* PBXTargetDependency */,
|
|
||||||
);
|
|
||||||
name = "BlueWallet-NoLDK";
|
|
||||||
productName = "Hello World";
|
|
||||||
productReference = B4A29A452B55C990002A67DF /* BlueWallet.app */;
|
|
||||||
productType = "com.apple.product-type.application";
|
|
||||||
};
|
|
||||||
/* End PBXNativeTarget section */
|
/* End PBXNativeTarget section */
|
||||||
|
|
||||||
/* Begin PBXProject section */
|
/* Begin PBXProject section */
|
||||||
|
@ -992,7 +880,7 @@
|
||||||
};
|
};
|
||||||
B47B21E82B2128B8001F6690 = {
|
B47B21E82B2128B8001F6690 = {
|
||||||
CreatedOnToolsVersion = 15.0.1;
|
CreatedOnToolsVersion = 15.0.1;
|
||||||
TestTargetID = B4A29A212B55C990002A67DF;
|
TestTargetID = 13B07F861A680F5B00A75B9A;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -1042,7 +930,6 @@
|
||||||
6D2A6460258BA92C0092292B /* Stickers */,
|
6D2A6460258BA92C0092292B /* Stickers */,
|
||||||
6DD4109B266CADF10087DE03 /* WidgetsExtension */,
|
6DD4109B266CADF10087DE03 /* WidgetsExtension */,
|
||||||
B47B21E82B2128B8001F6690 /* BlueWalletUITests */,
|
B47B21E82B2128B8001F6690 /* BlueWalletUITests */,
|
||||||
B4A29A212B55C990002A67DF /* BlueWallet-NoLDK */,
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
/* End PBXProject section */
|
/* End PBXProject section */
|
||||||
|
@ -1102,15 +989,6 @@
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
B4A29A342B55C990002A67DF /* Resources */ = {
|
|
||||||
isa = PBXResourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
B4A29A352B55C990002A67DF /* LaunchScreen.storyboard in Resources */,
|
|
||||||
B4A29A372B55C990002A67DF /* Images.xcassets in Resources */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXResourcesBuildPhase section */
|
/* End PBXResourcesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
/* Begin PBXShellScriptBuildPhase section */
|
||||||
|
@ -1275,111 +1153,6 @@
|
||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
shellScript = "SOURCE_MAP=\"$TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\" ../node_modules/@bugsnag/react-native/bugsnag-react-native-xcode.sh";
|
shellScript = "SOURCE_MAP=\"$TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\" ../node_modules/@bugsnag/react-native/bugsnag-react-native-xcode.sh";
|
||||||
};
|
};
|
||||||
B4A29A2A2B55C990002A67DF /* [CP] Check Pods Manifest.lock */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputFileListPaths = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
|
||||||
"${PODS_ROOT}/Manifest.lock",
|
|
||||||
);
|
|
||||||
name = "[CP] Check Pods Manifest.lock";
|
|
||||||
outputFileListPaths = (
|
|
||||||
);
|
|
||||||
outputPaths = (
|
|
||||||
"$(DERIVED_FILE_DIR)/Pods-BlueWallet-NoLDK-checkManifestLockResult.txt",
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
|
||||||
showEnvVarsInLog = 0;
|
|
||||||
};
|
|
||||||
B4A29A382B55C990002A67DF /* Bundle React Native code and images */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
name = "Bundle React Native code and images";
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "export EXTRA_PACKAGER_ARGS=\"--sourcemap-output $TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\"\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
|
|
||||||
};
|
|
||||||
B4A29A3E2B55C990002A67DF /* Upload source maps to Bugsnag */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
name = "Upload source maps to Bugsnag";
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "SOURCE_MAP=\"$TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\" ../node_modules/@bugsnag/react-native/bugsnag-react-native-xcode.sh";
|
|
||||||
};
|
|
||||||
B4A29A3F2B55C990002A67DF /* Upload Bugsnag dSYM */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputFileListPaths = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
"${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}",
|
|
||||||
"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}",
|
|
||||||
);
|
|
||||||
name = "Upload Bugsnag dSYM";
|
|
||||||
outputFileListPaths = (
|
|
||||||
);
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = "/usr/bin/env ruby";
|
|
||||||
shellScript = "api_key = nil # Insert your key here to use it directly from this script\n\n# Attempt to get the API key from an environment variable\nunless api_key\n api_key = ENV[\"BUGSNAG_API_KEY\"]\n\n # If not present, attempt to lookup the value from the Info.plist\n unless api_key\n info_plist_path = \"#{ENV[\"BUILT_PRODUCTS_DIR\"]}/#{ENV[\"INFOPLIST_PATH\"]}\"\n plist_buddy_response = `/usr/libexec/PlistBuddy -c \"print :bugsnag:apiKey\" \"#{info_plist_path}\"`\n plist_buddy_response = `/usr/libexec/PlistBuddy -c \"print :BugsnagAPIKey\" \"#{info_plist_path}\"` if !$?.success?\n api_key = plist_buddy_response if $?.success?\n end\nend\n\nfail(\"No Bugsnag API key detected - add your key to your Info.plist, BUGSNAG_API_KEY environment variable or this Run Script phase\") unless api_key\n\nfork do\n Process.setsid\n STDIN.reopen(\"/dev/null\")\n STDOUT.reopen(\"/dev/null\", \"a\")\n STDERR.reopen(\"/dev/null\", \"a\")\n\n require 'shellwords'\n\n Dir[\"#{ENV[\"DWARF_DSYM_FOLDER_PATH\"]}/*/Contents/Resources/DWARF/*\"].each do |dsym|\n curl_command = \"curl --http1.1 -F dsym=@#{Shellwords.escape(dsym)} -F projectRoot=#{Shellwords.escape(ENV[\"PROJECT_DIR\"])} \"\n curl_command += \"-F apiKey=#{Shellwords.escape(api_key)} \"\n curl_command += \"https://upload.bugsnag.com/\"\n system(curl_command)\n end\nend\n";
|
|
||||||
showEnvVarsInLog = 0;
|
|
||||||
};
|
|
||||||
B4A29A402B55C990002A67DF /* [CP] Embed Pods Frameworks */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputFileListPaths = (
|
|
||||||
"${PODS_ROOT}/Target Support Files/Pods-BlueWallet-NoLDK/Pods-BlueWallet-NoLDK-frameworks-${CONFIGURATION}-input-files.xcfilelist",
|
|
||||||
);
|
|
||||||
name = "[CP] Embed Pods Frameworks";
|
|
||||||
outputFileListPaths = (
|
|
||||||
"${PODS_ROOT}/Target Support Files/Pods-BlueWallet-NoLDK/Pods-BlueWallet-NoLDK-frameworks-${CONFIGURATION}-output-files.xcfilelist",
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-BlueWallet-NoLDK/Pods-BlueWallet-NoLDK-frameworks.sh\"\n";
|
|
||||||
showEnvVarsInLog = 0;
|
|
||||||
};
|
|
||||||
B4A29A412B55C990002A67DF /* [CP] Copy Pods Resources */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputFileListPaths = (
|
|
||||||
"${PODS_ROOT}/Target Support Files/Pods-BlueWallet-NoLDK/Pods-BlueWallet-NoLDK-resources-${CONFIGURATION}-input-files.xcfilelist",
|
|
||||||
);
|
|
||||||
name = "[CP] Copy Pods Resources";
|
|
||||||
outputFileListPaths = (
|
|
||||||
"${PODS_ROOT}/Target Support Files/Pods-BlueWallet-NoLDK/Pods-BlueWallet-NoLDK-resources-${CONFIGURATION}-output-files.xcfilelist",
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-BlueWallet-NoLDK/Pods-BlueWallet-NoLDK-resources.sh\"\n";
|
|
||||||
showEnvVarsInLog = 0;
|
|
||||||
};
|
|
||||||
CF0725821442A3000F20E874 /* Upload Bugsnag dSYM */ = {
|
CF0725821442A3000F20E874 /* Upload Bugsnag dSYM */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
|
@ -1482,17 +1255,6 @@
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
B4A29A2B2B55C990002A67DF /* Sources */ = {
|
|
||||||
isa = PBXSourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
B4A29A2C2B55C990002A67DF /* EventEmitter.m in Sources */,
|
|
||||||
B4A29A2D2B55C990002A67DF /* main.m in Sources */,
|
|
||||||
B4A29A2E2B55C990002A67DF /* AppDelegate.mm in Sources */,
|
|
||||||
B4A29A2F2B55C990002A67DF /* Bridge.swift in Sources */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXSourcesBuildPhase section */
|
/* End PBXSourcesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXTargetDependency section */
|
/* Begin PBXTargetDependency section */
|
||||||
|
@ -1527,30 +1289,6 @@
|
||||||
target = 13B07F861A680F5B00A75B9A /* BlueWallet */;
|
target = 13B07F861A680F5B00A75B9A /* BlueWallet */;
|
||||||
targetProxy = B47B21EF2B2128B8001F6690 /* PBXContainerItemProxy */;
|
targetProxy = B47B21EF2B2128B8001F6690 /* PBXContainerItemProxy */;
|
||||||
};
|
};
|
||||||
B49038D72B8FBA2500A8164A /* PBXTargetDependency */ = {
|
|
||||||
isa = PBXTargetDependency;
|
|
||||||
target = B4A29A212B55C990002A67DF /* BlueWallet-NoLDK */;
|
|
||||||
targetProxy = B49038D62B8FBA2500A8164A /* PBXContainerItemProxy */;
|
|
||||||
};
|
|
||||||
B4A29A222B55C990002A67DF /* PBXTargetDependency */ = {
|
|
||||||
isa = PBXTargetDependency;
|
|
||||||
target = B40D4E2F225841EC00428FCC /* BlueWalletWatch */;
|
|
||||||
targetProxy = B4A29A232B55C990002A67DF /* PBXContainerItemProxy */;
|
|
||||||
};
|
|
||||||
B4A29A242B55C990002A67DF /* PBXTargetDependency */ = {
|
|
||||||
isa = PBXTargetDependency;
|
|
||||||
targetProxy = B4A29A252B55C990002A67DF /* PBXContainerItemProxy */;
|
|
||||||
};
|
|
||||||
B4A29A262B55C990002A67DF /* PBXTargetDependency */ = {
|
|
||||||
isa = PBXTargetDependency;
|
|
||||||
target = 6D2A6460258BA92C0092292B /* Stickers */;
|
|
||||||
targetProxy = B4A29A272B55C990002A67DF /* PBXContainerItemProxy */;
|
|
||||||
};
|
|
||||||
B4A29A282B55C990002A67DF /* PBXTargetDependency */ = {
|
|
||||||
isa = PBXTargetDependency;
|
|
||||||
target = 6DD4109B266CADF10087DE03 /* WidgetsExtension */;
|
|
||||||
targetProxy = B4A29A292B55C990002A67DF /* PBXContainerItemProxy */;
|
|
||||||
};
|
|
||||||
/* End PBXTargetDependency section */
|
/* End PBXTargetDependency section */
|
||||||
|
|
||||||
/* Begin PBXVariantGroup section */
|
/* Begin PBXVariantGroup section */
|
||||||
|
@ -2258,7 +1996,7 @@
|
||||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
TARGETED_DEVICE_FAMILY = "1,2";
|
||||||
TEST_TARGET_NAME = "BlueWallet-NoLDK";
|
TEST_TARGET_NAME = BlueWallet;
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
};
|
};
|
||||||
|
@ -2303,109 +2041,7 @@
|
||||||
SWIFT_EMIT_LOC_STRINGS = NO;
|
SWIFT_EMIT_LOC_STRINGS = NO;
|
||||||
SWIFT_VERSION = 5.0;
|
SWIFT_VERSION = 5.0;
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
TARGETED_DEVICE_FAMILY = "1,2";
|
||||||
TEST_TARGET_NAME = "BlueWallet-NoLDK";
|
TEST_TARGET_NAME = BlueWallet;
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
B4A29A432B55C990002A67DF /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
baseConfigurationReference = A16A0CF8A3E6F577B90BF8A4 /* Pods-BlueWallet-NoLDK.debug.xcconfig */;
|
|
||||||
buildSettings = {
|
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
||||||
CLANG_ENABLE_MODULES = YES;
|
|
||||||
CODE_SIGN_ENTITLEMENTS = BlueWallet/BlueWallet.entitlements;
|
|
||||||
CODE_SIGN_IDENTITY = "Apple Development";
|
|
||||||
CODE_SIGN_STYLE = Automatic;
|
|
||||||
CURRENT_PROJECT_VERSION = 1703115000;
|
|
||||||
DEAD_CODE_STRIPPING = YES;
|
|
||||||
DEVELOPMENT_TEAM = A7W54YZ4WU;
|
|
||||||
ENABLE_BITCODE = NO;
|
|
||||||
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
||||||
"$(inherited)",
|
|
||||||
"COCOAPODS=1",
|
|
||||||
"FB_SONARKIT_ENABLED=1",
|
|
||||||
);
|
|
||||||
HEADER_SEARCH_PATHS = "$(inherited)";
|
|
||||||
INFOPLIST_FILE = "BlueWallet-NoLDK.plist";
|
|
||||||
INFOPLIST_KEY_CFBundleDisplayName = BlueWallet;
|
|
||||||
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.finance";
|
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
|
||||||
"$(inherited)",
|
|
||||||
"@executable_path/Frameworks",
|
|
||||||
);
|
|
||||||
LIBRARY_SEARCH_PATHS = (
|
|
||||||
"$(SDKROOT)/usr/lib/swift",
|
|
||||||
"$(SDKROOT)/System/iOSSupport/usr/lib/swift",
|
|
||||||
"$(inherited)",
|
|
||||||
);
|
|
||||||
MARKETING_VERSION = 6.5.8;
|
|
||||||
OTHER_LDFLAGS = (
|
|
||||||
"$(inherited)",
|
|
||||||
"-ObjC",
|
|
||||||
"-lc++",
|
|
||||||
);
|
|
||||||
PRESERVE_DEAD_CODE_INITS_AND_TERMS = YES;
|
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = io.bluewallet.bluewallet;
|
|
||||||
PRODUCT_NAME = BlueWallet;
|
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
|
||||||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
|
|
||||||
SUPPORTS_MACCATALYST = YES;
|
|
||||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
|
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = "BlueWallet-Bridging-Header.h";
|
|
||||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
||||||
SWIFT_VERSION = 4.2;
|
|
||||||
TARGETED_DEVICE_FAMILY = "1,2,6";
|
|
||||||
VERSIONING_SYSTEM = "apple-generic";
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
B4A29A442B55C990002A67DF /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
baseConfigurationReference = 8B160AC12BDAD72BB70BC175 /* Pods-BlueWallet-NoLDK.release.xcconfig */;
|
|
||||||
buildSettings = {
|
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
||||||
CLANG_ENABLE_MODULES = YES;
|
|
||||||
CODE_SIGN_ENTITLEMENTS = BlueWallet/BlueWalletRelease.entitlements;
|
|
||||||
CODE_SIGN_IDENTITY = "Apple Development";
|
|
||||||
CODE_SIGN_STYLE = Automatic;
|
|
||||||
CURRENT_PROJECT_VERSION = 1703115000;
|
|
||||||
DEAD_CODE_STRIPPING = YES;
|
|
||||||
DEVELOPMENT_TEAM = A7W54YZ4WU;
|
|
||||||
ENABLE_BITCODE = NO;
|
|
||||||
"ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES;
|
|
||||||
HEADER_SEARCH_PATHS = "$(inherited)";
|
|
||||||
INFOPLIST_FILE = "BlueWallet-NoLDK.plist";
|
|
||||||
INFOPLIST_KEY_CFBundleDisplayName = BlueWallet;
|
|
||||||
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.finance";
|
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
|
||||||
"$(inherited)",
|
|
||||||
"@executable_path/Frameworks",
|
|
||||||
);
|
|
||||||
LIBRARY_SEARCH_PATHS = (
|
|
||||||
"$(SDKROOT)/usr/lib/swift",
|
|
||||||
"$(SDKROOT)/System/iOSSupport/usr/lib/swift",
|
|
||||||
"$(inherited)",
|
|
||||||
);
|
|
||||||
MARKETING_VERSION = 6.5.8;
|
|
||||||
OTHER_LDFLAGS = (
|
|
||||||
"$(inherited)",
|
|
||||||
"-ObjC",
|
|
||||||
"-lc++",
|
|
||||||
);
|
|
||||||
PRESERVE_DEAD_CODE_INITS_AND_TERMS = YES;
|
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = io.bluewallet.bluewallet;
|
|
||||||
PRODUCT_NAME = BlueWallet;
|
|
||||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
|
||||||
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
|
|
||||||
SUPPORTS_MACCATALYST = YES;
|
|
||||||
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
|
|
||||||
SWIFT_OBJC_BRIDGING_HEADER = "BlueWallet-Bridging-Header.h";
|
|
||||||
SWIFT_VERSION = 4.2;
|
|
||||||
TARGETED_DEVICE_FAMILY = "1,2,6";
|
|
||||||
VERSIONING_SYSTEM = "apple-generic";
|
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
};
|
};
|
||||||
|
@ -2475,15 +2111,6 @@
|
||||||
defaultConfigurationIsVisible = 0;
|
defaultConfigurationIsVisible = 0;
|
||||||
defaultConfigurationName = Release;
|
defaultConfigurationName = Release;
|
||||||
};
|
};
|
||||||
B4A29A422B55C990002A67DF /* Build configuration list for PBXNativeTarget "BlueWallet-NoLDK" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
B4A29A432B55C990002A67DF /* Debug */,
|
|
||||||
B4A29A442B55C990002A67DF /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
/* End XCConfigurationList section */
|
/* End XCConfigurationList section */
|
||||||
|
|
||||||
/* Begin XCRemoteSwiftPackageReference section */
|
/* Begin XCRemoteSwiftPackageReference section */
|
||||||
|
|
|
@ -12,7 +12,6 @@ enum WalletGradient: String {
|
||||||
case SegwitHD = "HDsegwitP2SH"
|
case SegwitHD = "HDsegwitP2SH"
|
||||||
case Segwit = "segwitP2SH"
|
case Segwit = "segwitP2SH"
|
||||||
case LightningCustodial = "lightningCustodianWallet"
|
case LightningCustodial = "lightningCustodianWallet"
|
||||||
case LightningLDK = "lightningLdk"
|
|
||||||
case SegwitNative = "HDsegwitBech32"
|
case SegwitNative = "HDsegwitBech32"
|
||||||
case WatchOnly = "watchOnly"
|
case WatchOnly = "watchOnly"
|
||||||
case MultiSig = "HDmultisig"
|
case MultiSig = "HDmultisig"
|
||||||
|
@ -27,7 +26,7 @@ enum WalletGradient: String {
|
||||||
return "walletHD"
|
return "walletHD"
|
||||||
case .WatchOnly:
|
case .WatchOnly:
|
||||||
return "walletWatchOnly"
|
return "walletWatchOnly"
|
||||||
case .LightningCustodial, .LightningLDK:
|
case .LightningCustodial:
|
||||||
return "walletLightningCustodial"
|
return "walletLightningCustodial"
|
||||||
case .MultiSig:
|
case .MultiSig:
|
||||||
return "watchMultisig"
|
return "watchMultisig"
|
||||||
|
|
|
@ -46,7 +46,7 @@ class ReceiveInterfaceController: WKInterfaceController {
|
||||||
}
|
}
|
||||||
|
|
||||||
private func setupView() {
|
private func setupView() {
|
||||||
if receiveMethod == "createInvoice" && (wallet?.type == WalletGradient.LightningCustodial.rawValue || wallet?.type == WalletGradient.LightningLDK.rawValue) {
|
if receiveMethod == "createInvoice" && (wallet?.type == WalletGradient.LightningCustodial.rawValue) {
|
||||||
presentController(withName: SpecifyInterfaceController.identifier, context: wallet?.identifier)
|
presentController(withName: SpecifyInterfaceController.identifier, context: wallet?.identifier)
|
||||||
} else {
|
} else {
|
||||||
setupQRCode()
|
setupQRCode()
|
||||||
|
@ -95,7 +95,7 @@ class ReceiveInterfaceController: WKInterfaceController {
|
||||||
}
|
}
|
||||||
|
|
||||||
private func isCreatingInvoice() -> Bool {
|
private func isCreatingInvoice() -> Bool {
|
||||||
return receiveMethod == "createInvoice" && (wallet?.type == WalletGradient.LightningCustodial.rawValue || wallet?.type == WalletGradient.LightningLDK.rawValue)
|
return receiveMethod == "createInvoice" && (wallet?.type == WalletGradient.LightningCustodial.rawValue)
|
||||||
}
|
}
|
||||||
|
|
||||||
override func didDeactivate() {
|
override func didDeactivate() {
|
||||||
|
|
|
@ -40,7 +40,7 @@ class SpecifyInterfaceController: WKInterfaceController {
|
||||||
let wallet = WatchDataSource.shared.wallets[identifier]
|
let wallet = WatchDataSource.shared.wallets[identifier]
|
||||||
self.wallet = wallet
|
self.wallet = wallet
|
||||||
self.createButton.setAlpha(0.5)
|
self.createButton.setAlpha(0.5)
|
||||||
self.specifiedQRContent.bitcoinUnit = (wallet.type == WalletGradient.LightningCustodial.rawValue || wallet.type == WalletGradient.LightningLDK.rawValue) ? .SATS : .BTC
|
self.specifiedQRContent.bitcoinUnit = (wallet.type == WalletGradient.LightningCustodial.rawValue) ? .SATS : .BTC
|
||||||
NotificationCenter.default.addObserver(forName: NumericKeypadInterfaceController.NotificationName.keypadDataChanged, object: nil, queue: nil) { [weak self] (notification) in
|
NotificationCenter.default.addObserver(forName: NumericKeypadInterfaceController.NotificationName.keypadDataChanged, object: nil, queue: nil) { [weak self] (notification) in
|
||||||
guard let amountObject = notification.object as? [String], !amountObject.isEmpty else { return }
|
guard let amountObject = notification.object as? [String], !amountObject.isEmpty else { return }
|
||||||
if amountObject.count == 1 && (amountObject.first == "." || amountObject.first == "0") {
|
if amountObject.count == 1 && (amountObject.first == "." || amountObject.first == "0") {
|
||||||
|
@ -60,7 +60,7 @@ class SpecifyInterfaceController: WKInterfaceController {
|
||||||
|
|
||||||
var isShouldCreateButtonBeEnabled = amountDouble > 0 && !title.isEmpty
|
var isShouldCreateButtonBeEnabled = amountDouble > 0 && !title.isEmpty
|
||||||
|
|
||||||
if (wallet.type == WalletGradient.LightningCustodial.rawValue || wallet.type == WalletGradient.LightningLDK.rawValue) && !WCSession.default.isReachable {
|
if (wallet.type == WalletGradient.LightningCustodial.rawValue) && !WCSession.default.isReachable {
|
||||||
isShouldCreateButtonBeEnabled = false
|
isShouldCreateButtonBeEnabled = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,14 +41,14 @@ class WalletDetailsInterfaceController: WKInterfaceController {
|
||||||
walletNameLabel.setText(wallet.label)
|
walletNameLabel.setText(wallet.label)
|
||||||
walletBasicsGroup.setBackgroundImageNamed(WalletGradient(rawValue: wallet.type)?.imageString)
|
walletBasicsGroup.setBackgroundImageNamed(WalletGradient(rawValue: wallet.type)?.imageString)
|
||||||
|
|
||||||
let isLightningWallet = wallet.type == WalletGradient.LightningCustodial.rawValue || wallet.type == WalletGradient.LightningLDK.rawValue
|
let isLightningWallet = wallet.type == WalletGradient.LightningCustodial.rawValue
|
||||||
createInvoiceButton.setHidden(!isLightningWallet)
|
createInvoiceButton.setHidden(!isLightningWallet)
|
||||||
receiveButton.setHidden(wallet.receiveAddress.isEmpty)
|
receiveButton.setHidden(wallet.receiveAddress.isEmpty)
|
||||||
viewXPubButton.setHidden(!isXPubAvailable(wallet: wallet))
|
viewXPubButton.setHidden(!isXPubAvailable(wallet: wallet))
|
||||||
}
|
}
|
||||||
|
|
||||||
private func isXPubAvailable(wallet: Wallet) -> Bool {
|
private func isXPubAvailable(wallet: Wallet) -> Bool {
|
||||||
return (wallet.type != WalletGradient.LightningCustodial.rawValue && wallet.type != WalletGradient.LightningLDK.rawValue) && !(wallet.xpub ?? "").isEmpty
|
return (wallet.type != WalletGradient.LightningCustodial.rawValue) && !(wallet.xpub ?? "").isEmpty
|
||||||
}
|
}
|
||||||
|
|
||||||
private func updateTransactionsTable(forWallet wallet: Wallet) {
|
private func updateTransactionsTable(forWallet wallet: Wallet) {
|
||||||
|
|
|
@ -62,10 +62,6 @@ target 'BlueWallet' do
|
||||||
configure_target()
|
configure_target()
|
||||||
end
|
end
|
||||||
|
|
||||||
target 'BlueWallet-NoLDK' do
|
|
||||||
configure_target()
|
|
||||||
end
|
|
||||||
|
|
||||||
target 'BlueWalletUITests' do
|
target 'BlueWalletUITests' do
|
||||||
configure_target()
|
configure_target()
|
||||||
end
|
end
|
||||||
|
@ -89,4 +85,4 @@ post_install do |installer|
|
||||||
end
|
end
|
||||||
__apply_Xcode_12_5_M1_post_install_workaround(installer)
|
__apply_Xcode_12_5_M1_post_install_workaround(installer)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -863,6 +863,6 @@ SPEC CHECKSUMS:
|
||||||
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
|
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
|
||||||
Yoga: 76b2d5677fc9694bae53c80d0cccfc55719064a3
|
Yoga: 76b2d5677fc9694bae53c80d0cccfc55719064a3
|
||||||
|
|
||||||
PODFILE CHECKSUM: 724cdfc1953f7e223f24ab1d579cb8e01c0f1624
|
PODFILE CHECKSUM: 06602cb616640824e5360b185cba810e443eaa5a
|
||||||
|
|
||||||
COCOAPODS: 1.14.3
|
COCOAPODS: 1.14.3
|
||||||
|
|
|
@ -43,7 +43,6 @@ enum ButtonSelected {
|
||||||
// @ts-ignore: Return later to update
|
// @ts-ignore: Return later to update
|
||||||
OFFCHAIN = Chain.OFFCHAIN,
|
OFFCHAIN = Chain.OFFCHAIN,
|
||||||
VAULT = 'VAULT',
|
VAULT = 'VAULT',
|
||||||
LDK = 'LDK',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface State {
|
interface State {
|
||||||
|
@ -336,11 +335,6 @@ const WalletsAdd: React.FC = () => {
|
||||||
setSelectedWalletType(ButtonSelected.OFFCHAIN);
|
setSelectedWalletType(ButtonSelected.OFFCHAIN);
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleOnLdkButtonPressed = async () => {
|
|
||||||
Keyboard.dismiss();
|
|
||||||
setSelectedWalletType(ButtonSelected.LDK);
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ScrollView style={stylesHook.root} testID="ScrollView">
|
<ScrollView style={stylesHook.root} testID="ScrollView">
|
||||||
<BlueSpacing20 />
|
<BlueSpacing20 />
|
||||||
|
|
|
@ -301,11 +301,6 @@ const WalletDetails = () => {
|
||||||
address: wallet.getAllExternalAddresses()[0], // works for both single address and HD wallets
|
address: wallet.getAllExternalAddresses()[0], // works for both single address and HD wallets
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const navigateToLdkViewLogs = () => {
|
|
||||||
navigate('LdkViewLogs', {
|
|
||||||
walletID,
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
const navigateToAddresses = () =>
|
const navigateToAddresses = () =>
|
||||||
navigate('WalletAddresses', {
|
navigate('WalletAddresses', {
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
--- ../node_modules/rn-ldk/android/gradle.properties
|
|
||||||
+++ ../node_modules/rn-ldk/android/gradle.properties
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-RnLdk_kotlinVersion=1.3.50
|
|
||||||
+RnLdk_kotlinVersion=1.6.0
|
|
||||||
RnLdk_compileSdkVersion=29
|
|
||||||
RnLdk_buildToolsVersion=29.0.2
|
|
||||||
RnLdk_targetSdkVersion=29
|
|
|
@ -127,9 +127,6 @@ jest.mock('react-native-document-picker', () => ({}));
|
||||||
|
|
||||||
jest.mock('react-native-haptic-feedback', () => ({}));
|
jest.mock('react-native-haptic-feedback', () => ({}));
|
||||||
|
|
||||||
jest.mock('rn-ldk/lib/module', () => ({}));
|
|
||||||
jest.mock('rn-ldk/src/index', () => ({}));
|
|
||||||
|
|
||||||
const realmInstanceMock = {
|
const realmInstanceMock = {
|
||||||
create: function () {},
|
create: function () {},
|
||||||
delete: function () {},
|
delete: function () {},
|
||||||
|
|
Loading…
Add table
Reference in a new issue