diff --git a/android/app/build.gradle b/android/app/build.gradle index 013079fd39..a4244cce93 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -265,12 +265,12 @@ dependencies { implementation("io.mosip:inji-openid4vp:0.2.0-SNAPSHOT") implementation("com.facebook.react:react-android") implementation 'com.facebook.soloader:soloader:0.10.1+' - implementation("io.mosip:pixelpass-aar:0.6.0-SNAPSHOT") - implementation("io.mosip:secure-keystore:0.3.0-SNAPSHOT") + implementation("io.mosip:pixelpass-aar:0.6.0") + implementation("io.mosip:secure-keystore:0.3.0") implementation("io.mosip:tuvali:0.5.2-SNAPSHOT") - implementation("io.mosip:inji-vci-client:0.2.0-SNAPSHOT") + implementation("io.mosip:inji-vci-client:0.2.0") implementation("com.google.code.gson:gson:2.10.1") - implementation("io.mosip:vcverifier-aar:1.1.0-SNAPSHOT"){ + implementation("io.mosip:vcverifier-aar:1.1.0"){ exclude group: 'org.bouncycastle', module: 'bcpkix-jdk15on' } @@ -342,4 +342,4 @@ apply from: file("../../node_modules/@react-native-community/cli-platform-androi // https://github.com/oblador/react-native-vector-icons?tab=readme-ov-file#android-setup apply from: file("../../node_modules/react-native-vector-icons/fonts.gradle") -apply from: "./eas-build.gradle" +apply from: "./eas-build.gradle" \ No newline at end of file diff --git a/ios/Inji.xcodeproj/project.pbxproj b/ios/Inji.xcodeproj/project.pbxproj index 3844295f8f..a6d905a9c8 100644 --- a/ios/Inji.xcodeproj/project.pbxproj +++ b/ios/Inji.xcodeproj/project.pbxproj @@ -12,11 +12,6 @@ 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 1E6875EB2CA554FD0086D870 /* RNOpenID4VPModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 1E6875EA2CA554FD0086D870 /* RNOpenID4VPModule.m */; }; 1E6875ED2CA5550F0086D870 /* RNOpenID4VPModule.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E6875EC2CA5550F0086D870 /* RNOpenID4VPModule.swift */; }; - 1EC395242D50C89C0022D979 /* VCIClient in Frameworks */ = {isa = PBXBuildFile; productRef = 1EC395232D50C89C0022D979 /* VCIClient */; }; - 3403A56C2D6C79EB00AD64DE /* OpenID4VP in Frameworks */ = {isa = PBXBuildFile; productRef = 3403A56B2D6C79EB00AD64DE /* OpenID4VP */; }; - 1EC3952A2D50C9470022D979 /* pixelpass in Frameworks */ = {isa = PBXBuildFile; productRef = 1EC395292D50C9470022D979 /* pixelpass */; }; - 1EC3952D2D50C9820022D979 /* ios-tuvali-library in Frameworks */ = {isa = PBXBuildFile; productRef = 1EC3952C2D50C9820022D979 /* ios-tuvali-library */; }; - 1EC395302D50C99E0022D979 /* securekeystore in Frameworks */ = {isa = PBXBuildFile; productRef = 1EC3952F2D50C99E0022D979 /* securekeystore */; }; 3E461D99554A48A4959DE609 /* SplashScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AA286B85B6C04FC6940260E9 /* SplashScreen.storyboard */; }; 73295844242A4AD3AA52D0BE /* noop-file.swift in Sources */ = {isa = PBXBuildFile; fileRef = D98B96A488E54CBDB286B26F /* noop-file.swift */; }; 96905EF65AED1B983A6B3ABC /* libPods-Inji.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 58EEBF8E8E6FB1BC6CAF49B5 /* libPods-Inji.a */; }; @@ -31,6 +26,11 @@ 9C4850532C3E59E2002ECBD5 /* RNEventEmitterProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9C4850522C3E59E2002ECBD5 /* RNEventEmitterProtocol.swift */; }; 9C7CDF3E2C7CBEDE00243A9A /* RNSecureKeystoreModule.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9C7CDF3D2C7CBEDE00243A9A /* RNSecureKeystoreModule.swift */; }; 9C7CDF432C7CC13500243A9A /* RNSecureKeystoreModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 9C7CDF422C7CC13500243A9A /* RNSecureKeystoreModule.m */; }; + 9CD75A992D6591AD0006BD88 /* securekeystore in Frameworks */ = {isa = PBXBuildFile; productRef = 9CD75A982D6591AD0006BD88 /* securekeystore */; }; + 9CD75A9C2D65920F0006BD88 /* ios-tuvali-library in Frameworks */ = {isa = PBXBuildFile; productRef = 9CD75A9B2D65920F0006BD88 /* ios-tuvali-library */; }; + 9CD75AA52D65C23C0006BD88 /* OpenID4VP in Frameworks */ = {isa = PBXBuildFile; productRef = 9CD75AA42D65C23C0006BD88 /* OpenID4VP */; }; + 9CD75AA82D65C25E0006BD88 /* pixelpass in Frameworks */ = {isa = PBXBuildFile; productRef = 9CD75AA72D65C25E0006BD88 /* pixelpass */; }; + 9CD75AAB2D65C2820006BD88 /* VCIClient in Frameworks */ = {isa = PBXBuildFile; productRef = 9CD75AAA2D65C2820006BD88 /* VCIClient */; }; B18059E884C0ABDD17F3DC3D /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAC715A2D49A985799AEE119 /* ExpoModulesProvider.swift */; }; BB2F792D24A3F905000567C9 /* Expo.plist in Resources */ = {isa = PBXBuildFile; fileRef = BB2F792C24A3F905000567C9 /* Expo.plist */; }; E86208152C0335C5007C3E24 /* RNVCIClientModule.swift in Sources */ = {isa = PBXBuildFile; fileRef = E86208142C0335C5007C3E24 /* RNVCIClientModule.swift */; }; @@ -113,12 +113,12 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 1EC395242D50C89C0022D979 /* VCIClient in Frameworks */, - 1EC3952A2D50C9470022D979 /* pixelpass in Frameworks */, - 3403A56C2D6C79EB00AD64DE /* OpenID4VP in Frameworks */, - 1EC395302D50C99E0022D979 /* securekeystore in Frameworks */, + 9CD75AAB2D65C2820006BD88 /* VCIClient in Frameworks */, 96905EF65AED1B983A6B3ABC /* libPods-Inji.a in Frameworks */, - 1EC3952D2D50C9820022D979 /* ios-tuvali-library in Frameworks */, + 9CD75A992D6591AD0006BD88 /* securekeystore in Frameworks */, + 9CD75AA52D65C23C0006BD88 /* OpenID4VP in Frameworks */, + 9CD75AA82D65C25E0006BD88 /* pixelpass in Frameworks */, + 9CD75A9C2D65920F0006BD88 /* ios-tuvali-library in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -273,7 +273,7 @@ 1E55884F2CC0EF2C00CF55B4 /* Copy FaceSDK Model */, 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 800E24972A6A228C8D4807E9 /* [CP] Copy Pods Resources */, - 0F2FCBA5E4517C72775B53F7 /* [CP] Embed Pods Frameworks */, + D11A8C363B4A5B625DB10379 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -281,11 +281,11 @@ ); name = Inji; packageProductDependencies = ( - 1EC395232D50C89C0022D979 /* VCIClient */, - 3403A56B2D6C79EB00AD64DE /* OpenID4VP */, - 1EC395292D50C9470022D979 /* pixelpass */, - 1EC3952C2D50C9820022D979 /* ios-tuvali-library */, - 1EC3952F2D50C99E0022D979 /* securekeystore */, + 9CD75A982D6591AD0006BD88 /* securekeystore */, + 9CD75A9B2D65920F0006BD88 /* ios-tuvali-library */, + 9CD75AA42D65C23C0006BD88 /* OpenID4VP */, + 9CD75AA72D65C25E0006BD88 /* pixelpass */, + 9CD75AAA2D65C2820006BD88 /* VCIClient */, ); productName = Inji; productReference = 13B07F961A680F5B00A75B9A /* Inji.app */; @@ -314,11 +314,11 @@ ); mainGroup = 83CBB9F61A601CBA00E9B192; packageReferences = ( - 1EC395222D50C89C0022D979 /* XCRemoteSwiftPackageReference "inji-vci-client-ios-swift.git" */, - 3403A56A2D6C79EB00AD64DE /* XCRemoteSwiftPackageReference "inji-openid4vp-ios-swift.git" */, - 1EC395282D50C9470022D979 /* XCRemoteSwiftPackageReference "pixelpass-ios-swift.git" */, - 1EC3952B2D50C9820022D979 /* XCRemoteSwiftPackageReference "tuvali-ios-swift.git" */, - 1EC3952E2D50C99E0022D979 /* XCRemoteSwiftPackageReference "secure-keystore-ios-swift.git" */, + 9CD75A972D6591AD0006BD88 /* XCRemoteSwiftPackageReference "secure-keystore-ios-swift" */, + 9CD75A9A2D65920F0006BD88 /* XCRemoteSwiftPackageReference "tuvali-ios-swift" */, + 9CD75AA32D65C23C0006BD88 /* XCRemoteSwiftPackageReference "inji-openid4vp-ios-swift" */, + 9CD75AA62D65C25E0006BD88 /* XCRemoteSwiftPackageReference "pixelpass-ios-swift" */, + 9CD75AA92D65C2820006BD88 /* XCRemoteSwiftPackageReference "inji-vci-client-ios-swift" */, ); productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; projectDirPath = ""; @@ -471,24 +471,24 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Inji/Pods-Inji-resources.sh\"\n"; showEnvVarsInLog = 0; }; - 0F2FCBA5E4517C72775B53F7 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Inji/Pods-Inji-frameworks.sh", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermes.framework/hermes", - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Inji/Pods-Inji-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; + D11A8C363B4A5B625DB10379 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Inji/Pods-Inji-frameworks.sh", + "${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermes.framework/hermes", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Inji/Pods-Inji-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; FD10A7F022414F080027D42C /* Start Packager */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -574,6 +574,7 @@ PRODUCT_BUNDLE_IDENTIFIER = io.mosip.inji.wallet.mobileid; PRODUCT_NAME = Inji; PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = ""; SWIFT_OBJC_BRIDGING_HEADER = ""; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -762,49 +763,41 @@ /* End XCConfigurationList section */ /* Begin XCRemoteSwiftPackageReference section */ - 1EC395222D50C89C0022D979 /* XCRemoteSwiftPackageReference "inji-vci-client-ios-swift.git" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/mosip/inji-vci-client-ios-swift.git"; - requirement = { - branch = "release-0.2.x"; - kind = branch; - }; - }; - 1EC395252D50C9150022D979 /* XCRemoteSwiftPackageReference "inji-openid4vp-ios-swift.git" */ = { + 9CD75A972D6591AD0006BD88 /* XCRemoteSwiftPackageReference "secure-keystore-ios-swift" */ = { isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/mosip/inji-openid4vp-ios-swift.git"; + repositoryURL = "https://github.com/mosip/secure-keystore-ios-swift"; requirement = { - branch = "release-0.2.x"; - kind = branch; + kind = exactVersion; + version = 0.3.0; }; }; - 1EC395282D50C9470022D979 /* XCRemoteSwiftPackageReference "pixelpass-ios-swift.git" */ = { + 9CD75A9A2D65920F0006BD88 /* XCRemoteSwiftPackageReference "tuvali-ios-swift" */ = { isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/mosip/pixelpass-ios-swift.git"; + repositoryURL = "https://github.com/mosip/tuvali-ios-swift/"; requirement = { - branch = "release-0.6.x"; - kind = branch; + kind = exactVersion; + version = 0.5.0; }; }; - 1EC3952B2D50C9820022D979 /* XCRemoteSwiftPackageReference "tuvali-ios-swift.git" */ = { + 9CD75AA32D65C23C0006BD88 /* XCRemoteSwiftPackageReference "inji-openid4vp-ios-swift" */ = { isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/mosip/tuvali-ios-swift.git"; + repositoryURL = "https://github.com/mosip/inji-openid4vp-ios-swift"; requirement = { - branch = "release-0.5.x"; + branch = "release-0.2.x"; kind = branch; }; }; - 1EC3952E2D50C99E0022D979 /* XCRemoteSwiftPackageReference "secure-keystore-ios-swift.git" */ = { + 9CD75AA62D65C25E0006BD88 /* XCRemoteSwiftPackageReference "pixelpass-ios-swift" */ = { isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/mosip/secure-keystore-ios-swift.git"; + repositoryURL = "https://github.com/mosip/pixelpass-ios-swift/"; requirement = { - branch = "release-0.3.x"; + branch = "release-0.6.x"; kind = branch; }; }; - 3403A56A2D6C79EB00AD64DE /* XCRemoteSwiftPackageReference "inji-openid4vp-ios-swift" */ = { + 9CD75AA92D65C2820006BD88 /* XCRemoteSwiftPackageReference "inji-vci-client-ios-swift" */ = { isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/mosip/inji-openid4vp-ios-swift"; + repositoryURL = "https://github.com/mosip/inji-vci-client-ios-swift/"; requirement = { branch = "release-0.2.x"; kind = branch; @@ -813,32 +806,32 @@ /* End XCRemoteSwiftPackageReference section */ /* Begin XCSwiftPackageProductDependency section */ - 1EC395232D50C89C0022D979 /* VCIClient */ = { + 9CD75A982D6591AD0006BD88 /* securekeystore */ = { isa = XCSwiftPackageProductDependency; - package = 1EC395222D50C89C0022D979 /* XCRemoteSwiftPackageReference "inji-vci-client-ios-swift.git" */; - productName = VCIClient; + package = 9CD75A972D6591AD0006BD88 /* XCRemoteSwiftPackageReference "secure-keystore-ios-swift" */; + productName = securekeystore; }; - 3403A56B2D6C79EB00AD64DE /* OpenID4VP */ = { - isa = XCSwiftPackageProductDependency; - package = 3403A56A2D6C79EB00AD64DE /* XCRemoteSwiftPackageReference "inji-openid4vp-ios-swift" */; - productName = OpenID4VP; - }; - 1EC395292D50C9470022D979 /* pixelpass */ = { + 9CD75A9B2D65920F0006BD88 /* ios-tuvali-library */ = { isa = XCSwiftPackageProductDependency; - package = 1EC395282D50C9470022D979 /* XCRemoteSwiftPackageReference "pixelpass-ios-swift.git" */; - productName = pixelpass; + package = 9CD75A9A2D65920F0006BD88 /* XCRemoteSwiftPackageReference "tuvali-ios-swift" */; + productName = "ios-tuvali-library"; }; - 1EC3952C2D50C9820022D979 /* ios-tuvali-library */ = { + 9CD75AA42D65C23C0006BD88 /* OpenID4VP */ = { isa = XCSwiftPackageProductDependency; - package = 1EC3952B2D50C9820022D979 /* XCRemoteSwiftPackageReference "tuvali-ios-swift.git" */; - productName = "ios-tuvali-library"; + package = 9CD75AA32D65C23C0006BD88 /* XCRemoteSwiftPackageReference "inji-openid4vp-ios-swift" */; + productName = OpenID4VP; }; - 1EC3952F2D50C99E0022D979 /* securekeystore */ = { + 9CD75AA72D65C25E0006BD88 /* pixelpass */ = { isa = XCSwiftPackageProductDependency; - package = 1EC3952E2D50C99E0022D979 /* XCRemoteSwiftPackageReference "secure-keystore-ios-swift.git" */; - productName = securekeystore; + package = 9CD75AA62D65C25E0006BD88 /* XCRemoteSwiftPackageReference "pixelpass-ios-swift" */; + productName = pixelpass; + }; + 9CD75AAA2D65C2820006BD88 /* VCIClient */ = { + isa = XCSwiftPackageProductDependency; + package = 9CD75AA92D65C2820006BD88 /* XCRemoteSwiftPackageReference "inji-vci-client-ios-swift" */; + productName = VCIClient; }; /* End XCSwiftPackageProductDependency section */ }; rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; -} +} \ No newline at end of file diff --git a/ios/Inji.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ios/Inji.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000000..844c0fad4f --- /dev/null +++ b/ios/Inji.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,123 @@ +{ + "originHash" : "5737403c0b9f43f503dc98794e8805e76575a62d145e75f6c4c953bff4223584", + "pins" : [ + { + "identity" : "base45-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/ehn-dcc-development/base45-swift", + "state" : { + "revision" : "c1db97d793d02a1c3d56d50a738c8fd8c34372f8", + "version" : "1.1.0" + } + }, + { + "identity" : "crcswift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/ivanesik/CrcSwift.git", + "state" : { + "revision" : "bb2fff7fb79815fad0528da71c9168d570bfc76c", + "version" : "0.0.3" + } + }, + { + "identity" : "cryptoswift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/krzyzanowskim/CryptoSwift.git", + "state" : { + "revision" : "729e01bc9b9dab466ac85f21fb9ee2bc1c61b258", + "version" : "1.8.4" + } + }, + { + "identity" : "gzipswift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/1024jp/GzipSwift", + "state" : { + "revision" : "7a7f17761c76a932662ab77028a4329f67d645a4", + "version" : "5.2.0" + } + }, + { + "identity" : "inji-openid4vp-ios-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/mosip/inji-openid4vp-ios-swift", + "state" : { + "branch" : "release-0.2.x", + "revision" : "aa4f02975288baf9856d436d11552f895a4f6e2c" + } + }, + { + "identity" : "inji-vci-client-ios-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/mosip/inji-vci-client-ios-swift/", + "state" : { + "branch" : "release-0.2.x", + "revision" : "21854f841c7dae09fa51878a40676841664cc18b" + } + }, + { + "identity" : "jose-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/beatt83/jose-swift.git", + "state" : { + "revision" : "57fe5a03c83feaf73a84b23c02e641f86482e313", + "version" : "4.0.2" + } + }, + { + "identity" : "pixelpass-ios-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/mosip/pixelpass-ios-swift/", + "state" : { + "branch" : "release-0.6.x", + "revision" : "15249dc4eecb7c2b6e6074193d3928b3402c9d20" + } + }, + { + "identity" : "secp256k1.swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/GigaBitcoin/secp256k1.swift.git", + "state" : { + "revision" : "4c77c7384768acf1093d66ccaacf298d322b10b7", + "version" : "0.15.0" + } + }, + { + "identity" : "secure-keystore-ios-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/mosip/secure-keystore-ios-swift", + "state" : { + "revision" : "1ea5182ca985302d11010b7a16ea496167969ab3", + "version" : "0.3.0" + } + }, + { + "identity" : "swiftcbor", + "kind" : "remoteSourceControl", + "location" : "https://github.com/valpackett/SwiftCBOR", + "state" : { + "revision" : "04ccff117f6549121d5721ec84fdf0162122b90e", + "version" : "0.5.0" + } + }, + { + "identity" : "tuvali-ios-swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/mosip/tuvali-ios-swift/", + "state" : { + "revision" : "2d49e123f70dfc2179983a753d370cc2212385db", + "version" : "0.5.0" + } + }, + { + "identity" : "zipfoundation", + "kind" : "remoteSourceControl", + "location" : "https://github.com/weichsel/ZIPFoundation.git", + "state" : { + "revision" : "02b6abe5f6eef7e3cbd5f247c5cc24e246efcfe0", + "version" : "0.9.19" + } + } + ], + "version" : 2 +} \ No newline at end of file