title: React-native app failing when added Firebase configuration to AppDelegate.m on IOS
body: <p>I'm trying to implement react-native-firebase library to work with my react-native app (on both IOS and Android) for phone authentication.</p>
  
  <p>First time I tried running it I got <code>Error: The [[DEFAULT]] firebase app has not been initialized!</code>, so i configured my AppDelegate.m file properly.</p>
  
  <p>I have tried removing / reinstalling dependencies, rebuilding my app but It always gives me the same results. </p>
  
  <p>But now I always seem to get the following issue when i build the app:</p>
  
  <pre><code>The following commands produced analyzer issues:
  Analyze /Users/xxxx/WebstormProjects/myproject/node_modules/react-native/React/Base/RCTModuleMethod.mm normal x86_64
  Analyze /Users/xxxx/WebstormProjects/myproject/node_modules/react-native/Libraries/Network/RCTNetInfo.m normal x86_64
  </code></pre>
  
  <p>My dependencies:</p>
  
  <pre><code>"firebase": "^5.7.0",
  "react": "^16.7.0",
  "react-native": "^0.57.8",
  "react-native-firebase": "^5.1.1",
  </code></pre>
  
  <p>AppDelegate.m file:   </p>
  
  <pre><code>#import "AppDelegate.h"
  #import &lt;Firebase/Firebase.h&gt;
  #import "RNFirebaseNotifications.h"
  #import &lt;React/RCTBundleURLProvider.h&gt;
  #import &lt;React/RCTRootView.h&gt;
  
  // placed below configuration before RCTRootView initialization
  
  [RNFirebaseNotifications configure];
  [FIRApp configure];
  </code></pre>
  
  <p>Podfile:</p>
  
  <pre><code>target 'snoozelosenative' do
  
     pod 'Firebase/Core', '~&gt; 5.7.0'
     pod 'Firebase/Auth'
     pod 'RNFirebase', :path =&gt; '../node_modules/react-native-firebase/ios'
     pod 'React', :path =&gt; '../node_modules/react-native', subspecs: [
         'Core',
         'RCTAnimation',
         'RCTActionSheet',
         'RCTImage',
         'RCTLinkingIOS',
         'RCTNetwork',
         'RCTSettings',
         'RCTText',
         'RCTVibration',
         'RCTWebSocket',
         'RCTPushNotification',
         'RCTCameraRoll',
         'RCTSettings',
         'RCTBlob',
         'RCTGeolocation',
         'DevSupport',
  ]
    pod 'yoga', :path =&gt; '../node_modules/react-native/ReactCommon/yoga'
    pod 'RNGestureHandler', :path =&gt; '../node_modules/react-native-gesture-handler'
  
  end
  </code></pre>
  
  <p>I just want to get Firebase Phone Authentication working on both platforms, but don't know have I done wrong.</p>