GithubHelp home page GithubHelp logo

cometchat / cometchat-uikit-ios Goto Github PK

View Code? Open in Web Editor NEW
92.0 92.0 25.0 77.04 MB

Ready-to-use Chat UI Components for iOS

Home Page: https://www.cometchat.com

Swift 49.48% Ruby 50.52%
calling chat conference ios messaging swift ui ui-components uikit video voice

cometchat-uikit-ios's People

Contributors

abhisheksaralaya13 avatar ajayv-cometchat avatar ketanyekale avatar pushpsenairekar2911 avatar suryansh-cometchat avatar yadavmangesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cometchat-uikit-ios's Issues

LoggedInUser exists as a global static variable

Describe the problem

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.

What was the expected behavior?

It is supposed to be properly referring to the loggedIn user and when its logged out, it should be cleared.

Reproduction

  1. Calling CometChat.Logout
  2. LoggedInUser still refers to the previous user
  3. Calling CometChat.login
  4. LoggedInUser still refers to the previous user
  5. Killing the app resets the reference

Environment

Please provide the following:

  • 2.1.0
  • CometChatPro

Image messages does not shown up on iPhone

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

App is crashing When I try to create a new group

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.

Tap to join onging call in ios is missing

Describe the problem

Provide a clear and concise description of the issue

What was the expected behavior?

Tell us about the behavior you expected to see

Reproduction

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.

  • Step 1..
  • Step 2..
  • ...

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

Environment

Please provide the following:

  • Version used:
  • Other modules/plugins/libraries that might be involved:

Swift UI compatibility

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

Chat UI KIT does not support Swift Package Manager

Describe the proposition

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.

Code contains merge conflicts <<<<<<< HEAD

Describe the problem

Please check that in some classes there is code related to merge conflicts. Please search for <<<<<<< HEAD

CometChatMeetingView for example
Screenshot 2022-09-17 at 07 44 24

What was the expected behavior?

It must not contain those <<<<<<< HEAD, otherwise it won't compile

Environment

  • Version used: v3.0.909-1

Not working with CometChatPro 2.3.5

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:

  • Cannot override with a stored property 'heightConstraint'
  • Cannot override 'strong' property with 'weak' property
  • Cannot override with a stored property 'centerXConstraint'
  • Ambiguous use of 'seconds'

Can someone please update the code to work with the new version of CometChatPro?

Failed to compile in xCode 15

Describe the problem

I'm getting error when compiling in xcode 15

What was the expected behavior?

It should compile and run properly

Reproduction

Install the iOS SDK for comet chat Pro version 3.0.919

  • Screenshots
Screenshot 2024-02-27 at 2 41 03 PM

Environment

Xcode 15 (Mac M1 Pro)

App crashes when sending and receiving a message silmutaneously

Describe the problem

If I click to send a message at the same time that I receive a message, the app will crash.

What was the expected behavior?

I expect that both my sent message and the received message will appear properly in the chat,

Reproduction

  • Go to message list (CometChatMessageList)
  • Prepare a message to send
  • Prepare a message on another device to send in same group
  • Click Send at the same time on both devices

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 

Environment

  • UIKit version 2.1.12

Audio Message not opening

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

Incoming call view problem

Incoming call view in the receiver does not dismiss if initial caller ends the call
before the receiver accepts or rejects the call.

Group Creation not updating Realtime

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.