Skip to content

Commit a50dff2

Browse files
pushpsenairekar2911pushpsenairekar2911
authored andcommitted
v2.2.0
1 parent 6b45d76 commit a50dff2

File tree

16 files changed

+23
-15
lines changed

16 files changed

+23
-15
lines changed

.DS_Store

0 Bytes
Binary file not shown.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ assignees: ''
1010

1111

1212

13-
1413
**Describe the bug**
1514
A clear and concise description of what the bug is.
1615

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ ios-objective-c-chat-app/.DS_Store
1818

1919

2020

21+
22+
23+
2124

2225

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ email, or any other method with the owners of this repository before making a ch
55

66
Please note we have a code of conduct, please follow it in all your interactions with the project.
77

8+
89
## Pull Request Process
910

1011
1. Ensure any install or build dependencies are removed before the end of the layer when doing a

CometChatObjc/CometChatObjc/App/AppDelegate.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ @implementation AppDelegate
2121
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
2222

2323
if ([CometChat getLoggedInUser] != nil) {
24+
25+
CometChat.calldelegate = self;
26+
2427
dispatch_async(dispatch_get_main_queue(), ^{
2528
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
2629
MainViewController * mainVC = [storyboard instantiateViewControllerWithIdentifier:@"mainViewController"];

CometChatObjc/CometChatObjc/Library/UI Components/Calls/Call Manager/CometChatCallManager.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import CometChatPro
4646
let snackbar: CometChatSnackbar = CometChatSnackbar.init(message: "Kindly, unblock the user to make a call.", duration: .short)
4747
snackbar.show()
4848
}else{
49-
DispatchQueue.main.async {
49+
DispatchQueue.main.async {
5050
let outgoingCall = CometChatOutgoingCall()
5151
outgoingCall.makeCall(call: call, to: user)
5252
outgoingCall.modalPresentationStyle = .fullScreen
@@ -176,10 +176,10 @@ import CometChatPro
176176
// }
177177
//}
178178

179-
/* ----------------------------------------------------------------------------------------- */
180-
181-
// // MARK: - CometChatCallDelegate Methods (For Objective C Project)
179+
///* ----------------------------------------------------------------------------------------- */
182180
//
181+
//// // MARK: - CometChatCallDelegate Methods (For Objective C Project)
182+
////
183183
extension CometChatUI : CometChatCallDelegate {
184184

185185
/**
@@ -250,6 +250,6 @@ extension CometChatUI : CometChatCallDelegate {
250250
}
251251
}
252252
}
253-
//
254-
//
255-
///* ----------------------------------------------------------------------------------------- */
253+
////
254+
////
255+
/////* ----------------------------------------------------------------------------------------- */

CometChatObjc/CometChatObjc/Library/UI Components/CometChat UI/CometChatUI.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import CometChatPro
1818

1919
/* ----------------------------------------------------------------------------------------- */
2020

21-
enum Controller : String {
21+
public enum Controller : String {
2222
case chats = "chats"
2323
case calls = "calls"
2424
case users = "users"

CometChatObjc/CometChatObjc/Library/UI Components/Shared/Localization/LanguageSelectionView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class LanguageSelectionView: UITableViewController {
157157

158158
extension String {
159159

160-
func localized() ->String {
160+
public func localized() ->String {
161161

162162
CometChatLanguageBundle.setLanguage(Locale.current.languageCode ?? "en")
163163
UserDefaults.standard.set(Locale.current.languageCode, forKey: "lang")

CometChatObjc/CometChatObjc/Library/UIKit Settings/UIKitSettings.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ enum SwitchMode {
3838

3939

4040

41-
struct UIKitSettings {
41+
public struct UIKitSettings {
4242

4343
static var bundle = Bundle.main
4444

@@ -115,5 +115,5 @@ struct UIKitSettings {
115115
static var collaborativeWriteboard: SwitchMode = .enabled
116116
static var collaborativeWhiteboard: SwitchMode = .enabled
117117
static var messageTranslation: SwitchMode = .enabled
118-
static var tabs: [Controller] = [.chats, .calls, .users , .groups, .settings]
118+
public static var tabs: [Controller] = [.chats, .calls, .users , .groups, .settings]
119119
}

CometChatObjc/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ use_frameworks!
33

44
target 'CometChatObjc' do
55
pod 'CometChatPro', '2.2.0'
6-
end
6+
end

0 commit comments

Comments
 (0)