Skip to content

chore: update example app#227

Merged
davidliu merged 3 commits intolivekit:mainfrom
shubh73:chore/update-example
Apr 8, 2025
Merged

chore: update example app#227
davidliu merged 3 commits intolivekit:mainfrom
shubh73:chore/update-example

Conversation

@shubh73
Copy link
Copy Markdown
Contributor

@shubh73 shubh73 commented Apr 3, 2025

Why

This PR improves the example app's reliability.

How

  • Add POST_NOTIFICATIONS permission and proper foreground service types in AndroidManifest.xml.
  • Upgrade @supersami/rn-foreground-service to v2.2.5, remove patch and update the config.
  • Improve iOS call service to have proper state transitions (connecting -> connected) to enable call duration.

Test Plan

Android (Galaxy A05)

WhatsApp.Video.2025-04-03.at.6.37.49.PM.mp4

Note

The permission handling for POST_NOTIFICATIONS shown in the video is for testing only and not included in the example code, allowing users to implement their own permission logic.

iOS (16 Pro Max)

ScreenRecording_04-03-2025.16-34-35_1.mp4

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 3, 2025

CLA assistant check
All committers have signed the CLA.

@davidzhao davidzhao requested a review from davidliu April 3, 2025 15:36
Copy link
Copy Markdown
Contributor

@davidliu davidliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the PR.

@davidliu davidliu merged commit 9fd6713 into livekit:main Apr 8, 2025
4 checks passed
@shubh73 shubh73 deleted the chore/update-example branch April 8, 2025 18:00
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.

3 participants