title: Netinfo connectionChange event listener not getting detached
body: <p>I have added connectionChange event listener on splash screen componentDidMount, but it is not removed on componentwillUnmount. It is active on every page of the application. How can I detach it on componentWillUnmount.</p>
  
  <pre><code>componentDidMount() {
           NetInfo.addEventListener('connectionChange',
      (networkType)=&gt; {
          this.handleFirstConnectivityChange({networkType})
      }
  }
  
      componentWillUnmount() {
          this.notificationListener.remove();
          NetInfo.removeEventListener(
              'connectionChange'
            );
  
  }
  </code></pre>