Android only: firebase.messaging() throws "module not installed natively" error #8576
              
                Unanswered
              
          
                  
                    
                      shihKaiHung
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
❗ Problem
This issue only occurs on Android. On iOS, everything works as expected.
I have already confirmed the following:
@react-native-firebase/appand@react-native-firebase/messagingare correctly installed inpackage.json@react-native-firebase/messagingin my JS codecd android && ./gradlew cleanfollowed by a full rebuildAndroidManifest.xmlMainApplication.javafor potential issues📦 Versions
@react-native-firebase/app@react-native-firebase/messaging✅ Steps to Reproduce
firebase.messaging()on Android🧪 Expected Behavior
firebase.messaging()should return the messaging module without error, as it does on iOS.❓ Questions
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions