Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call management #16

Closed
wants to merge 6 commits into from
Closed

Call management #16

wants to merge 6 commits into from

Conversation

KPalvolg
Copy link
Collaborator

@KPalvolg KPalvolg commented Sep 28, 2020

Added incoming call notification loop:

  • Triggered by "type": "incomingCall" in notification data
  • Displays name from "name" member in notification data
  • Reports call as video call if "isVideo" is true in notification data
  • Notification repeats every 3 seconds for a total of 24 seconds
  • Plays Ringtone.caf file with the notifications
  • To wake app, notification sounds should be _blank.caf, "priority" should be "high" and "content_available" should be true
  • Only one call notification is allowed at a time, others will be ignored
  • Call can be stopped from code, or by waiting for it to time out, or by receiving a stop call notification

Added stop call notification handling:

  • Triggered by "type": "stopIncomingCall" in notification data
  • Stops current notification loop and will show a missed call notification
  • Displays name from "name" member in notification data
  • Reports call as video call if "isVideo" is true in notification data

Added JS methods to:

  • Report incoming call
  • Stop call
  • Stop call and report a missed call

KPalvolg and others added 3 commits September 18, 2020 14:24
…otification to stop incoming call with push.
Added sound+vibration for incoming call.
Added JS methods for call features.
@KPalvolg
Copy link
Collaborator Author

Not used, due to limitations with APNS

@KPalvolg KPalvolg closed this Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant