title: Firebase on React Native - dependencies issue
body: <p>I'm currently trying to implement Firebase Cloud Messaging functionnalities on React Native (I would like to use notifications). </p>
  
  <p>However I'm stucked on an error, related to the dependencies. </p>
  
  <p>When running <code>react-native run-android</code> I get the following error </p>
  
  <pre><code>D:\wrkfldr\Hiking\android\app\src\main\java\com\hiking\MainApplication.java:6: error: package io.invertase.firebase does not exist
  import io.invertase.firebase.RNFirebasePackage;
                              ^
  D:\wrkfldr\Hiking\android\app\src\main\java\com\hiking\MainApplication.java:29: error: cannot find symbol
              new RNFirebasePackage(),
                  ^
    symbol: class RNFirebasePackage
  2 errors
  :app:compileDebugJavaWithJavac FAILED
  
  FAILURE: Build failed with an exception
  </code></pre>
  
  <p>Here are the dependencies in my app\build.gradle</p>
  
  <pre><code>dependencies {
      compile project(':react-native-fcm')
      compile 'com.google.firebase:firebase-messaging:11.6.0'
      compile "com.google.android.gms:play-services-base:11.6.0"
      compile "com.google.firebase:firebase-core:11.6.0"
      compile project(':react-native-cardview')
      compile fileTree(dir: "libs", include: ["*.jar"])
      compile "com.android.support:appcompat-v7:23.0.1"
      compile "com.facebook.react:react-native:+"  // From node_modules
  }
  </code></pre>
  
  <p>Here is the MainApplication.java</p>
  
  <pre><code>package com.hiking;
  
  import android.app.Application;
  
  import com.facebook.react.ReactApplication;
  import io.invertase.firebase.RNFirebasePackage;
  import com.kishanjvaghela.cardview.RNCardViewPackage;
  import com.facebook.react.ReactNativeHost;
  import com.facebook.react.ReactPackage;
  import com.facebook.react.shell.MainReactPackage;
  import com.evollu.react.fcm.FIRMessagingPackage;
  import com.facebook.soloader.SoLoader;
  
  import java.util.Arrays;
  import java.util.List;
  
  public class MainApplication extends Application implements ReactApplication {
  
    private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
      @Override
      public boolean getUseDeveloperSupport() {
        return BuildConfig.DEBUG;
      }
  
      @Override
      protected List&lt;ReactPackage&gt; getPackages() {
        return Arrays.&lt;ReactPackage&gt;asList(
            new MainReactPackage(),
              new RNFirebasePackage(),
              new FIRMessagingPackage(),
              new RNCardViewPackage()
        );
      }
  
      @Override
      protected String getJSMainModuleName() {
        return "index";
      }
    };
  
    ...
  }
  </code></pre>
  
  <p>I really can't figure out where the issue is. Has someone any idea ? </p>