Skip to content

Commit

Permalink
Merge pull request #9 from JioMeet/task/ios_environment
Browse files Browse the repository at this point in the history
Change enviroment for ios
  • Loading branch information
atinderril authored Oct 17, 2023
2 parents 7cdfe0d + 405eb4c commit 26b59d7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ios/Classes/JMMeetingHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 26b59d7

Please sign in to comment.