mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:06:00 +00:00
Embed element call (#3939)
* it works but only with the baseURL for now * works but strings are not referenced properly and we are using a dummy config.json which maybe is not required at all? * test with EmbeddedElementCall repo * updated the version * ignore our own package * updated version removed using EC through the well known URL * fix for remote URL overriding * updated version * fix for microphone and camera using local URL * better solution * Use version 0.9.0-release-test.3 * fix project * removed workaround for emebedded EC url generation * updated EC * pr suggestions * fix * removed unnecessary configuration flag --------- Co-authored-by: Hugh Nimmo-Smith <hughns@element.io>
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
// Please see LICENSE files in the repository root for full details.
|
||||
//
|
||||
|
||||
#if canImport(EmbeddedElementCall)
|
||||
import EmbeddedElementCall
|
||||
#endif
|
||||
|
||||
import Foundation
|
||||
import SwiftUI
|
||||
|
||||
@@ -267,7 +271,8 @@ final class AppSettings {
|
||||
|
||||
// MARK: - Element Call
|
||||
|
||||
let elementCallBaseURL: URL = "https://call.element.io/room"
|
||||
// swiftlint:disable:next force_unwrapping
|
||||
let elementCallBaseURL: URL = EmbeddedElementCall.appURL!
|
||||
|
||||
// These are publicly availble on https://call.element.io so we don't neeed to treat them as secrets
|
||||
let elementCallPosthogAPIHost = "https://posthog-element-call.element.io"
|
||||
|
||||
Reference in New Issue
Block a user