cometchat-pro / cometchat-chat-sample-app-ios-swift Goto Github PK
View Code? Open in Web Editor NEWVoice & Video Calling and Text Chat App for iOS
Home Page: https://www.cometchat.com
License: Other
Voice & Video Calling and Text Chat App for iOS
Home Page: https://www.cometchat.com
License: Other
I download the sample app and try to pod install or pod install --repo-update
but it is not working.
its stuck on Installing CometChatPro (2.1.2), no response at all
someone can help me?
my Xcode is 12.0.1
How can i send my own custom view for the camera on the other send ?
CometChatPro-swift-sampleApp[46732:5466029] Task <826DC470-5648-4BC2-BE14-9635B5A12C03>.<7> HTTP load failed (error code: -1003 [12:8])CometChatPro-swift-sampleApp[46732:5466029] Task <826DC470-5648-4BC2-BE14-9635B5A12C03>.<7> HTTP load failed (error code: -1003 [12:8])CometChatPro-swift-sampleApp[46732:5466029] Task <826DC470-5648-4BC2-BE14-9635B5A12C03>.<7> HTTP load failed (error code: -1003 [12:8])
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
A clear and concise description of what you exactly is happening.
Screenshots (optional)
If applicable, add screenshots to help explain your problem.
Enviorment/Platfrom (please complete the following information):
Files (Optional)
podfile
Logs (Error Logs)
Additional context
Add any other context about the problem here.
I've installed everything as the readme instructed, pods, update them. and yet still I get this error message. I've checked my Pods folder and CometChatPro was in it but Xcode doesn't use it in my project for some reason. I haven't changed anything in the base project.
Describe the bug
Photo aren't displayed inside the chat unless the user exits and re-enters the chat
To Reproduce
Steps to reproduce the behavior:
The chat won't show the just shared photo unless the user exits and re-enters the chat
Expected behavior
The photo should be displayed inside a chat balloon
Actual behavior
The photo is not shown
Enviorment/Platfrom (please complete the following information):
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
A clear and concise description of what you exactly is happening.
Screenshots (optional)
If applicable, add screenshots to help explain your problem.
Enviorment/Platfrom (please complete the following information):
Files (Optional)
podfile
Logs (Error Logs)
Additional context
Add any other context about the problem here.
Hi,
I'm xCode newbie. I tried to download the project and run it in xCode but prompted the below the error. Seems like it's looking for Pods directory under the Pods. Anyone else has this issue?
Showing Recent Messages
/ios-swift-chat-app-master/Pods/Pods/Target Support Files/Pods-CometChatPro-swift-sampleApp/Pods-CometChatPro-swift-sampleApp.debug.xcconfig: unable to open file (in target "CometChatPro-swift-sampleApp" in project "CometChatPro-swift-sampleApp") (in target 'CometChatPro-swift-sampleApp')
I used lasted version of SDK, both v1.8 or v2.0 (Source in Xcode 11 folder). Xcode build successfully but app run on device/simulator crash immediately
These are crash log:
dyld: Library not loaded: @rpath/JitsiMeet.framework/JitsiMeet
Referenced from: /private/var/containers/Bundle/Application/5530BF2A-57F6-4174-A69E-81AD310906E7/CometChatPro-swift-sampleApp.app/Frameworks/CometChatPro.framework/CometChatPro
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/5530BF2A-57F6-4174-A69E-81AD310906E7/CometChatPro-swift-sampleApp.app/Frameworks/JitsiMeet.framework/JitsiMeet: file too short
/private/var/containers/Bundle/Application/5530BF2A-57F6-4174-A69E-81AD310906E7/CometChatPro-swift-sampleApp.app/Frameworks/JitsiMeet.framework/JitsiMeet: file too short
/private/var/containers/Bundle/Application/5530BF2A-57F6-4174-A69E-81AD310906E7/CometChatPro-swift-sampleApp.app/Frameworks/JitsiMeet.framework/JitsiMeet: file too short
/private/var/containers/Bundle/Application/5530BF2A-57F6-4174-A69E-81AD310906E7/CometChatPro-swift-sampleApp.app/Frameworks/JitsiMeet.framework/JitsiMeet: file too short
Hi,
I am getting this message with the sample app:
../CometChatPro-swift-sampleApp/AppDelegate.swift:10:8: Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0 compiler: ../Pods/CometChatPro/CometChatPro.framework/Modules/CometChatPro.swiftmodule/arm64.swiftmodule
Can you help me to start with this please?
CometChatSharedMedia collectionView reload loops on file representing. On my side it didn't show files so I started to debug uikit and noticed that after it fetches files calls self?.collectionView.reloadData()
line 118
after this collection view delegates calls func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath)
line 366
which will try to fetch files again. So in that way it keeps reloading and fetching files.
file: CometChatSharedMedia.swift
function: func refreshMediaMessages(for entity: AppEntity, type: CometChat.ReceiverType)
line: 118/366
iOS: 15.4.1(19E258)
CometChat SDK Version: v3.0.8-1
**Added sample swift project to app. My UIView's IBDesignables stoped working and showing these following issues:- **
Please help me in this.
Thanks
First of all, I'm not using comet-chat UI Kit, instead, I'm using comet-chat SDK with my own swift ui.... all the feature works fine but sometimes i experience error on comet chat method named initiate call which crashes the whole application. further there is no try catch in code where we can track such errors. please look into it as its very crucial for the sustainability of my application. the error I receive is Thread 25: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0).
Hi I update Xcode 11 and getting issue.
I am on Xcode 12.1. I downloaded the zip file, loaded the dependencies with pod install. Loaded CometChat Swft. Added the following: appId, apiKey, region. I get the following build error:
Unable to load contents of file list: '/Target Support Files/Pods-CometChatSwift/Pods-CometChatSwift-artifacts-Debug-input-files.xcfilelist'
Any help is appreciated.
Thanks!
hsmith825
when trying to build the project I got this error
'PiPViewCoordinator' is not a member type of 'JitsiMeet'
Describe the bug
If one user is sending a message if another device has screen turned off, the receiver will not see the message until it reopenes messages view.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When device is unlocked, messages are pulled.
Actual behavior
When device is unlocked, messages are missing.
Not able to build code after installing Cometchat pod on the project developed on swift 4.2. How can we install cometchat successfully with swift4.2 code ?
giving error as below:
"Module compiled with Swift 5.0 cannot be imported by the Swift 4.2.1 compiler"
I have done the setup as needed in push notification extension and added .p8 file with other necessary detail. Token are updated also successfully for both Push and VOIP separately. But never received push notification, voip is working though.
CometChat.registerTokenForPushNotification(token: "apnsToken" , settings: ["voip":false]) { (success) in
print("registerTokenForPushNotification voip: \(success)")
} onError: { (error) in
print("registerTokenForPushNotification error: \(error)")
}
pod is not updating from version '2.1.4' to '2.1.5' . It seems like you didn't upload latest version. It shows me error
[!] CocoaPods could not find compatible versions for pod "CometChatPro":
In Podfile:
CometChatPro (= 2.1.5)
None of your spec sources contain a spec satisfying the dependency: CometChatPro (= 2.1.5)
.
You have either:
Hello testing your sdk for project to integrate it. We think to be a client for comechat and use sdk. But on the beginning I see a bug with creating on a new user.
When creating a new user getting error, the user has uuid, name and avatar.
(CometChatSDK.CometChatException) 0x0000600003b819b0 {
ObjectiveC.NSObject = {
isa = CometChatSDK.CometChatException
}
errorDescription = "Failed to validate the data sent with the request."
errorCode = "ERR_BAD_REQUEST"
}
Using Simulator iPhone 15Pro Max
App Transport Security Settings is added to Info.plist
The SDK init successfully before this call.
CometChatUIKit.init(uiKitSettings: uikitSettings)
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
A clear and concise description of what you exactly is happening.
Screenshots (optional)
If applicable, add screenshots to help explain your problem.
Enviorment/Platfrom (please complete the following information):
Files (Optional)
podfile
Logs (Error Logs)
Additional context
Add any other context about the problem here.
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.