-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from 100mslive/1.15.0Release
1.15.0 Release
- Loading branch information
Showing
11 changed files
with
302 additions
and
82 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
Example/HMSSDKExample/Login/SessionFeedback/SessionFeedback.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
// | ||
// SessionFeedback.swift | ||
// HMSSDKExample | ||
// | ||
// Created by Yogesh Singh on 10/05/24. | ||
// Copyright © 2024 100ms. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
class SessionFeedback { | ||
static let feedbackTitle = "How was your experience?" | ||
static let feedbackSubTitle = "Your answers help us improve the quality" | ||
static let awful = "😔 Awful" | ||
static let bad = "☹️ Bad" | ||
static let fair = "🙂 Fair" | ||
static let good = "😄 Good" | ||
static let great = "🤩 Great" | ||
} | ||
|
||
|
||
internal enum HMSFeedbackRatingUI { | ||
case awful | ||
case bad | ||
case fair | ||
case good | ||
case great | ||
|
||
func toString() -> String { | ||
switch self { | ||
case .awful: | ||
return "😔 Awful" | ||
case .bad: | ||
return "☹️ Bad" | ||
case .fair: | ||
return "🙂 Fair" | ||
case .good: | ||
return "😄 Good" | ||
case .great: | ||
return "🤩 Great" | ||
} | ||
} | ||
|
||
func toInt() -> Int { | ||
switch self { | ||
case .awful: | ||
return 1 | ||
case .bad: | ||
return 2 | ||
case .fair: | ||
return 3 | ||
case .good: | ||
return 4 | ||
case .great: | ||
return 5 | ||
} | ||
} | ||
|
||
func getQuestion() -> String { | ||
switch self { | ||
case .awful, .bad: | ||
return "What went wrong?" | ||
case .fair: | ||
return "Any reason for your rating?" | ||
case .good, .great: | ||
return "What went right?" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'HMSSDK' | ||
s.version = '1.14.1' | ||
s.version = '1.15.0' | ||
s.summary = 'HMS Videoconferencing iOS SDK' | ||
|
||
s.description = <<-DESC | ||
|
@@ -10,8 +10,8 @@ TODO: Add long description of the pod here. | |
s.homepage = 'https://github.com/100mslive/100ms-ios-sdk/' | ||
s.license = { :type => 'MIT'} | ||
s.author = { 'Dmitry Fedoseyev' => '[email protected]', 'Yogesh Singh' => '[email protected]', 'Pawan Dixit' => '[email protected]'} | ||
s.source = { :http => 'https://github.com/100mslive/100ms-ios-sdk/releases/download/1.14.1/HMSSDK.xcframework.zip', | ||
:sha256 => '9949413d443492b01cca4060b6425cdf31814712127b25d2bd24ebf535e0e09e' | ||
s.source = { :http => 'https://github.com/100mslive/100ms-ios-sdk/releases/download/1.15.0/HMSSDK.xcframework.zip', | ||
:sha256 => '73f15409b76dc2a7b677027ede12fb5711f6222931f690b2701c6d86e0b3092b' | ||
} | ||
s.ios.deployment_target = '12.0' | ||
s.vendored_frameworks = 'HMSSDK.xcframework' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters