Giter Site home page Giter Site logo

chat-sdk-ionic's People

Contributors

kaushikritik avatar ketanyekale avatar mayur-bhandari avatar mayurbhandari10 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

danielamaralsi

chat-sdk-ionic's Issues

Tap on Push Notification doesn't open up the app

Describe the problem

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.

What was the expected behavior?

App should come to foreground if already running or start afresh when tapping on push notification.

Ionic Info

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

package.json

...
"@cometchat-pro/cordova-ionic-chat": "^2.2.0"
...

Thumbnail are not being generated in ionic

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.

Swiping down (closing) the ongoing call screen does not end the call but the screen is gone forever

Describe the problem

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.

What was the expected behavior?

Wether the call should be ended or it should be possible to recreate the screen again through code.

Reproduction

  • Alice calls Bob
  • Bob accepts Alice call on an iOS Device
  • Alice and Bob are calling
  • Bob swipes down the card modal of the ongoing call
  • Alice and Bob are still calling but now Bob is not able to hang up the call but by killing the App

Environment

  • "@angular/core": "~10.0.0"
  • "@ionic/angular": "^5.5.2"
  • "@cometchat-pro/cordova-ionic-chat": "2.3.4"
  • "@cometchat-pro/ionic-calls": "2.0.2"

Closing App during ongoing call is not closing the Call Screen for other participant

Describe the problem

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.

What was the expected behavior?

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.

Reproduction

  • Alice calls Bob
  • Bob accepts Alice call
  • Alice and Bob are calling
  • Bob kills his App
  • Alice does not hear Bob anymore but the oingoing call screen is only closed when Alice "hangs up"

Environment

  • "@angular/core": "~10.0.0"
  • "@ionic/angular": "^5.5.2"
  • "@cometchat-pro/cordova-ionic-chat": "2.3.4"
  • "@cometchat-pro/ionic-calls": "2.0.2"

Ionic Capacitor Call Plugin produces 'CocoaPods could not find compatible versions for pod "CometChatCalls"' on iOS target build

Describe the problem

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)`.`

What was the expected behavior?

Capacitor should sync with the iOS project.

Reproduction

in ionic project run:
npm i @cometchat-pro/ionic-calls
ionic cap sync ios

Environment

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",

ionic-calls Plugin requires Access to Calendar on iOS. App Store rejects App because of "Missing Purpose String in Info.plist"

Describe the problem

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.

What was the expected behavior?

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.

Reproduction

  • Build Capacitor App for iOS with @cometchat-pro/ionic-calls
  • Deploy to App Store Connect
  • Build is made invalid by Apple

Environment

  • "@angular/core": "~10.0.0"
  • "@ionic/angular": "^5.5.2"
  • "@cometchat-pro/cordova-ionic-chat": "2.3.4"
  • "@cometchat-pro/ionic-calls": "2.0.2"

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.