question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

*didLoadWithEvents* is not working.

See original GitHub issue

Bug report

  • I’ve checked the example to reproduce the issue.

  • Reproduced on:

  • Android

  • iOS

Description

Hi there, I’m facing the same issue as described in #107, and try to add didLoadWithEvents event right after RNCallkeep.setup(); method. But the listener is not working.

Steps to Reproduce

  setUpCallKeep = () => {
    RNCallKeep.setup(callKeepOptions);
    RNCallKeep.setAvailable(true);
    RNCallKeep.addEventListener('didLoadWithEvents', (e) => {
      console.log('Navigation -> e', e);
    });
  };

this listener is not working even if the app was opened by call keep, nor when i accept or reject the call during the JS initialization.

Versions

- Callkeep:^3.1.1
- React Native:0.63.1
- iOS:13.5
- Android: - 
- Phone model: iPhone 7

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Romick2005commented, Sep 3, 2021

I think you are right. You should check #418 issue.

0reactions
mi2aruncommented, Dec 30, 2021

ohh finally got it worked , reload the app from Xcode IDE after made changes don’t use React Native Metro Debugger Reload because call back event reference is removed when Metro Debugger reloading the app (it might be bug or event lifecycle ) that’s why event is not firing I restart the app every time using Xcode then there is no issue at all , events firing perfectly

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-callkeep - npm
React Native CallKeep utilises a brand new iOS 10 framework CallKit and Android ConnectionService to make the life easier for VoIP developers ...
Read more >
React-native-voip-push-notification - npm.io
Staff from Apple gives some advisions for these issues in the below ... 'didLoadWithEvents' --- fired when there are not-fired events been cached...
Read more >
react-native-voip-push-notification: Versions - Openbase
'didLoadWithEvents' --- fired when there are not-fired events been cached before js bridge is up. JS usage ... import VoipPushNotification from 'react-native- ...
Read more >
React Native CallKeep utilises a brand new iOS 10 framework ...
Eg: When your used log out (or the connection to your server is broken, etc…), you have to call setAvailable(false) so CallKeep will...
Read more >
react native IOS can not access microphone when lockscreen ...
The call working normally 2.Only with case app locked + app not running. I can not see the microphone in top of screen,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found