Skip to content

Commit

Permalink
Feature/smilescreens (#240)
Browse files Browse the repository at this point in the history
* feat: optional confirmation on docv

* feat: confirm optional

* modify access for needed utis methos in wrappers

* feat: changelog

* chore: undo signing

* feat: lint warnings

* chore: lint

* chore: lint

* chore: bump version for release

* chore: bump version for release

* chore: bump version for release

* chore: bump version for release

* feat: make selfie instruction screen accessible to wrappers

* feat: more util methos

* feat: more util methos

* feat: podspec
  • Loading branch information
JNdhlovu authored Oct 2, 2024
1 parent eb65efc commit 7002c47
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Release Notes
## 10.2.13

### Added
* Modified access selfie and liveness images util functions

## 10.2.12

### Added
Expand Down
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PODS:
- Sentry (8.36.0):
- Sentry/Core (= 8.36.0)
- Sentry/Core (8.36.0)
- SmileID (10.2.12):
- SmileID (10.2.13):
- FingerprintJS
- lottie-ios (~> 4.4.2)
- ZIPFoundation (~> 0.9)
Expand Down Expand Up @@ -51,7 +51,7 @@ SPEC CHECKSUMS:
lottie-ios: fcb5e73e17ba4c983140b7d21095c834b3087418
netfox: 9d5cc727fe7576c4c7688a2504618a156b7d44b7
Sentry: f8374b5415bc38dfb5645941b3ae31230fbeae57
SmileID: 6a7309335dafa915a23a6c4e8bfa4742aa483fc8
SmileID: 5c847978928cf6f31a5bcf423570dfc27d8a0dbf
SwiftLint: 3fe909719babe5537c552ee8181c0031392be933
ZIPFoundation: b8c29ea7ae353b309bc810586181fd073cb3312c

Expand Down
4 changes: 2 additions & 2 deletions SmileID.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = 'SmileID'
s.version = '10.2.12'
s.version = '10.2.13'
s.summary = 'The Official Smile Identity iOS SDK.'
s.homepage = 'https://docs.usesmileid.com/integration-options/mobile/ios-v10-beta'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Japhet' => '[email protected]', 'Juma Allan' => '[email protected]', 'Vansh Gandhi' => '[email protected]'}
s.source = { :git => "https://github.com/smileidentity/ios.git", :tag => "v10.2.12" }
s.source = { :git => "https://github.com/smileidentity/ios.git", :tag => "v10.2.13" }
s.ios.deployment_target = '13.0'
s.dependency 'ZIPFoundation', '~> 0.9'
s.dependency 'FingerprintJS'
Expand Down
8 changes: 4 additions & 4 deletions Sources/SmileID/Classes/Helpers/LocalStorage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ public class LocalStorage {
"\(name)_\(Date().millisecondsSince1970).jpg"
}

static func createSelfieFile(
public static func createSelfieFile(
jobId: String,
selfieFile data: Data
) throws -> URL {
try createSmileFile(to: jobId, name: filename(for: FileType.selfie.name), file: data)
}

static func createLivenessFile(
public static func createLivenessFile(
jobId: String,
livenessFile data: Data
) throws -> URL {
Expand All @@ -70,7 +70,7 @@ public class LocalStorage {
try createSmileFile(to: jobId, name: filename(for: fileType.name), file: data)
}

static func getFileByType(
public static func getFileByType(
jobId: String,
fileType: FileType,
submitted: Bool = false
Expand All @@ -79,7 +79,7 @@ public class LocalStorage {
return contents.first(where: { $0.lastPathComponent.contains(fileType.name) })
}

static func getFilesByType(
public static func getFilesByType(
jobId: String,
fileType: FileType,
submitted: Bool = false
Expand Down

0 comments on commit 7002c47

Please sign in to comment.