title: Package react-native-onesignal has been ignored because it contains invalid configuration
body: <p>I am trying to configure <strong>OneSignal React Native</strong> in a React Native application for push notification purposes.</p>
  
  <p>Environment Setup </p>
  
  <ol>
  <li>react-native version : 0.60</li>
  <li>npm version 10.5</li>
  </ol>
  
  <p>I followed the steps below from the <a href="https://documentation.onesignal.com/docs/react-native-sdk-setup" rel="nofollow noreferrer">official documentation of React native one signal</a> for setting it up:</p>
  
  <p>step 1 : <code>npm install -g react-native-cli</code>,
              status : done</p>
  
  <p>step 2 : <code>react-native init OneSignalDemo</code>,
              status : done</p>
  
  <p>Before linking the project I ran my project successfully with the commands below:</p>
  
  <pre><code>react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
  react-native run-android
  </code></pre>
  
  <p>step 3: While linking my library with <code>react-native link react-native-onesignal</code> I got an error in my terminal.
  Linking oneSignal with my App (As per official documentation),
                status : fail</p>
  
  <p><strong>Error</strong>: </p>
  
  <pre class="lang-none prettyprint-override"><code>Package react-native-onesignal has been ignored because it contains invalid configuration. 
  Reason: Unknown option dependency.platforms.ios.sourceDir with value ""./ios"" was found. 
  This is either a typing error or a user mistake
  </code></pre>
  
  <p>One possible solution that I tried was to create new React Native project with version 0.58.0 as per <a href="https://documentation.onesignal.com/docs/react-native-sdk-setup" rel="nofollow noreferrer">documentation</a>, but I keep getting the same error.</p>