I am trying to run an existing react native app on android platform and I am getting the error as in the below image. I have already followed all the steps mentioned under http://invertase.link/android, but I still am facing this error.
I am a complete beginner in react native, have already exhausted all the solutions available on the web and this post is my last resort.
You have to add import io.invertase.firebase.RNFirebasePackage;
and new RNFirebasePackage()
in the MainApplication.java
In my case I deleted my app from emulator and reinstall that by giving the command (react-native run-android) and that process worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With