diff --git a/android/src/main/java/io/invertase/firebase/RNFirebasePackage.java b/android/src/main/java/io/invertase/firebase/RNFirebasePackage.java index 90cf8887..8f91ecfc 100644 --- a/android/src/main/java/io/invertase/firebase/RNFirebasePackage.java +++ b/android/src/main/java/io/invertase/firebase/RNFirebasePackage.java @@ -14,7 +14,7 @@ import java.util.List; import java.util.ArrayList; 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.config.RNFirebaseRemoteConfig; 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.messaging.RNFirebaseMessaging; import io.invertase.firebase.perf.RNFirebasePerformance; +import io.invertase.firebase.admob.RNFirebaseAdMob; @SuppressWarnings("unused") public class RNFirebasePackage implements ReactPackage { @@ -47,6 +48,7 @@ public class RNFirebasePackage implements ReactPackage { modules.add(new RNFirebaseCrash(reactContext)); modules.add(new RNFirebaseRemoteConfig(reactContext)); modules.add(new RNFirebasePerformance(reactContext)); + modules.add(new RNFirebaseAdMob(reactContext)); return modules; } @@ -69,7 +71,7 @@ public class RNFirebasePackage implements ReactPackage { @Override public List createViewManagers(ReactApplicationContext reactContext) { return Arrays.asList( - new RNFirebaseAdMob() + new RNFirebaseAdMobBanner() ); } }