[admob][android] Add RNFirebaseAdmob to modules list
This commit is contained in:
parent
ce6cd4fc9e
commit
b53c208911
|
@ -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<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
|
||||
return Arrays.<ViewManager>asList(
|
||||
new RNFirebaseAdMob()
|
||||
new RNFirebaseAdMobBanner()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue