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

MOB-730 Upgrade IDV SDKs and Remove /verify from end point. #7

Merged
merged 4 commits into from
Jan 22, 2024
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
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ dependencies {
// For < 0.71, this will be from the local maven repo
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
//noinspection GradleDynamicVersion
implementation("com.ts.sdk:identityverification:1.0.5")
implementation("com.ts.sdk:identityverification:+")
implementation "com.facebook.react:react-native:+"
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.10"
implementation "com.jakewharton.timber:timber:4.7.1"
Expand Down
29 changes: 15 additions & 14 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- AccountProtection (2.0.3):
- TSCoreSDK (~> 1.0.10)
- AccountProtection (2.0.7):
- TSCoreSDK (~> 1.0.18)
- boost (1.76.0)
- CocoaAsyncSocket (7.6.5)
- DoubleConversion (1.1.6)
Expand Down Expand Up @@ -75,8 +75,9 @@ PODS:
- hermes-engine (0.72.5):
- hermes-engine/Pre-built (= 0.72.5)
- hermes-engine/Pre-built (0.72.5)
- IdentityVerification (1.0.6):
- AccountProtection (~> 2.0.3)
- IdentityVerification (1.0.10):
- AccountProtection (~> 2.0.7)
- TSCoreSDK (~> 1.0.18)
- libevent (2.1.12)
- OpenSSL-Universal (1.1.1100)
- RCT-Folly (2021.07.22.00):
Expand Down Expand Up @@ -379,8 +380,8 @@ PODS:
- React-jsinspector (0.72.5)
- React-logger (0.72.5):
- glog
- react-native-ts-idv (1.0.0):
- IdentityVerification (~> 1.0.6)
- react-native-ts-idv (1.0.2):
- IdentityVerification (~> 1.0.10)
- RCT-Folly (= 2021.07.22.00)
- React-Core
- React-NativeModulesApple (0.72.5):
Expand Down Expand Up @@ -493,10 +494,10 @@ PODS:
- React-jsi (= 0.72.5)
- React-logger (= 0.72.5)
- React-perflogger (= 0.72.5)
- RNPermissions (3.10.0):
- RNPermissions (3.10.1):
- React-Core
- SocketRocket (0.6.1)
- TSCoreSDK (1.0.14)
- TSCoreSDK (1.0.18)
- Yoga (1.14.0)
- YogaKit (1.18.1):
- Yoga (~> 1.14)
Expand Down Expand Up @@ -674,7 +675,7 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
AccountProtection: 8eb760e992e743f28a1ed95b11111e6d4aad9c15
AccountProtection: a079133c3d1bef271a676d0c0a2b5c205ac9e2f9
boost: 57d2868c099736d80fcd648bf211b4431e51a558
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
Expand All @@ -691,7 +692,7 @@ SPEC CHECKSUMS:
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
hermes-engine: f6cf92a471053245614d9d8097736f6337d5b86c
IdentityVerification: e62005afb862cefcf49d535bb83957cc8fcc02d9
IdentityVerification: 8f9f485a584d3ba14fa8597c3fc609cb0800fa0b
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
Expand All @@ -709,7 +710,7 @@ SPEC CHECKSUMS:
React-jsiexecutor: ff70a72027dea5cc7d71cfcc6fad7f599f63987a
React-jsinspector: aef73cbd43b70675f572214d10fa438c89bf11ba
React-logger: 2e4aee3e11b3ec4fa6cfd8004610bbb3b8d6cca4
react-native-ts-idv: 1fe20cd5f2f04288f7360d040addd0528148e3d4
react-native-ts-idv: aae179ba7cd50a8e7f661f2f8242cc1f373ba186
React-NativeModulesApple: 797bc6078d566eef3fb3f74127e6e1d2e945a15f
React-perflogger: cd8886513f68e1c135a1e79d20575c6489641597
React-RCTActionSheet: 726d2615ca62a77ce3e2c13d87f65379cdc73498
Expand All @@ -727,12 +728,12 @@ SPEC CHECKSUMS:
React-runtimescheduler: cc32add98c45c5df18436a6a52a7e1f6edec102c
React-utils: 7a9918a1ffdd39aba67835d42386f592ea3f8e76
ReactCommon: 91ece8350ebb3dd2be9cef662abd78b6948233c0
RNPermissions: eae8b97d8ab0587f082966ee608f47c97b2a349b
RNPermissions: a446c2ce1f3bf54383c283798307cca5f50d70e4
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
TSCoreSDK: 1a6adee7fd20634895fd1a5f13d1ed754f2676cb
TSCoreSDK: b5a94e4cf74d0bc6e3067ef4d90ac2dd34e2f0cc
Yoga: 86fed2e4d425ee4c6eab3813ba1791101ee153c6
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: 87fb0cd1433be44f24abde7e7ca844410cb0f486

COCOAPODS: 1.12.1
COCOAPODS: 1.14.2
112 changes: 56 additions & 56 deletions example/ios/TsIdvExample.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"build:ios": "cd ios && xcodebuild -workspace TsIdvExample.xcworkspace -scheme TsIdvExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO"
},
"dependencies": {
"@babel/runtime": "^7.23.8",
"react": "18.2.0",
"react-native": "0.72.5",
"react-native-permissions": "^3.9.3"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/metro-config": "^0.72.11",
"babel-plugin-module-resolver": "^5.0.0",
"metro-react-native-babel-preset": "0.76.8"
Expand Down
4 changes: 2 additions & 2 deletions ios/TsIdv.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class TsIdv: RCTEventEmitter {

@objc(initialize:withBaseUrl:withResolver:withRejecter:)
func initialize(_ clientId: String, baseUrl: String, resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) -> Void {
runBlockOnMain {
TSIdentityVerification.initialize(baseUrl: baseUrl, clientId: clientId)
runBlockOnMain {
TSIdentityVerification.initialize(baseUrl: baseUrl, clientId: clientId)
TSIdentityVerification.delegate = self
resolve(true)
}
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,8 @@
}
]
]
},
"dependencies": {
"@babel/runtime": "^7.23.8"
}
}
Binary file removed react-native-ts-idv-0.0.0-local.0.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion react-native-ts-idv.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
s.platforms = { :ios => "13.0" }
s.source = { :git => "https://github.com/TransmitSecurity/react-native-ts-idv", :tag => "#{s.version}" }

s.dependency 'IdentityVerification', '~> 1.0.6'
s.dependency 'IdentityVerification', '~> 1.0.10'
s.source_files = "ios/**/*.{h,m,mm,swift}"

# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
Expand Down
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export namespace TSIDV {
}

export const enum BaseURL {
us = "https://api.transmitsecurity.io/verify",
eu = "https://api.eu.transmitsecurity.io/verify"
us = "https://api.transmitsecurity.io",
eu = "https://api.eu.transmitsecurity.io"
}
}

Expand Down
Loading
Loading