[admob][android] Add RNFirebaseAdmob to modules list

This commit is contained in:
Elliot Hesp 2017-05-26 15:21:00 +01:00
parent ce6cd4fc9e
commit b53c208911
1 changed files with 4 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import java.util.List;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;
import io.invertase.firebase.admob.RNFirebaseAdMob; import io.invertase.firebase.admob.RNFirebaseAdMobBanner;
import io.invertase.firebase.auth.RNFirebaseAuth; import io.invertase.firebase.auth.RNFirebaseAuth;
import io.invertase.firebase.config.RNFirebaseRemoteConfig; import io.invertase.firebase.config.RNFirebaseRemoteConfig;
import io.invertase.firebase.storage.RNFirebaseStorage; import io.invertase.firebase.storage.RNFirebaseStorage;
@ -23,6 +23,7 @@ import io.invertase.firebase.analytics.RNFirebaseAnalytics;
import io.invertase.firebase.crash.RNFirebaseCrash; import io.invertase.firebase.crash.RNFirebaseCrash;
import io.invertase.firebase.messaging.RNFirebaseMessaging; import io.invertase.firebase.messaging.RNFirebaseMessaging;
import io.invertase.firebase.perf.RNFirebasePerformance; import io.invertase.firebase.perf.RNFirebasePerformance;
import io.invertase.firebase.admob.RNFirebaseAdMob;
@SuppressWarnings("unused") @SuppressWarnings("unused")
public class RNFirebasePackage implements ReactPackage { public class RNFirebasePackage implements ReactPackage {
@ -47,6 +48,7 @@ public class RNFirebasePackage implements ReactPackage {
modules.add(new RNFirebaseCrash(reactContext)); modules.add(new RNFirebaseCrash(reactContext));
modules.add(new RNFirebaseRemoteConfig(reactContext)); modules.add(new RNFirebaseRemoteConfig(reactContext));
modules.add(new RNFirebasePerformance(reactContext)); modules.add(new RNFirebasePerformance(reactContext));
modules.add(new RNFirebaseAdMob(reactContext));
return modules; return modules;
} }
@ -69,7 +71,7 @@ public class RNFirebasePackage implements ReactPackage {
@Override @Override
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) { public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
return Arrays.<ViewManager>asList( return Arrays.<ViewManager>asList(
new RNFirebaseAdMob() new RNFirebaseAdMobBanner()
); );
} }
} }