-
Notifications
You must be signed in to change notification settings - Fork 464
Open
Description
Problem
Has anyone encountered an issue where answerCall
events are lost when the app is launched from a killed state via VoIP push?
Scenario
- App is completely killed (not in background)
- VoIP push arrives → CallKit interface appears immediately
- User taps "Answer" quickly (within first few seconds)
- Bundle is still loading/initializing
answerCall
event is never received by RNApp
Why we need the answer event
We need to detect when user answers to notify our server that the client is ready to receive a SIP INVITE. Our flow is:
- User answers → Send "ready" signal to server
- Server receives "ready" → Initiates SIP INVITE
- SIP connection established
Without the answer event, we can't notify the server, so the SIP call never gets initiated.
Question
- Has anyone experienced this issue with early answer events?
- Are there recommended patterns for handling CallKit events when RNApp isn't ready yet?
- Should events be buffered somehow until the JS bridge is fully initialized?
The issue only happens when app is killed and VoIP push launches it. When app is already running (background or foreground), answer events work perfectly.
Any insights would be appreciated!
Environment
- iOS: Testing on physical devices
Metadata
Metadata
Assignees
Labels
No labels