title: Invariant Violation: new NativeEventEmitter() requires a non-null argument
body: <p><a href="https://i.stack.imgur.com/1Joz0.jpg" rel="noreferrer">image</a>
  I am developing an ios app but i got dependency issues and</p>
  <blockquote>
  <p>Invariant Violation: new NativeEventEmitter() requires a non-null argument. error</p>
  </blockquote>
  <hr />
  <pre><code>import { NativeModules, NativeEventEmitter } from 'react-native';
  const razorpayEvents = new NativeEventEmitter(NativeModules.RazorpayEventEmitter);
  </code></pre>
  <blockquote>
  <p>NativeModules.RazorpayEventEmitter is empty .</p>
  </blockquote>