diff --git a/examples/ReactNativeBenchmarks/android/app/build.gradle b/examples/ReactNativeBenchmarks/android/app/build.gradle index f1980914..03c19de7 100644 --- a/examples/ReactNativeBenchmarks/android/app/build.gradle +++ b/examples/ReactNativeBenchmarks/android/app/build.gradle @@ -123,5 +123,7 @@ dependencies { compile "com.facebook.react:react-native:0.19.+" compile project(":realm") + compile project(':react-native-sqlite-storage') + compile fileTree(dir: "node_modules/realm/android/libs", include: ["*.jar"]) } diff --git a/examples/ReactNativeBenchmarks/android/app/src/main/java/com/reactnativebenchmarks/MainActivity.java b/examples/ReactNativeBenchmarks/android/app/src/main/java/com/reactnativebenchmarks/MainActivity.java index e88ad9bd..fd1563d7 100644 --- a/examples/ReactNativeBenchmarks/android/app/src/main/java/com/reactnativebenchmarks/MainActivity.java +++ b/examples/ReactNativeBenchmarks/android/app/src/main/java/com/reactnativebenchmarks/MainActivity.java @@ -8,6 +8,7 @@ import java.util.Arrays; import java.util.List; import io.realm.react.RealmReactPackage; +import org.pgsqlite.SQLitePluginPackage; public class MainActivity extends ReactActivity { @@ -36,7 +37,7 @@ public class MainActivity extends ReactActivity { @Override protected List getPackages() { return Arrays.asList( - new MainReactPackage(), new RealmReactPackage() + new MainReactPackage(), new RealmReactPackage(), new SQLitePluginPackage(this) ); } } diff --git a/examples/ReactNativeBenchmarks/android/settings.gradle b/examples/ReactNativeBenchmarks/android/settings.gradle index 91169fa8..c2dd5c63 100644 --- a/examples/ReactNativeBenchmarks/android/settings.gradle +++ b/examples/ReactNativeBenchmarks/android/settings.gradle @@ -5,3 +5,7 @@ include ':app' // realm dependency include ':realm' project(':realm').projectDir = new File(rootProject.projectDir, '../node_modules/realm/android') + +include ':react-native-sqlite-storage' +project(':react-native-sqlite-storage').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-sqlite-storage/src/android') +