Reputation: 511
After installing react-native-firebase-auth to my react-native ejected app,
When trying to access the "auth" module:
import auth from '@react-native-firebase/auth';
I received the following error:
Invariant Violation: Native module cannot be null.
Upvotes: 0
Views: 177
Reputation: 511
I noticed Xcode create a second app instance on my device during the build process.
Removing both instances from the device and rebuilding resolved this error.
Upvotes: 1