diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e1c831..ac5c86a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,16 @@ # Change Log All notable changes to this project will be documented in this file. -### [Version 0.0.1](https://github.com/CleverTap/clevertap-directcall-ios-sdk/releases/tag/0.0.1) (August 17, 2022) +### [Version 0.0.1](https://github.com/CleverTap/clevertap-signedcall-ios-sdk/releases/tag/0.0.1) (November 8, 2022) -### [Version 0.0.4-alpha](https://github.com/CleverTap/clevertap-directcall-ios-sdk/releases/tag/0.0.4-alpha) (March 20, 2022) +### [Version 0.0.4-alpha](https://github.com/CleverTap/clevertap-signedcall-ios-sdk/releases/tag/0.0.4-alpha) (March 20, 2022) - Adds suupport for arm64 simulators -### [Version 0.0.3-alpha](https://github.com/CleverTap/clevertap-directcall-ios-sdk/releases/tag/0.0.3-alpha) (March 12, 2022) +### [Version 0.0.3-alpha](https://github.com/CleverTap/clevertap-signedcall-ios-sdk/releases/tag/0.0.3-alpha) (March 12, 2022) -### [Version 0.0.2-alpha](https://github.com/CleverTap/clevertap-directcall-ios-sdk/releases/tag/0.0.2-alpha) (March 10, 2022) +### [Version 0.0.2-alpha](https://github.com/CleverTap/clevertap-signedcall-ios-sdk/releases/tag/0.0.2-alpha) (March 10, 2022) -### [Version 0.0.1-alpha](https://github.com/CleverTap/clevertap-directcall-ios-sdk/releases/tag/0.0.1-alpha) (March 9, 2022) +### [Version 0.0.1-alpha](https://github.com/CleverTap/clevertap-signedcall-ios-sdk/releases/tag/0.0.1-alpha) (March 9, 2022) diff --git a/CleverTap-DirectCall-SDK.podspec b/CleverTap-SignedCall-SDK.podspec similarity index 65% rename from CleverTap-DirectCall-SDK.podspec rename to CleverTap-SignedCall-SDK.podspec index 47d964b..978bb68 100644 --- a/CleverTap-DirectCall-SDK.podspec +++ b/CleverTap-SignedCall-SDK.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |s| -s.name = "CleverTap-DirectCall-SDK" +s.name = "CleverTap-SignedCall-SDK" s.version = '0.0.1' -s.summary = "CleverTap-DirectCall-SDK supports 1-1 voice calls" -s.homepage = "https://github.com/CleverTap/clevertap-directcall-ios-sdk" -s.source = { :http => "https://github.com/CleverTap/clevertap-directcall-ios-sdk/releases/download/#{s.version}/DirectCallSDK.xcframework.zip" } +s.summary = "CleverTap-SignedCall-SDK supports 1-1 voice calls" +s.homepage = "https://github.com/CleverTap/clevertap-signedcall-ios-sdk" +s.source = { :http => "https://github.com/CleverTap/clevertap-signedcall-ios-sdk/releases/download/#{s.version}/SignedCallSDK.xcframework.zip" } s.license = { :type => 'Commercial', :text => 'Copyright (c) 2022 CleverTap. All rights reserved. Use of this software is subject to the terms and conditions of the CleverTap Terms of Service' } s.author = { "CleverTap" => "http://www.clevertap.com" } -s.module_name = 'DirectCallSDK' +s.module_name = 'SignedCallSDK' s.platform = :ios, '10.0' s.ios.deployment_target = '10.0' @@ -14,11 +14,11 @@ s.swift_version = "5.0" s.ios.frameworks = 'Foundation', 'UIKit', 'Security', 'CoreGraphics', 'CoreImage', 'CoreFoundation', 'AVFoundation', 'AudioToolbox', 'VideoToolbox' -s.vendored_frameworks = 'DirectCallSDK.xcframework' +s.vendored_frameworks = 'SignedCallSDK.xcframework' s.ios.dependency 'Socket.IO-Client-Swift', '16.0.1' -s.ios.dependency 'CTSoftPhone', '0.0.4-alpha' +s.ios.dependency 'CTSoftPhone', '0.0.5-alpha' s.ios.dependency 'CTSimplePing', '1.0.1' -s.ios.dependency 'CleverTap-iOS-SDK' +s.ios.dependency 'CleverTap-iOS-SDK', '4.1.4' end diff --git a/README.md b/README.md index 25a1ee7..a6623fa 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ ## 👋 Introduction -CleverTap provides in-app calls via its Direct Call iOS SDK, which means you can make and receive calls in any iOS app if the device has an internet connection and Direct Call iOS SDK. This section shows you how to set up and integrate the Direct Call iOS SDK and manage calls. +CleverTap provides in-app calls via its Signed Call iOS SDK, which means you can make and receive calls in any iOS app if the device has an internet connection and Signed Call iOS SDK. This section shows you how to set up and integrate the Signed Call iOS SDK and manage calls. -To know more about the Direct Call feature, refer to [Direct Call](https://docs.clevertap.com/docs/direct-call). +To know more about the Signed Call feature, refer to [Signed Call](https://docs.clevertap.com/docs/signed-call). -Refer to [Direct Call Developer Documentation](https://developer.clevertap.com/docs/direct-call-ios-sdk) for detailed installation and integration steps. +Refer to [Signed Call Developer Documentation](https://developer.clevertap.com/docs/signed-call-ios-sdk) for detailed installation and integration steps. ## 🎉 Installation @@ -15,17 +15,17 @@ source 'https://github.com/CleverTap/podspecs.git' source 'https://github.com/CocoaPods/Specs.git' target 'YOUR_TARGET_NAME' do - pod 'CleverTap-DirectCall-SDK' + pod 'CleverTap-SignedCall-SDK' end ``` ## 🚀 Integration -Import CleverTap and Direct Call SDKs: +Import CleverTap and Signed Call SDKs: ``` import CleverTapSDK -import DirectCallSDK +import SignedCallSDK ``` In your AppDelegate file, call the registerVoIP function to generate a VoIP token and set pushRegistryDelegate: @@ -35,22 +35,22 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau // Override point for customization after application launch. CleverTap.setDebugLevel(CleverTapLogLevel.off.rawValue) CleverTap.autoIntegrate() - DirectCall.isLoggingEnabled = true - DirectCall.cleverTapInstance = CleverTap.sharedInstance() + SignedCall.isLoggingEnabled = true + SignedCall.cleverTapInstance = CleverTap.sharedInstance() guard let rootView = self.window?.rootViewController else { return true } - DirectCall.registerVoIP(withRootView: rootView) + SignedCall.registerVoIP(withRootView: rootView) return true } ``` -Initialize the Direct Call iOS SDK as follows: +Initialize the Signed Call iOS SDK as follows: ``` -DirectCall.initSDK(withInitOptions: initOptions) { result in +SignedCall.initSDK(withInitOptions: initOptions) { result in switch result { case .success(let success): print("SDK Initialized! \(success)") @@ -63,12 +63,12 @@ DirectCall.initSDK(withInitOptions: initOptions) { result in } ``` -Use the following code to make a Direct Call: +Use the following code to make a Signed Call: ``` -let callOptions = DCCallOptionsModel(context: "contextString", cuid: "cuidString") +let callOptions = SCCallOptionsModel(context: "contextString", cuid: "cuidString") -DirectCall.call(callOptions: callOptions) { result in +SignedCall.call(callOptions: callOptions) { result in switch result { case .success(let success): //Handle call initiated diff --git a/Release/DirectCallSDK.xcframework.zip b/Release/DirectCallSDK.xcframework.zip deleted file mode 100644 index 1033a93..0000000 Binary files a/Release/DirectCallSDK.xcframework.zip and /dev/null differ diff --git a/Release/SignedCallSDK.xcframework.zip b/Release/SignedCallSDK.xcframework.zip new file mode 100644 index 0000000..ac243df Binary files /dev/null and b/Release/SignedCallSDK.xcframework.zip differ