Post

Replies

Boosts

Views

Activity

Reply to Can we use Callkit for Apps with WebRTC
CallKit integration Disclaimer: I am not sure if this is the best way doing it but this has worked for me so far: Configure WebRTC audio session to use manual audio and disable audio: RTCAudioSession.sharedInstance().useManualAudio = true RTCAudioSession.sharedInstance().isAudioEnabled = false On your CXProvider delegate's provider(CXProvider, didActivate: AVAudioSession) method: Call RTCAudioSession.sharedInstance().audioSessionDidActivate with the AVAudioSession from the CXProvider Enable audio: RTCAudioSession.sharedInstance().isAudioEnabled = true On your CXProvider delegate's provider(CXProvider, didDeactivate: AVAudioSession) call RTCAudioSession.sharedInstance().audioSessionDidDeactivate with the AVAudioSession from the CXProvider WebRTC and CallKit talk from 2016: https://youtu.be/JB2MdcY1MKs?t=6m23s credit to stasel from WebRTC-iOS
Topic: App & System Services SubTopic: General Tags:
Oct ’21
Reply to CoreBluetooth @ Swift UI
Used like this : import Foundation import CoreBluetooth class BLEManager: NSObject, ObservableObject, CBCentralManagerDelegate {     var myCentral: CBCentralManager!     @Published var peripherals = [Peripheral]()          override init() {         super.init()         myCentral = CBCentralManager(delegate: self, queue: nil)         myCentral.delegate = self     }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’21
Reply to Notification Service Extension Not working
Hello, @PrithiviApple try using the real device, that works for me.
Replies
Boosts
Views
Activity
May ’22
Reply to iOS 14 Large title collapse when app run firstly
Did you solve this issue? I have the same issue ios 15
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Can we use Callkit for Apps with WebRTC
CallKit integration Disclaimer: I am not sure if this is the best way doing it but this has worked for me so far: Configure WebRTC audio session to use manual audio and disable audio: RTCAudioSession.sharedInstance().useManualAudio = true RTCAudioSession.sharedInstance().isAudioEnabled = false On your CXProvider delegate's provider(CXProvider, didActivate: AVAudioSession) method: Call RTCAudioSession.sharedInstance().audioSessionDidActivate with the AVAudioSession from the CXProvider Enable audio: RTCAudioSession.sharedInstance().isAudioEnabled = true On your CXProvider delegate's provider(CXProvider, didDeactivate: AVAudioSession) call RTCAudioSession.sharedInstance().audioSessionDidDeactivate with the AVAudioSession from the CXProvider WebRTC and CallKit talk from 2016: https://youtu.be/JB2MdcY1MKs?t=6m23s credit to stasel from WebRTC-iOS
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to CoreBluetooth @ Swift UI
Used like this : import Foundation import CoreBluetooth class BLEManager: NSObject, ObservableObject, CBCentralManagerDelegate {     var myCentral: CBCentralManager!     @Published var peripherals = [Peripheral]()          override init() {         super.init()         myCentral = CBCentralManager(delegate: self, queue: nil)         myCentral.delegate = self     }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21