cometchat / chat-sdk-ionic Goto Github PK
View Code? Open in Web Editor NEWVoice & Video Calling and Text Chat SDK for Cordova & Ionic
License: Other
Voice & Video Calling and Text Chat SDK for Cordova & Ionic
License: Other
The ionic calls Plugin seems to ask for Calendar access. My App was rejected by the App Store with this explanation:
"TMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSCalendarsUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data."
The integration of the plugin is the only change I made. All my other builds were accepted by the App Store.
My App should not face any acceptance issues by the App Store. Please update the plugin to avoid accessing Calendar or make it clear in the documentation that integrators like me need to provide an entry in the Info.plist.
Please provide a fix or an explanation why the calendar data is needed very soon.
I have enabled the thumbnail generation extension in the Dashboard. But on sending media message, the response does not have thumbnails in the metadata field. Infact there is no metadata field in the response. It is working as expected in web.
I am using this SDK and able to configure it to receive Push Notification for new messages. However when I tap on the notification same doesn't open up my Ionic App. I want to redirect user to the chat conversations screen upon tapping the notification for new messages.
This has to do something with how Comet Chat Server is sending out push notifications because when I use FCM api to send notifications my app does open up without any issue.
App should come to foreground if already running or start afresh when tapping on push notification.
Ionic:
Ionic CLI : 6.12.1 (/Users/agraj/.nvm/versions/node/v12.18.3/lib/node_modules/@ionic/cli)
Ionic Framework : ionic-angular 3.9.10
@ionic/app-scripts : 3.2.4
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 2.5.3, (and 27 other plugins)
Utility:
cordova-res (update available: 0.15.3) : 0.15.1
native-run (update available: 1.3.0) : 1.1.0
System:
Android SDK Tools : 26.1.1 (/Users/agraj/Library/Android/sdk)
ios-deploy : 1.10.0
ios-sim : ios-sim/9.0.0 darwin-x64 node-v12.18.3
NodeJS : v12.18.3 (/Users/agraj/.nvm/versions/node/v12.18.3/bin/node)
npm : 6.14.8
OS : macOS Big Sur
Xcode : Xcode 12.4 Build version 12D4e
...
"@cometchat-pro/cordova-ionic-chat": "^2.2.0"
...
the remoteData
receives a null notification
for chat messages
It should contain notification
and data
objects as well due to the following link
@cometchat-pro/chat": "^3.0.13
Using Ionic 3 Project and following this
https://prodocs.cometchat.com/docs/cordova-ionic-quick-start
Install
npm install @cometchat-pro/[email protected] --save
Use
CometChat.createUser(user, this.apiKey).then(
(user: any) => {
console.log("user created", user);
}, (error: any) => {
console.log("error", error);
}
)
Error
Property 'createUser' does not exist on type 'typeof CometChat'.
Thank you.
When we login after logout in ionic app, some time this error comes.
API - https://apiclient-us.cometchat.io/v2.0/me
RESPONSE - {"error":{"code":"AUTH_ERR_AUTH_TOKEN_NOT_FOUND","message":"The auth token does not exist. Please make sure you are logged in and have a valid auth token or try login again."}}
While a new token created everytime i login. As you can see in screen shot it exist (edited)
When two users are calling and one of them is killing the App, the onUserLeft callback is called on the other side but the calling screen is not closed. It looks like as if the other participant is still there.
I would expect that the call screen is closed on the other side or if there is some sort of method to close the call screen manually.
Since a github repository doesn't exist (anymore) for this package @cometchat-pro/ionic-calls, I'm reporting the bug here. I hope this is ok.
While trying to integrate audio and video call into my ionic app the command ionic cap sync ios
produces an error.
The error message:
[!] CocoaPods could not find compatible versions for pod "CometChatCalls":
In Podfile:
CometchatProIonicCalls (from `../../node_modules/@cometchat-pro/ionic-calls`) was
resolved to 0.0.9, which depends on
CometChatCalls (= 1.0.1-beta2)
None of your spec sources contain a spec satisfying the dependency: `CometChatCalls
(= 1.0.1-beta2)`.`
Capacitor should sync with the iOS project.
in ionic project run:
npm i @cometchat-pro/ionic-calls
ionic cap sync ios
Angular 10, Ionic 5 and Capacitor 3
"@cometchat-pro/chat": "2.2.0",
"@cometchat-pro/cordova-ionic-chat": "2.2.0",
"@cometchat-pro/ionic-calls": "0.0.9",
"@capacitor/core": "^3.0.0-beta.6",
"@ionic-native/core": "^5.30.0",
"@ionic/angular": "^5.5.2",
When two users are calling and one of them is swiping down the ongoing call screen (the ios card modal), the call is not ended but the screen cannot be reconstructed again. The screen is gone and the participant can only hang up the call by terminating the App.
Wether the call should be ended or it should be possible to recreate the screen again through code.
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.