diff --git a/android/src/main/java/io/invertase/firebase/RNFirebasePackage.java b/android/src/main/java/io/invertase/firebase/RNFirebasePackage.java
index 8bf7fcbd..b960b9c6 100644
--- a/android/src/main/java/io/invertase/firebase/RNFirebasePackage.java
+++ b/android/src/main/java/io/invertase/firebase/RNFirebasePackage.java
@@ -31,6 +31,18 @@ public class RNFirebasePackage implements ReactPackage {
return modules;
}
+ /**
+ * @return list of JS modules to register with the newly created catalyst instance.
+ *
+ * IMPORTANT: Note that only modules that needs to be accessible from the native code should be
+ * listed here. Also listing a native module here doesn't imply that the JS implementation of it
+ * will be automatically included in the JS bundle.
+ */
+ // TODO: Removed in 0.47.0. Here for backwards compatability
+ public List> createJSModules() {
+ return Collections.emptyList();
+ }
+
/**
* @param reactContext
* @return a list of view managers that should be registered with {@link UIManagerModule}
diff --git a/android/src/main/java/io/invertase/firebase/admob/RNFirebaseAdMobPackage.java b/android/src/main/java/io/invertase/firebase/admob/RNFirebaseAdMobPackage.java
index 2bfb6109..6715affc 100644
--- a/android/src/main/java/io/invertase/firebase/admob/RNFirebaseAdMobPackage.java
+++ b/android/src/main/java/io/invertase/firebase/admob/RNFirebaseAdMobPackage.java
@@ -29,6 +29,18 @@ public class RNFirebaseAdMobPackage implements ReactPackage {
return modules;
}
+ /**
+ * @return list of JS modules to register with the newly created catalyst instance.
+ *
+ * IMPORTANT: Note that only modules that needs to be accessible from the native code should be
+ * listed here. Also listing a native module here doesn't imply that the JS implementation of it
+ * will be automatically included in the JS bundle.
+ */
+ // TODO: Removed in 0.47.0. Here for backwards compatability
+ public List> createJSModules() {
+ return Collections.emptyList();
+ }
+
/**
* @param reactContext
* @return a list of view managers that should be registered with {@link UIManagerModule}
diff --git a/android/src/main/java/io/invertase/firebase/analytics/RNFirebaseAnalyticsPackage.java b/android/src/main/java/io/invertase/firebase/analytics/RNFirebaseAnalyticsPackage.java
index b21a3082..15fe7c9e 100644
--- a/android/src/main/java/io/invertase/firebase/analytics/RNFirebaseAnalyticsPackage.java
+++ b/android/src/main/java/io/invertase/firebase/analytics/RNFirebaseAnalyticsPackage.java
@@ -33,6 +33,18 @@ public class RNFirebaseAnalyticsPackage implements ReactPackage {
return modules;
}
+ /**
+ * @return list of JS modules to register with the newly created catalyst instance.
+ *
+ * IMPORTANT: Note that only modules that needs to be accessible from the native code should be
+ * listed here. Also listing a native module here doesn't imply that the JS implementation of it
+ * will be automatically included in the JS bundle.
+ */
+ // TODO: Removed in 0.47.0. Here for backwards compatability
+ public List> createJSModules() {
+ return Collections.emptyList();
+ }
+
/**
* @param reactContext
* @return a list of view managers that should be registered with {@link UIManagerModule}
diff --git a/android/src/main/java/io/invertase/firebase/auth/RNFirebaseAuthPackage.java b/android/src/main/java/io/invertase/firebase/auth/RNFirebaseAuthPackage.java
index 909b9312..0fa905dc 100644
--- a/android/src/main/java/io/invertase/firebase/auth/RNFirebaseAuthPackage.java
+++ b/android/src/main/java/io/invertase/firebase/auth/RNFirebaseAuthPackage.java
@@ -28,6 +28,18 @@ public class RNFirebaseAuthPackage implements ReactPackage {
return modules;
}
+ /**
+ * @return list of JS modules to register with the newly created catalyst instance.
+ *
+ * IMPORTANT: Note that only modules that needs to be accessible from the native code should be
+ * listed here. Also listing a native module here doesn't imply that the JS implementation of it
+ * will be automatically included in the JS bundle.
+ */
+ // TODO: Removed in 0.47.0. Here for backwards compatability
+ public List> createJSModules() {
+ return Collections.emptyList();
+ }
+
/**
* @param reactContext
* @return a list of view managers that should be registered with {@link UIManagerModule}
diff --git a/android/src/main/java/io/invertase/firebase/config/RNFirebaseRemoteConfigPackage.java b/android/src/main/java/io/invertase/firebase/config/RNFirebaseRemoteConfigPackage.java
index dce06b80..e794313c 100644
--- a/android/src/main/java/io/invertase/firebase/config/RNFirebaseRemoteConfigPackage.java
+++ b/android/src/main/java/io/invertase/firebase/config/RNFirebaseRemoteConfigPackage.java
@@ -28,6 +28,18 @@ public class RNFirebaseRemoteConfigPackage implements ReactPackage {
return modules;
}
+ /**
+ * @return list of JS modules to register with the newly created catalyst instance.
+ *
+ * IMPORTANT: Note that only modules that needs to be accessible from the native code should be
+ * listed here. Also listing a native module here doesn't imply that the JS implementation of it
+ * will be automatically included in the JS bundle.
+ */
+ // TODO: Removed in 0.47.0. Here for backwards compatability
+ public List> createJSModules() {
+ return Collections.emptyList();
+ }
+
/**
* @param reactContext
* @return a list of view managers that should be registered with {@link UIManagerModule}
diff --git a/android/src/main/java/io/invertase/firebase/crash/RNFirebaseCrashPackage.java b/android/src/main/java/io/invertase/firebase/crash/RNFirebaseCrashPackage.java
index 4ab83e78..8eeb6174 100644
--- a/android/src/main/java/io/invertase/firebase/crash/RNFirebaseCrashPackage.java
+++ b/android/src/main/java/io/invertase/firebase/crash/RNFirebaseCrashPackage.java
@@ -28,6 +28,18 @@ public class RNFirebaseCrashPackage implements ReactPackage {
return modules;
}
+ /**
+ * @return list of JS modules to register with the newly created catalyst instance.
+ *
+ * IMPORTANT: Note that only modules that needs to be accessible from the native code should be
+ * listed here. Also listing a native module here doesn't imply that the JS implementation of it
+ * will be automatically included in the JS bundle.
+ */
+ // TODO: Removed in 0.47.0. Here for backwards compatability
+ public List> createJSModules() {
+ return Collections.emptyList();
+ }
+
/**
* @param reactContext
* @return a list of view managers that should be registered with {@link UIManagerModule}
diff --git a/android/src/main/java/io/invertase/firebase/database/RNFirebaseDatabasePackage.java b/android/src/main/java/io/invertase/firebase/database/RNFirebaseDatabasePackage.java
index c4e9808d..7045aa53 100644
--- a/android/src/main/java/io/invertase/firebase/database/RNFirebaseDatabasePackage.java
+++ b/android/src/main/java/io/invertase/firebase/database/RNFirebaseDatabasePackage.java
@@ -28,6 +28,18 @@ public class RNFirebaseDatabasePackage implements ReactPackage {
return modules;
}
+ /**
+ * @return list of JS modules to register with the newly created catalyst instance.
+ *
+ * IMPORTANT: Note that only modules that needs to be accessible from the native code should be
+ * listed here. Also listing a native module here doesn't imply that the JS implementation of it
+ * will be automatically included in the JS bundle.
+ */
+ // TODO: Removed in 0.47.0. Here for backwards compatability
+ public List> createJSModules() {
+ return Collections.emptyList();
+ }
+
/**
* @param reactContext
* @return a list of view managers that should be registered with {@link UIManagerModule}
diff --git a/android/src/main/java/io/invertase/firebase/firestore/RNFirebaseFirestorePackage.java b/android/src/main/java/io/invertase/firebase/firestore/RNFirebaseFirestorePackage.java
index f971daea..528922ac 100644
--- a/android/src/main/java/io/invertase/firebase/firestore/RNFirebaseFirestorePackage.java
+++ b/android/src/main/java/io/invertase/firebase/firestore/RNFirebaseFirestorePackage.java
@@ -28,6 +28,18 @@ public class RNFirebaseFirestorePackage implements ReactPackage {
return modules;
}
+ /**
+ * @return list of JS modules to register with the newly created catalyst instance.
+ *
+ * IMPORTANT: Note that only modules that needs to be accessible from the native code should be
+ * listed here. Also listing a native module here doesn't imply that the JS implementation of it
+ * will be automatically included in the JS bundle.
+ */
+ // TODO: Removed in 0.47.0. Here for backwards compatability
+ public List> createJSModules() {
+ return Collections.emptyList();
+ }
+
/**
* @param reactContext
* @return a list of view managers that should be registered with {@link UIManagerModule}
diff --git a/android/src/main/java/io/invertase/firebase/messaging/RNFirebaseMessagingPackage.java b/android/src/main/java/io/invertase/firebase/messaging/RNFirebaseMessagingPackage.java
index 1a88b657..70ac5c94 100644
--- a/android/src/main/java/io/invertase/firebase/messaging/RNFirebaseMessagingPackage.java
+++ b/android/src/main/java/io/invertase/firebase/messaging/RNFirebaseMessagingPackage.java
@@ -28,6 +28,18 @@ public class RNFirebaseMessagingPackage implements ReactPackage {
return modules;
}
+ /**
+ * @return list of JS modules to register with the newly created catalyst instance.
+ *
+ * IMPORTANT: Note that only modules that needs to be accessible from the native code should be
+ * listed here. Also listing a native module here doesn't imply that the JS implementation of it
+ * will be automatically included in the JS bundle.
+ */
+ // TODO: Removed in 0.47.0. Here for backwards compatability
+ public List> createJSModules() {
+ return Collections.emptyList();
+ }
+
/**
* @param reactContext
* @return a list of view managers that should be registered with {@link UIManagerModule}
diff --git a/android/src/main/java/io/invertase/firebase/perf/RNFirebasePerformancePackage.java b/android/src/main/java/io/invertase/firebase/perf/RNFirebasePerformancePackage.java
index 2ef2314b..04e52835 100644
--- a/android/src/main/java/io/invertase/firebase/perf/RNFirebasePerformancePackage.java
+++ b/android/src/main/java/io/invertase/firebase/perf/RNFirebasePerformancePackage.java
@@ -28,6 +28,18 @@ public class RNFirebasePerformancePackage implements ReactPackage {
return modules;
}
+ /**
+ * @return list of JS modules to register with the newly created catalyst instance.
+ *
+ * IMPORTANT: Note that only modules that needs to be accessible from the native code should be
+ * listed here. Also listing a native module here doesn't imply that the JS implementation of it
+ * will be automatically included in the JS bundle.
+ */
+ // TODO: Removed in 0.47.0. Here for backwards compatability
+ public List> createJSModules() {
+ return Collections.emptyList();
+ }
+
/**
* @param reactContext
* @return a list of view managers that should be registered with {@link UIManagerModule}
diff --git a/android/src/main/java/io/invertase/firebase/storage/RNFirebaseStoragePackage.java b/android/src/main/java/io/invertase/firebase/storage/RNFirebaseStoragePackage.java
index a14cc738..114a1218 100644
--- a/android/src/main/java/io/invertase/firebase/storage/RNFirebaseStoragePackage.java
+++ b/android/src/main/java/io/invertase/firebase/storage/RNFirebaseStoragePackage.java
@@ -33,6 +33,18 @@ public class RNFirebaseStoragePackage implements ReactPackage {
return modules;
}
+ /**
+ * @return list of JS modules to register with the newly created catalyst instance.
+ *
+ * IMPORTANT: Note that only modules that needs to be accessible from the native code should be
+ * listed here. Also listing a native module here doesn't imply that the JS implementation of it
+ * will be automatically included in the JS bundle.
+ */
+ // TODO: Removed in 0.47.0. Here for backwards compatibility
+ public List> createJSModules() {
+ return Collections.emptyList();
+ }
+
/**
* @param reactContext
* @return a list of view managers that should be registered with {@link UIManagerModule}