I am trying to add react-native-firebase to the app in android
Since the MainApplication.java does not extend react application, it is not possible to link additional native modules to android application.
Where should I add a new native package in android app ? I want to modify MainApplication.java to add the native package. However the MainApplication does not extend ReactApplication
public class MainApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
if (!LeakCanary.isInAnalyzerProcess(this)) {
LeakCanary.install(this);
}
}
}