"undefined is not an object" ANDROID PROBLEM
See original GitHub issueHi, i try to install your component.
On iOS all works fine, but on Android when i call FCM.requestPermissions();
or FCM.getFCMToken().then(token => {}})
Error:
undefined is not an object (evaluating 'RNFIRMessaging.requestPermissions')
I have this component installed previously but i dont think its relevant https://github.com/evollu/react-native-firebase-analytics
PD: I have import FCM from 'react-native-fcm';
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:15 (1 by maintainers)
Top Results From Across the Web
TypeError: undefined is not an object (evaluating 'item.id ...
I've been experiencing this error. I ...
Read more >Troubleshooting "undefined is not an object (evaluating ...
The most common problem developers experience with this library is undefined is not an object (evaluating 'RNSound.IsAndroid') .
Read more >ERROR TypeError: undefined is not an object (evaluating ...
Ever encountered this error → ERROR TypeError: undefined is not an object (evaluating '_this.props.navigation.navigate') whilst working hard on your project?
Read more >27/3 - TypeError: undefined is not an object (evaluating 'family ...
I keep getting the following error: Oops, try again. It looks like you have an error in your code. Here's the message: TypeError:...
Read more >How to Fix TypeError: Null is Not an Object in JavaScript
The JavaScript error TypeError: null is not an object occurs when a property is accessed or a method is called on a null...
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 Free
Top 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
android studio can help fix import stuff
import com.evollu.react.fcm.FIRMessagingPackage;