cometchat / cometchat-uikit-ios Goto Github PK
View Code? Open in Web Editor NEWReady-to-use Chat UI Components for iOS
Home Page: https://www.cometchat.com
Ready-to-use Chat UI Components for iOS
Home Page: https://www.cometchat.com
UIKIT does not support Swift Package Manager
Please add support for quick import of your UI Kit via the Package Manager tool.
This would enable faster integration of your product into applications.
The problem
If you try to send a relatively large(2-3MB) image on iPhone, you only see a grey frame. You have to scroll the message list up and down in order to see the image
Expected behavior?
As soon as the image has been downloaded, you have to see the image in the message list
Reproduction
Just send a large image on an iPhone
Environment
UIKit 2.1.12
struct LoggedInUser {
static let uid = CometChat.getLoggedInUser()?.uid ?? ""
static let name = CometChat.getLoggedInUser()?.name ?? ""
}
LoggedInUser is behaving like a global static variable. After logged out from comet chat, the struct persists and the value of uid and name still refers to the last loggedInUser.
This LoggedInUser is being referred in various UI Screens and components.
It is supposed to be properly referring to the loggedIn user and when its logged out, it should be cleared.
Please provide the following:
Once the Group is formed, it does not immediately come up in the Groups list. You have to click Groups to see the recently created Group: this is not updating realtime, because when we click on the group again this is showing the new group
Incoming call view in the receiver does not dismiss if initial caller ends the call
before the receiver accepts or rejects the call.
While adding the user as a friend, the user is not showing in the comet chat users instantly: Real-Time users are not updating
When we are logging out and login in the application again this is showing.
It seems that swiftUI is not supported. From the class below you can understand that every swiftUI component is deprecated according to the Deprecated.swift file in the Library. Is there any workaround for that?
@available(, deprecated, message: "Use CFCrossPlatformImage
instead.")
typealias Image = CFCrossPlatformImage
@available(, deprecated, message: "Use CFCrossPlatformView
instead.")
typealias View = CFCrossPlatformView
@available(, deprecated, message: "Use CFCrossPlatformColor
instead.")
typealias Color = CFCrossPlatformColor
@available(, deprecated, message: "Use CFCrossPlatformImageView
instead.")
typealias ImageView = CFCrossPlatformImageView
@available(, deprecated, message: "Use CFCrossPlatformButton
instead.")
typealias Button = CFCrossPlatformButton
#else
@available(, deprecated, message: "Use CFCrossPlatformImage
instead.")
typealias Image = CFCrossPlatformImage
@available(, deprecated, message: "Use CFCrossPlatformColor
instead.")
typealias Color = CFCrossPlatformColor
#if !os(watchOS)
@available(, deprecated, message: "Use CFCrossPlatformImageView
instead.")
typealias ImageView = CFCrossPlatformImageView
@available(, deprecated, message: "Use CFCrossPlatformView
instead.")
typealias View = CFCrossPlatformView
@available(, deprecated, message: "Use CFCrossPlatformButton
instead.")
typealias Button = CFCrossPlatformButton
#endif
#endif
When adding new user, default online date shows of: 01.01/1970 if the user not logged for a single time
Memory exception in ios on chating more than 100 messages, Sample app is also having the same. Memory is getting reduced after each API operation
Hello Team,
Audio Messages are going through but it is not opening on the Recipient's phone, also on sender phone, this is working when we go back and come again
Provide a clear and concise description of the issue
Tell us about the behavior you expected to see
Detail the steps taken to reproduce this error, and whether this issue can be reproduced consistently or if it is intermittent.
Note: If clear, reproducable steps or the smallest sample app demonstrating misbehavior cannot be provided, we may not be able to follow up on this bug report.
Where applicable, please include:
- The smallest possible sample app that reproduces the undesirable behavior
- Log files (redact/remove sensitive information)
- Application settings (redact/remove sensitive information)
- Screenshots
Please provide the following:
If I click to send a message at the same time that I receive a message, the app will crash.
I expect that both my sent message and the received message will appear properly in the chat,
Exception message:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 4. The number of rows contained in an existing section after the update (13) must be equal to the number of rows contained in that section before the update (13), plus or minus the number of rows inserted or deleted from that section (1 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out).'
terminating with uncaught exception of type NSException
The files in the repository don't work with CometChatPro 2.3.5.
When integrating these files into an existing project, I face a wide variety of errors including:
Can someone please update the code to work with the new version of CometChatPro?
I have recently purchased the plan of COMETCHAT PRO. I'm facing an issue when I create Group it crashes immediately. However if i launch the app again the group was created.
Using Xcode 11.5
iOS 13.5.1
Below are the error details:
Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value: file /Users/nishanttiwari/Documents/Nishant/dev/cometchat-pro-ios-sdk/CometChatSDK/CometChatPro/Manager/XMPP/XMPPController.swift, line 187
This is works fine in your sample application. I'm using the same code, Nothing has changed but it works fine in your sample app but not in my own app.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.