title: instagram login error:- Invariant Violation: Tried to register two views with the same name RNCWebview when instagram login in react native
body: <p>I want to implement an Instagram login. but when I install react-native-instagram-login npm and place this code</p>
  <pre><code>import InstagramLogin from 'react-native-instagram-login';
  &lt;InstagramLogin
        ref={ref =&gt; (this.instagramLogin = ref)}
        appId='your-app-id'
        appSecret='your-app-secret'
        redirectUrl='your-redirect-Url'
        scopes={['user_profile', 'user_media']}
        onLoginSuccess={this.setIgToken}
        onLoginFailure={(data) =&gt; console.log(data)}
      /&gt;
  </code></pre>
  <p>and run this code, get an error -
  1.Invariant Violation: Tried to register two views with the same name RNCWebview when instagram login in react native
  2.Module AppRegistry is not registered callable module (calling runApplication)</p>
  <p>how to get rid of this error.
  here package.json</p>
  <pre><code>&quot;dependencies&quot;: {
  &quot;@react-native-community/cookies&quot;: &quot;^5.0.1&quot;,
  &quot;@react-native-community/masked-view&quot;: &quot;^0.1.10&quot;,
  &quot;@react-native-community/viewpager&quot;: &quot;^5.0.11&quot;,
  &quot;@react-native-google-signin/google-signin&quot;: &quot;^6.0.0&quot;,
  &quot;firebase&quot;: &quot;^8.6.0&quot;,
  &quot;html-entities&quot;: &quot;^1.3.1&quot;,
  &quot;lottie-react-native&quot;: &quot;^3.5.0&quot;,
  &quot;native-base&quot;: &quot;^2.13.12&quot;,
  &quot;react&quot;: &quot;^17.0.2&quot;,
  &quot;react-dom&quot;: &quot;^16.13.1&quot;,
  &quot;react-native&quot;: &quot;0.63.2&quot;,
  &quot;react-native-agora&quot;: &quot;^3.2.2&quot;,
  &quot;react-native-animated-loader&quot;: &quot;0.0.8&quot;,
  &quot;react-native-awesome-alerts&quot;: &quot;^1.3.3&quot;,
  &quot;react-native-banner-carousel&quot;: &quot;^1.0.3&quot;,
  &quot;react-native-checkbox-heaven&quot;: &quot;^0.1.6&quot;,
  &quot;react-native-datepicker&quot;: &quot;^1.7.2&quot;,
  &quot;react-native-document-picker&quot;: &quot;^5.0.3&quot;,
  &quot;react-native-fbsdk-next&quot;: &quot;^4.1.0&quot;,
  &quot;react-native-gesture-handler&quot;: &quot;^1.7.0&quot;,
  &quot;react-native-get-random-values&quot;: &quot;^1.6.0&quot;,
  &quot;react-native-gifted-chat&quot;: &quot;^0.16.3&quot;,
  &quot;react-native-image-view&quot;: &quot;^2.1.9&quot;,
  &quot;react-native-image-viewing&quot;: &quot;^0.2.0&quot;,
  &quot;react-native-image-zoom-viewer&quot;: &quot;^3.0.1&quot;,
  &quot;react-native-instagram-login&quot;: &quot;^2.0.4&quot;,
  &quot;react-native-keyboard-aware-scrollview&quot;: &quot;^2.1.0&quot;,
  &quot;react-native-linear-gradient&quot;: &quot;^2.5.6&quot;,
  &quot;react-native-login-twitter&quot;: &quot;^3.0.4&quot;,
  &quot;react-native-material-dropdown&quot;: &quot;^0.11.1&quot;,
  &quot;react-native-media-controls&quot;: &quot;^2.3.0&quot;,
  &quot;react-native-pager-view&quot;: &quot;^5.1.6&quot;,
  &quot;react-native-reanimated&quot;: &quot;^1.12.0&quot;,
  &quot;react-native-render-html&quot;: &quot;^4.2.3&quot;,
  &quot;react-native-responsive-dimensions&quot;: &quot;^3.1.1&quot;,
  &quot;react-native-safe-area-context&quot;: &quot;^3.1.4&quot;,
  &quot;react-native-screens&quot;: &quot;^2.10.1&quot;,
  &quot;react-native-share&quot;: &quot;^3.7.0&quot;,
  &quot;react-native-shimmer-placeholder&quot;: &quot;^1.0.36&quot;,
  &quot;react-native-splash-screen&quot;: &quot;^3.2.0&quot;,
  &quot;react-native-star-rating&quot;: &quot;^1.1.0&quot;,
  &quot;react-native-tab-view&quot;: &quot;^2.15.2&quot;,
  &quot;react-native-thumbnail-video&quot;: &quot;^0.1.2&quot;,
  &quot;react-native-vector-icons&quot;: &quot;^7.0.0&quot;,
  &quot;react-native-video&quot;: &quot;^5.1.1&quot;,
  &quot;react-native-video-controls&quot;: &quot;^2.7.1&quot;,
  &quot;react-native-web&quot;: &quot;^0.13.6&quot;,
  &quot;react-native-webview&quot;: &quot;^11.6.2&quot;,
  &quot;react-navigation&quot;: &quot;^4.4.0&quot;,
  &quot;react-navigation-drawer&quot;: &quot;^2.5.0&quot;,
  &quot;react-navigation-stack&quot;: &quot;^2.8.2&quot;,
  &quot;react-navigation-tabs&quot;: &quot;^2.9.0&quot;,
  &quot;react-redux&quot;: &quot;^7.2.1&quot;,
  &quot;redux&quot;: &quot;^4.0.5&quot;,
  &quot;uuid&quot;: &quot;^8.3.2&quot;
  </code></pre>
  <p>},</p>