TypeError: null is not an object (evaluating 'RNCallKeepModule.setAvailable')
See original GitHub issueI 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:
- Created 4 years ago
- Comments:7
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
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)