Skip to content

Commit 7eee28b

Browse files
committed
README updated.
1 parent 9c74590 commit 7eee28b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ class RNCallKitExample extends React.Component {
245245
RNCallKit.addEventListener('answerCall', this.onRNCallKitPerformAnswerCallAction);
246246
RNCallKit.addEventListener('endCall', this.onRNCallKitPerformEndCallAction);
247247
RNCallKit.addEventListener('didActivateAudioSession', this.onRNCallKitDidActivateAudioSession);
248+
RNCallKit.addEventListener('didDisplayIncomingCall', this.onRNCallKitDidDisplayIncomingCall);
248249
}
249250

250251
onRNCallKitDidReceiveStartCallAction(data) {
@@ -285,6 +286,12 @@ class RNCallKitExample extends React.Component {
285286
*/
286287
}
287288

289+
onRNCallKitDidDisplayIncomingCall(error) {
290+
/* You will get this event after RNCallKit finishes showing incoming call UI
291+
* You can check if there was an error while displaying
292+
*/
293+
}
294+
288295
// This is a fake function where you can receive incoming call notifications
289296
onIncomingCall() {
290297
// Store the generated uuid somewhere

0 commit comments

Comments
 (0)