https://github.com/vonage/number-verification-sdk-ios
https://github.com/vonage/number-verification-sdk-ios
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vonage/number-verification-sdk-ios
- Owner: Vonage
- License: apache-2.0
- Created: 2024-02-09T12:22:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-05T13:09:36.000Z (7 months ago)
- Last Synced: 2024-12-05T14:22:20.927Z (7 months ago)
- Language: Swift
- Size: 31.3 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ⚠️ This Library has been deprecated in favour of the [VonageClientLibrary](https://github.com/Vonage/vonage-ios-client-library) ⚠️
# VonageClientSDKNumberVerification
[Vonage Number Verification](https://developer.vonage.com/en/number-verification/overview) uses a mobile phone's Subscriber Identity Module (SIM) to prove a user's identity. This SDK enables making a HTTP request over cellular even when on WiFi. This SDK is designed to be used as part of a Number Verification flow, please read the [guide](https://developer.vonage.com/en/getting-started-network/authentication) for more information.
## Installation
### Swift Package Manager
```swift
import PackageDescriptionlet package = Package(
dependencies: [
.Package(url: "https://github.com/Vonage/number-verification-sdk-ios.git")
]
)
```### Cocoapods
```ruby
pod 'VonageClientSDKNumberVerification'
```## Compatibility
iOS 13+
## Usage
```swift
import VonageClientSDKNumberVerificationlet client = VGNumberVerificationClient()
let params = VGNumberVerificationParameters(url: "http://www.vonage.com",
headers: ["x-my-header": "My Value"],
queryParameters: ["query-param" : "value"]
maxRedirectCount: 10
)
let response = try await client.startNumberVerification(params: params)
```