Skip to content

Commit dc54a54

Browse files
pushpsenairekar2911pushpsenairekar2911
authored andcommitted
v3.0.3-1
1 parent 9eb2b94 commit dc54a54

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

.DS_Store

0 Bytes
Binary file not shown.

CometChatObjc/CometChatObjc/App/AppConstants.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
#ifndef AppConstants_h
1010
#define AppConstants_h
1111

12-
#define APP_ID @"1914596b62597fde"
13-
#define AUTH_KEY @"41377e5c106843662dd3684cbcb48ba7f25b81f3"
14-
#define REGION_CODE @"us"
12+
#define APP_ID @"ENTER APP ID HERE"
13+
#define AUTH_KEY @"ENTER AUTH KEY HERE"
14+
#define REGION_CODE @"ENTER REGION CODE HERE"
1515

1616
#endif /* AppConstants_h */
1717

CometChatObjc/CometChatObjc/Library/UIKit Resources/Helper Extensions/CometChatSnackBoard/CometChatSnackBoard.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ open class CometChatSnackBoard {
8787
status bar. The only alternative is to set `Config.prefersStatusBarHidden = true`
8888
to hide it.
8989
*/
90-
@available(iOS 13.0, *)
91-
case windowScene(_: UIWindowScene, windowLevel: UIWindow.Level)
90+
case windowScene(_: Any, windowLevel: UIWindow.Level)
9291

9392
/**
9493
Displays the message view under navigation bars and tab bars if an

CometChatObjc/CometChatObjc/Library/UIKit Resources/Helper Extensions/CometChatSnackBoard/SwiftMessages.Config+Extensions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ extension CometChatSnackBoard.Config {
2020
@available (iOS 13.0, *)
2121
var windowScene: UIWindowScene? {
2222
switch presentationContext {
23-
case .windowScene(let scene, _): return scene
23+
case .windowScene(let scene, _): return scene as? UIWindowScene
2424
default:
2525
#if CometChatSnackBoard_APP_EXTENSIONS
2626
return nil

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
<a href=""><img src="https://img.shields.io/badge/Repo%20Size-15.6%20MB-brightgreen" /></a>
1818
<a href=""> <img src="https://img.shields.io/badge/Contributors-5-yellowgreen" /></a>
19-
<a href=" "> <img src="https://img.shields.io/badge/Version-3.0.1--2-red" /></a>
19+
<a href=" "> <img src="https://img.shields.io/badge/Version-3.0.3--1-red" /></a>
2020
<a href=""> <img src="https://img.shields.io/github/stars/cometchat-pro/ios-objective-c-chat-app?style=social" /></a>
2121
<a href=""> <img src="https://img.shields.io/twitter/follow/cometchat?style=social" /></a>
2222

0 commit comments

Comments
 (0)