From 405eb4c4a77012eb4eb9b9783fe996139adc8912 Mon Sep 17 00:00:00 2001 From: Atinder1989 <33986429+Atinder1989@users.noreply.github.com> Date: Tue, 17 Oct 2023 12:59:57 +0530 Subject: [PATCH] change enviroment for ios --- ios/Classes/JMMeetingHandler.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ios/Classes/JMMeetingHandler.swift b/ios/Classes/JMMeetingHandler.swift index 9342e62..33ea915 100644 --- a/ios/Classes/JMMeetingHandler.swift +++ b/ios/Classes/JMMeetingHandler.swift @@ -54,8 +54,13 @@ class JMMeetingHandler: NSObject { func setEnvironment(data: [String: Any]) { guard let enviroment = data["environmentName"] as? String else { return } - self.environmentName = enviroment + if enviroment == "prestage" { + self.environmentName = "preStage" + } else { + self.environmentName = enviroment + } } + func enableRequiredFeaturesFromConfig(data: [String: Any]) { guard let config = data["config"] as? [String: Any] else { return }