mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
[tests] integrate perf package
This commit is contained in:
@@ -96,6 +96,7 @@ dependencies {
|
||||
implementation project(path: ':@react-native-firebase/analytics')
|
||||
implementation project(path: ':@react-native-firebase/functions')
|
||||
implementation project(path: ':@react-native-firebase/iid')
|
||||
implementation project(path: ':@react-native-firebase_perf')
|
||||
|
||||
/* ------------------------
|
||||
* TESTING SDKS/LIBRARIES
|
||||
|
||||
@@ -12,11 +12,12 @@ import com.facebook.soloader.SoLoader;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import io.invertase.firebase.analytics.ReactNativeFirebaseAnalyticsPackage;
|
||||
import io.invertase.firebase.app.ReactNativeFirebaseApp;
|
||||
import io.invertase.firebase.app.ReactNativeFirebaseAppPackage;
|
||||
import io.invertase.firebase.functions.ReactNativeFirebaseFunctionsPackage;
|
||||
import io.invertase.firebase.iid.ReactNativeFirebaseIidPackage;
|
||||
import io.invertase.firebase.perf.ReactNativeFirebasePerfPackage;
|
||||
import io.invertase.firebase.functions.ReactNativeFirebaseFunctionsPackage;
|
||||
import io.invertase.firebase.analytics.ReactNativeFirebaseAnalyticsPackage;
|
||||
import io.invertase.jet.JetPackage;
|
||||
|
||||
public class MainApplication extends Application implements ReactApplication {
|
||||
@@ -34,7 +35,8 @@ public class MainApplication extends Application implements ReactApplication {
|
||||
new ReactNativeFirebaseAppPackage(),
|
||||
new ReactNativeFirebaseAnalyticsPackage(),
|
||||
new ReactNativeFirebaseFunctionsPackage(),
|
||||
new ReactNativeFirebaseIidPackage()
|
||||
new ReactNativeFirebaseIidPackage(),
|
||||
new ReactNativeFirebasePerfPackage()
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
rootProject.name = '@react-native-firebase/tests'
|
||||
include ':@react-native-firebase_perf'
|
||||
project(':@react-native-firebase_perf').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-firebase/perf/android')
|
||||
|
||||
include ':jet'
|
||||
project(':jet').projectDir = new File(rootProject.projectDir, './../node_modules/jet/android')
|
||||
|
||||
Reference in New Issue
Block a user