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.

TypeError: null is not an object (evaluating 'RNCallKeepModule.setAvailable')

See original GitHub issue

I am getting TypeError: null is not an object (evaluating 'RNCallKeepModule.setAvailable'), with remote debugging turn off and TypeError: Cannot read property 'setAvailable' of undefined with remote debugging on.

import RNCallKeep from 'react-native-callkeep';

const App = () => {

  const options = {
    ios: {
      appName: 'My app name',
    },
    android: {
      alertTitle: 'Permissions required',
      alertDescription: 'This application needs to access your phone accounts',
      cancelButton: 'Cancel',
      okButton: 'ok',
    },
  };

  RNCallKeep.setup(options);
  RNCallKeep.setAvailable(true);

  return (
    <Fragment>
      <Text>
        hello
      </Text>
      <Button title="Press Me" />
    </Fragment>
  );
};

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
danjenkinscommented, Jul 20, 2019

On that note you need to upgrade to 59 to get the 64 bit android app support - soon you wont be able to publish to the google play store without a 64 bit version

1reaction
danjenkinscommented, Jul 20, 2019

Great! RN moves at such a fast pace - always good to be up to date so that upgrades arent impossible. I’m just moving clients from 57 to 59 - 60 is too much of a change and we need to wait for modules to support it before doing anything (there are workarounds but I dont like workarounds)

Read more comments on GitHub >

github_iconTop Results From Across the Web

null is not an object (evaluating 'dispatcher.useMemo') - Stack ...
ERROR TypeError: null is not an object (evaluating 'dispatcher.useMemo'). I don't use useMemo anywhere. My application is almost empty, ...
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 >
How To Fix TypeError null is not an object (evaluating ...
React Native Tutorial - This Video ShowsHow To Fix TypeError null is not an object ( evaluating 'dispatcher.useState) TypeError react native ...
Read more >
Fully Customizable Beautiful React Native Login Screen
Implemented enhancements: Support custom props for TextInput #9. Fixed bugs: TypeError: undefined is not an object (evaluating '_reactNative.Animated.Text.
Read more >
React Native: How to fix TypeError: null is not an object ...
Coding example for the question React Native: How to fix TypeError: null is not an object (evaluating 'TrackPlayer.STATE_NONE')?-React Native.
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