Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENGDESK-38002] Remove Bugsnag dependency #170

Merged
merged 5 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# CHANGELOG

## [0.1.42](https://github.com/team-telnyx/telnyx-webrtc-ios/releases/tag/0.1.42) (2025-02-04)

### Bug Fixes
- Removed Bugsnag dependency

## [0.1.41](https://github.com/team-telnyx/telnyx-webrtc-ios/releases/tag/0.1.41) (2025-01-27)

### Bug Fixes
- Improved the CallKit speaker button behavior to ensure consistent functionality. The button now accurately reflects the current audio output state. Adjustments were made to the RTCAudioSession handling to resolve the issue.

## [0.1.40](https://github.com/team-telnyx/telnyx-webrtc-ios/releases/tag/0.1.40) (2025-01-22)

### Bug Fixes
- Fix build on SPM: Added Foundation imports.

## [0.1.39](https://github.com/team-telnyx/telnyx-webrtc-ios/releases/tag/0.1.39) (2025-01-10)

### Enhacement
- Enable/Disable WebRTC Statistics: You can now toggle WebRTC Statistics. When enabled, all WebRTC stats are uploaded to our servers. These statistics can be accessed via the Telnyx Portal under the Object Storage section associated with the account used to generate the credentials for the SDK login.


## [0.1.38](https://github.com/team-telnyx/telnyx-webrtc-ios/releases/tag/0.1.38) (2024-11-13)

### Bug Fixes
Expand Down
9 changes: 0 additions & 9 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
{
"pins" : [
{
"identity" : "bugsnag-cocoa",
"kind" : "remoteSourceControl",
"location" : "https://github.com/bugsnag/bugsnag-cocoa.git",
"state" : {
"revision" : "16b9145fc66e5296f16e733f6feb5d0e450574e8",
"version" : "6.28.1"
}
},
{
"identity" : "starscream",
"kind" : "remoteSourceControl",
Expand Down
2 changes: 0 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ let package = Package(
targets: ["TelnyxRTC"]),
],
dependencies: [
.package(url: "https://github.com/bugsnag/bugsnag-cocoa.git", from: "6.28.1"),
.package(url: "https://github.com/daltoniam/Starscream.git", from: "4.0.6"),
.package(url: "https://github.com/stasel/WebRTC.git", from: "124.0.0")
],
targets: [
.target(
name: "TelnyxRTC",
dependencies: [
.product(name: "Bugsnag", package: "bugsnag-cocoa"),
.product(name: "Starscream", package: "Starscream"),
.product(name: "WebRTC", package: "WebRTC")
],
Expand Down
1 change: 0 additions & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ target 'TelnyxRTC' do
use_frameworks!

# Pods for TelnyxRTC
pod 'Bugsnag', '~> 6.28.1'
pod 'Starscream', '~> 4.0.6'
pod 'WebRTC-lib', "~> 124.0.0"

Expand Down
1 change: 0 additions & 1 deletion TelnyxRTC.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Pod::Spec.new do |spec|
spec.exclude_files = "TelnyxRTC/Exclude"
spec.resource_bundles = {"TelnyxRTC" => ["TelnyxRTC/PrivacyInfo.xcprivacy"]}

spec.dependency "Bugsnag", "~> 6.28.1"
spec.dependency "Starscream", "~> 4.0.6"
spec.dependency "WebRTC-lib", "~> 124.0.0"
end
106 changes: 51 additions & 55 deletions TelnyxRTC.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion TelnyxRTC/Telnyx/InternalConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ fileprivate let defaultSignalingServerUrl = URL(string: PROD_HOST)!
fileprivate let defaultIceServers = [DEFAULT_TURN, DEFAULT_STUN]

struct InternalConfig {
let bugsnagKey = "046a0602ac5080aee24906a0191f867d"
let prodSignalingServer: URL
let developmentSignalingServer: URL
let webRTCIceServers: [RTCIceServer]
Expand Down
14 changes: 1 addition & 13 deletions TelnyxRTC/Telnyx/TxClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import Foundation
import AVFoundation
import Bugsnag
import WebRTC
import CallKit

Expand Down Expand Up @@ -530,18 +529,7 @@ extension TxClient {

/// This function is called when the TxClient is instantiated. This funciton is intended to be used to initialize any
/// required tool.
private func configure() {
self.setupBugsnag()
}

/// Initialize Bugsnag
private func setupBugsnag() {
let config = BugsnagConfiguration.loadConfig()
config.apiKey = InternalConfig.default.bugsnagKey
config.context = "TelnyxRTC"
//TODO: check extra configurations.
Bugsnag.start(with: config)
}
private func configure() {}
} //END SDK initializations

// MARK: - Call handling
Expand Down
Loading