Skip to content

Commit 3f94cb8

Browse files
CAMOBAPalexbabrykoviche271828-
authored
Feat/verify params phone prefix (#197)
* feat: Add phone prefix/number support for MFA flows This enables MFA phone verification flows by allowing developers to pass phone prefixes or numbers during hCaptcha validation. * chore: Bump version to 2.10.0 * Apply suggestion from @e271828- * feat: move rqdata to HCaptchaVerifyParams and deprecate in HCaptchaConfig * ci: to make pod lint pass comment deprecated annotations * docs: update README.md related to MFA feature * docs: update HCaptchaConfig.rqdata deprecation note Co-authored-by: e271828- <e271828-@users.noreply.github.com> --------- Co-authored-by: Aliaksandr Babrykovich <aliaksandr.babrykovich@callstack.com> Co-authored-by: e271828- <e271828-@users.noreply.github.com>
1 parent aa0e8c7 commit 3f94cb8

24 files changed

+1272
-57
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2.10.0
2+
3+
- Feat: Add phone prefix/number support for MFA flows
4+
15
# 2.9.6
26

37
- Feat: upgrade RxSwift to 6.9.0

Example/HCaptcha.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/* Begin PBXBuildFile section */
1010
43C25BC32E3FC51600AB0A36 /* TestTimeouts.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43C25BC22E3FC51600AB0A36 /* TestTimeouts.swift */; };
1111
43C25BC42E3FC51600AB0A36 /* TestTimeouts.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43C25BC22E3FC51600AB0A36 /* TestTimeouts.swift */; };
12+
43DC08122E95B131003839A5 /* HCaptchaVerifyParams__Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43DC08112E95B131003839A5 /* HCaptchaVerifyParams__Tests.swift */; };
1213
50AC78913CD85915C922C6E7 /* Pods_HCaptcha_RxSwift_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 81A23EFF913417B4D093248E /* Pods_HCaptcha_RxSwift_Example.framework */; };
1314
607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; };
1415
607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; };
@@ -98,6 +99,7 @@
9899
15CF87684AC2F129E32CC71E /* Pods-HCaptcha_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HCaptcha_Example.debug.xcconfig"; path = "Target Support Files/Pods-HCaptcha_Example/Pods-HCaptcha_Example.debug.xcconfig"; sourceTree = "<group>"; };
99100
1CF662E463D56A0421D8A84A /* Pods-HCaptcha_RxSwift_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HCaptcha_RxSwift_Example.debug.xcconfig"; path = "Target Support Files/Pods-HCaptcha_RxSwift_Example/Pods-HCaptcha_RxSwift_Example.debug.xcconfig"; sourceTree = "<group>"; };
100101
43C25BC22E3FC51600AB0A36 /* TestTimeouts.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestTimeouts.swift; sourceTree = "<group>"; };
102+
43DC08112E95B131003839A5 /* HCaptchaVerifyParams__Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HCaptchaVerifyParams__Tests.swift; sourceTree = "<group>"; };
101103
4D10E8098B5018907486C310 /* Pods_HCaptcha_UIKit_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_HCaptcha_UIKit_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
102104
607FACD01AFB9204008FA782 /* HCaptcha_RxSwift_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HCaptcha_RxSwift_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
103105
607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
@@ -398,6 +400,7 @@
398400
F2ECCF821E9FC4AC0097B199 /* Core */ = {
399401
isa = PBXGroup;
400402
children = (
403+
43DC08112E95B131003839A5 /* HCaptchaVerifyParams__Tests.swift */,
401404
F2ECCF891E9FCEFE0097B199 /* HCaptchaDecoder__Tests.swift */,
402405
F2ECCF8D1E9FE68C0097B199 /* HCaptchaWebViewManager__Tests.swift */,
403406
9C5125BD26CB9A3A0094B023 /* HCaptchaWebViewManager__HTML__Tests.swift */,
@@ -999,6 +1002,7 @@
9991002
F2ECCF8E1E9FE68C0097B199 /* HCaptchaWebViewManager__Tests.swift in Sources */,
10001003
F231B3971FEC325A00F82943 /* DispatchQueue__Tests.swift in Sources */,
10011004
E64F97912895CD250044257C /* HCaptcha__Bench.swift in Sources */,
1005+
43DC08122E95B131003839A5 /* HCaptchaVerifyParams__Tests.swift in Sources */,
10021006
F231B39F1FED4A8C00F82943 /* HCaptchaDecoder+Helper.swift in Sources */,
10031007
F2E2685E1F7AEE3400CD876D /* HCaptcha__Tests.swift in Sources */,
10041008
F2ECCF931EA009360097B199 /* HCaptcha+Rx__Tests.swift in Sources */,

0 commit comments

Comments
 (0)