A library to support using the Vonage APIs on iOS. Features:
- Force a cellular network request for use with Vonage Number Verification and Vonage Verify Silent Authentication
import PackageDescription
let package = Package(
dependencies: [
.Package(url: "https://github.com/Vonage/vonage-ios-client-library.git")
]
)
pod 'VonageClientLibrary'
iOS 13+
import VonageClientLibrary
let client = VGCellularRequestClient()
let params = VGCellularRequestParameters(url: "http://www.vonage.com",
headers: ["x-my-header": "My Value"],
queryParameters: ["query-param" : "value"]
maxRedirectCount: 10)
let response = try await client.startCellularRequest(params: params)