You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: QuickStart/AppDelegate+Intent.swift
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -10,17 +10,17 @@ import UIKit
10
10
import CallKit
11
11
import SendBirdCalls
12
12
13
-
// This extension is for outgoing call from outside the app.
13
+
// MARK: - From Native Call Logs
14
+
// To make an outgoing call from native call logs, so called "Recents" in iPhone, you need to implement this method and add IntentExtension as a new target.
15
+
// Please refer to IntentHandler (path: ~/QuickStartIntent/IntentHandler.swift)
16
+
// (Optional) To make an outgoing call from url, you need to use `application(_:open:options:)` method. The implementation is very similar as `application(_:continue:restorationHandler:)
17
+
14
18
extensionAppDelegate{
15
19
16
-
// MARK: - From Native Call Logs
17
-
// To make an outgoing call from native call logs, so called "Recents" in iPhone, you need to implement this method and add IntentExtension as a new target.
18
-
// Please refer to IntentHandler (path: ~/QuickStartIntent/IntentHandler.swift)
19
-
// (Optional) To make an outgoing call from url, you need to use `application(_:open:options:)` method. The implementation is very similar as `application(_:continue:restorationHandler:)
// If you use CallKit framework, you have to set ringing sound by using `CXProviderConfiguration.ringtoneSound`. See `CXProvider+QuickStart.swift` file.
13
+
// If you use CallKit framework, you must implement `CXProviderDelegate.provider(_:didActivate:)` and `CXProviderDelegate.provider(_:didDeactivate:)`
// Following method tries to sign in with account information decoded from passed URL.
14
+
// For more information about Custom URL Scheme for your app, see [Defining a Custom URL Scheme for Your App](https://developer.apple.com/documentation/xcode/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app)
15
+
16
+
extensionAppDelegate{
17
+
func application(_ app:UIApplication, open url:URL, options:[UIApplication.OpenURLOptionsKey:Any]=[:])->Bool{
18
+
19
+
// Authenticate only when there is no signed in account
0 commit comments