image I am developing an ios app but i got dependency issues and
Invariant Violation: new NativeEventEmitter() requires a non-null argument. error
import { NativeModules, NativeEventEmitter } from 'react-native';
const razorpayEvents = new NativeEventEmitter(NativeModules.RazorpayEventEmitter);
NativeModules.RazorpayEventEmitter is empty .
Go to ios folder then remove
And make sure you have followed the installation instruction correctly. Drawer Installation
I hope it can solve your issue.
I used drawer navigation in my react app and then faced same issue. Go to ios directory and say pod install. Rebuild your application. This solved my issue.
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