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.

undefined is not an object _InCallManager.start

See original GitHub issue

I’m trying to install this for android and it’s not working. All I did was

  1. npm install
  2. import InCallManager from ‘react-native-incall-manager’;
  3. InCallManager.start()

And I am getting the error: undefined is not an object (evaluating '_InCallManager.start')

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:19 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
JamesTooheycommented, Feb 14, 2017

For anyone that has an issue with Android, I had to manually add the following to MainApplication.java

import com.zxcpoiu.incallmanager.InCallManagerPackage;
    @Override
    protected List<ReactPackage> getPackages() {
      mReactNativePushNotificationPackage = new ReactNativePushNotificationPackage();
      return Arrays.<ReactPackage>asList(
          new InCallManagerPackage(),
      );
    }
0reactions
zxcpoiucommented, Dec 15, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native:-[Unhandled promise rejection: TypeError:null is ...
After Anik Dey Answer iget this stacktrace: Error [TypeError: null is not an object (evaluating 'WebRTCModule.peerConnectionInit')] TypeError: ...
Read more >
TypeError: null is not an object (evaluating 'WebRTCModule ...
Hello, i cannot get react-native-WebRTC to run on a real android phone. I ejected expo and then built the app.
Read more >
iOS : React Native, NavigatorIOS, undefined is not an object ...
iOS : React Native, NavigatorIOS, undefined is not an object (evaluating 'this.props.navigator.push') [ Beautify Your Computer ...
Read more >
react-native-incall-manager - npm
Handling media-routes/sensors/events during a audio/video chat on React Native. Latest version: 4.0.1, last published: 10 days ago. Start ...
Read more >
Simple guide for React Native WebRTC Video Calling (via ...
Follow the Getting Started guide on how to connect ConnectyCube SDK and start ... In order to use Video Calling API you need...
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