title: react native push notification IOS 'addListener is not a function'
body: <p>I am trying to set up push notifications for my project using react-native-push-notifications <code>nmp module</code>. It seems to be great and very useful, It works almost great on android but i can't get it to work on ios. I do everything according docs of PushNotificationsIOS but when i call 
  <code>PushNotification.configure({..})</code>
  it gives me this error :</p>
  
  <pre><code>Unhandled JS Exception: this._nativeModule.addListener is not a function.(In 'this._nativeModule.addListener(eventType)', 'this._nativeModule.addListener' is undefined)
  </code></pre>
  
  <p>but if i call <code>PushNotification.requestPermissions()</code> or other functions it works and permissions are there.</p>
  
  <p>I tried to erase node-modules and 'npm install' - doesn't help. Also if i call anything from PushnotificationIOS (react native module) i have the same error.
  i use react-native 0.31 </p>
  
  <p>It seems that I am doing something obvious wrong but I can't figure out. Any ideas would be appreciated very much!</p>