Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Convey service integration when issuing presentations from the Holder app #60

Merged
merged 8 commits into from
Sep 24, 2020
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
7 changes: 4 additions & 3 deletions apps/IdentityApp/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ISSUER_NAME=
ISSUER_ENDPOINT=
TINYQR_ENDPOINT=
IPFS_GATEWAY_ENDPOINT=https://ipfs.io/ipfs
IPFS_GATEWAY_ENDPOINT=
DATA_VAULT_ENDPOINT=
RSK_NODE=
RSK_NODE=
CONVEY_URL=
CONVEY_DID=
6 changes: 4 additions & 2 deletions apps/IdentityApp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,23 @@ Create a .env file with the following settings:
```
ISSUER_NAME=
ISSUER_ENDPOINT=
TINYQR_ENDPOINT=
IPFS_GATEWAY_ENDPOINT=https://ipfs.io/ipfs
DATA_VAULT_ENDPOINT=
RSK_NODE=
CONVEY_URL=
CONVEY_DID=
```

**Example:**

```
ISSUER_NAME=RIFOS
ISSUER_ENDPOINT=https://identity-credentials.testnet.rifos.org
TINYQR_ENDPOINT=https://identity-tiny-qr.testnet.rifos.org
IPFS_GATEWAY_ENDPOINT=https://ipfs.io/ipfs
DATA_VAULT_ENDPOINT=https://identity-data-vault.testnet.rifos.org
RSK_NODE=https://did.testnet.rsk.co:4444
CONVEY_URL=TBD
CONVEY_DID=TBD
```

## Install
Expand Down
73 changes: 7 additions & 66 deletions apps/IdentityApp/ios/IdentityApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
2DCD954D1E0B4F2C00145EB5 /* IdentityAppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* IdentityAppTests.m */; };
55D9F7ACB57CA14FFC07F5EC /* libPods-IdentityApp-IdentityAppTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = EBE413EF077900C774A80DAC /* libPods-IdentityApp-IdentityAppTests.a */; };
66B95F1012EB30B0210452D7 /* libPods-IdentityApp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2FEEC1702EDF9C053BF9A23A /* libPods-IdentityApp.a */; };
6FBCF7E58A0566C705332B9A /* libPods-IdentityApp-tvOSTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0F78BD8E5A8A36C485E23DB8 /* libPods-IdentityApp-tvOSTests.a */; };
9C4B32C4EECFFFEEBE55A06E /* libPods-IdentityApp-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3243E8F6C51DC2CA84CF8A51 /* libPods-IdentityApp-tvOS.a */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -44,23 +42,17 @@
00E356EE1AD99517003FC87E /* IdentityAppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = IdentityAppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
00E356F21AD99517003FC87E /* IdentityAppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = IdentityAppTests.m; sourceTree = "<group>"; };
0F78BD8E5A8A36C485E23DB8 /* libPods-IdentityApp-tvOSTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-IdentityApp-tvOSTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
13B07F961A680F5B00A75B9A /* IdentityApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = IdentityApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = IdentityApp/AppDelegate.h; sourceTree = "<group>"; };
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = IdentityApp/AppDelegate.m; sourceTree = "<group>"; };
13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = IdentityApp/Images.xcassets; sourceTree = "<group>"; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = IdentityApp/Info.plist; sourceTree = "<group>"; };
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = IdentityApp/main.m; sourceTree = "<group>"; };
1BD606A6E1ED5E8ADB5C745C /* Pods-IdentityApp-tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IdentityApp-tvOS.release.xcconfig"; path = "Target Support Files/Pods-IdentityApp-tvOS/Pods-IdentityApp-tvOS.release.xcconfig"; sourceTree = "<group>"; };
1CC5E991C366C62CBE897027 /* Pods-IdentityApp-tvOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IdentityApp-tvOSTests.release.xcconfig"; path = "Target Support Files/Pods-IdentityApp-tvOSTests/Pods-IdentityApp-tvOSTests.release.xcconfig"; sourceTree = "<group>"; };
2D02E47B1E0B4A5D006451C7 /* IdentityApp-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "IdentityApp-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
2D02E4901E0B4A5D006451C7 /* IdentityApp-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "IdentityApp-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
2FEEC1702EDF9C053BF9A23A /* libPods-IdentityApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-IdentityApp.a"; sourceTree = BUILT_PRODUCTS_DIR; };
3243E8F6C51DC2CA84CF8A51 /* libPods-IdentityApp-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-IdentityApp-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
4C81A8BCD1B6C3BAB644BEFD /* Pods-IdentityApp-IdentityAppTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IdentityApp-IdentityAppTests.release.xcconfig"; path = "Target Support Files/Pods-IdentityApp-IdentityAppTests/Pods-IdentityApp-IdentityAppTests.release.xcconfig"; sourceTree = "<group>"; };
59D20FF2B989DA85127E1720 /* Pods-IdentityApp-tvOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IdentityApp-tvOSTests.debug.xcconfig"; path = "Target Support Files/Pods-IdentityApp-tvOSTests/Pods-IdentityApp-tvOSTests.debug.xcconfig"; sourceTree = "<group>"; };
6B4211D8310E1524341C7D97 /* Pods-IdentityApp-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IdentityApp-tvOS.debug.xcconfig"; path = "Target Support Files/Pods-IdentityApp-tvOS/Pods-IdentityApp-tvOS.debug.xcconfig"; sourceTree = "<group>"; };
6D01E0DB6D64D410087C487C /* Pods-IdentityApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IdentityApp.debug.xcconfig"; path = "Target Support Files/Pods-IdentityApp/Pods-IdentityApp.debug.xcconfig"; sourceTree = "<group>"; };
83F76EEAFD5B1352089D489C /* Pods-IdentityApp-IdentityAppTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IdentityApp-IdentityAppTests.debug.xcconfig"; path = "Target Support Files/Pods-IdentityApp-IdentityAppTests/Pods-IdentityApp-IdentityAppTests.debug.xcconfig"; sourceTree = "<group>"; };
8BD921EB5C168215A0B8EA8A /* Pods-IdentityApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IdentityApp.release.xcconfig"; path = "Target Support Files/Pods-IdentityApp/Pods-IdentityApp.release.xcconfig"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -106,15 +98,13 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
9C4B32C4EECFFFEEBE55A06E /* libPods-IdentityApp-tvOS.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
2D02E48D1E0B4A5D006451C7 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
6FBCF7E58A0566C705332B9A /* libPods-IdentityApp-tvOSTests.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -160,8 +150,6 @@
ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
2FEEC1702EDF9C053BF9A23A /* libPods-IdentityApp.a */,
EBE413EF077900C774A80DAC /* libPods-IdentityApp-IdentityAppTests.a */,
3243E8F6C51DC2CA84CF8A51 /* libPods-IdentityApp-tvOS.a */,
0F78BD8E5A8A36C485E23DB8 /* libPods-IdentityApp-tvOSTests.a */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -229,10 +217,6 @@
8BD921EB5C168215A0B8EA8A /* Pods-IdentityApp.release.xcconfig */,
83F76EEAFD5B1352089D489C /* Pods-IdentityApp-IdentityAppTests.debug.xcconfig */,
4C81A8BCD1B6C3BAB644BEFD /* Pods-IdentityApp-IdentityAppTests.release.xcconfig */,
6B4211D8310E1524341C7D97 /* Pods-IdentityApp-tvOS.debug.xcconfig */,
1BD606A6E1ED5E8ADB5C745C /* Pods-IdentityApp-tvOS.release.xcconfig */,
59D20FF2B989DA85127E1720 /* Pods-IdentityApp-tvOSTests.debug.xcconfig */,
1CC5E991C366C62CBE897027 /* Pods-IdentityApp-tvOSTests.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
Expand Down Expand Up @@ -285,7 +269,6 @@
isa = PBXNativeTarget;
buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "IdentityApp-tvOS" */;
buildPhases = (
C8998E4215EFB6849D237C94 /* [CP] Check Pods Manifest.lock */,
FD10A7F122414F3F0027D42C /* Start Packager */,
2D02E4771E0B4A5D006451C7 /* Sources */,
2D02E4781E0B4A5D006451C7 /* Frameworks */,
Expand All @@ -305,7 +288,6 @@
isa = PBXNativeTarget;
buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "IdentityApp-tvOSTests" */;
buildPhases = (
1D089A44FCF6EF2ABC14B485 /* [CP] Check Pods Manifest.lock */,
2D02E48C1E0B4A5D006451C7 /* Sources */,
2D02E48D1E0B4A5D006451C7 /* Frameworks */,
2D02E48E1E0B4A5D006451C7 /* Resources */,
Expand Down Expand Up @@ -333,6 +315,7 @@
TestTargetID = 13B07F861A680F5B00A75B9A;
};
13B07F861A680F5B00A75B9A = {
DevelopmentTeam = V86655ZF85;
LastSwiftMigration = 1120;
};
2D02E47A1E0B4A5D006451C7 = {
Expand Down Expand Up @@ -439,6 +422,7 @@
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
Expand All @@ -458,6 +442,7 @@
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Octicons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SimpleLineIcons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Zocial.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
Expand Down Expand Up @@ -486,28 +471,6 @@
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;
};
1D089A44FCF6EF2ABC14B485 /* [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-IdentityApp-tvOSTests-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;
};
2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -567,6 +530,7 @@
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
Expand All @@ -586,34 +550,13 @@
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Octicons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SimpleLineIcons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Zocial.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-IdentityApp/Pods-IdentityApp-resources.sh\"\n";
showEnvVarsInLog = 0;
};
C8998E4215EFB6849D237C94 /* [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-IdentityApp-tvOS-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;
};
FD10A7F022414F080027D42C /* Start Packager */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -767,6 +710,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = V86655ZF85;
ENABLE_BITCODE = NO;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
Expand Down Expand Up @@ -794,6 +738,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = V86655ZF85;
INFOPLIST_FILE = IdentityApp/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = (
Expand All @@ -810,7 +755,6 @@
};
2D02E4971E0B4A5E006451C7 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 6B4211D8310E1524341C7D97 /* Pods-IdentityApp-tvOS.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
Expand Down Expand Up @@ -838,7 +782,6 @@
};
2D02E4981E0B4A5E006451C7 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 1BD606A6E1ED5E8ADB5C745C /* Pods-IdentityApp-tvOS.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
Expand Down Expand Up @@ -866,7 +809,6 @@
};
2D02E4991E0B4A5E006451C7 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 59D20FF2B989DA85127E1720 /* Pods-IdentityApp-tvOSTests.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ANALYZER_NONNULL = YES;
Expand All @@ -893,7 +835,6 @@
};
2D02E49A1E0B4A5E006451C7 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 1CC5E991C366C62CBE897027 /* Pods-IdentityApp-tvOSTests.release.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ANALYZER_NONNULL = YES;
Expand Down
Loading