Ari Lazier
84272c467e
newer react native and dont repeat by default
2016-02-16 07:25:16 -08:00
Ari Lazier
6fefef725a
change number of query results, do fewer insersions because they are slow
2016-02-15 21:52:02 -08:00
Ari Lazier
8b41b0a6d0
cast rns date to int for storage
2016-02-15 17:52:40 -08:00
Ari Lazier
f34958ebae
use batch count for enumeration
2016-02-15 17:43:43 -08:00
Ari Lazier
2e2e7717b9
add checks for object counts, only clear objects when needed
2016-02-15 17:42:05 -08:00
Ari Lazier
9de2fa8726
don't return the wrong thing
2016-02-15 16:52:10 -08:00
Ari Lazier
c4fc31fea3
assert the proper number of objects are processed in each test
2016-02-15 16:49:53 -08:00
Ari Lazier
a99bf349a7
use test objects and 'of' for realm tests
2016-02-15 16:14:09 -08:00
Ari Lazier
36c1ae1f8e
remove autogenerated garbage
2016-02-15 15:33:41 -08:00
Ari Lazier
5f49837841
remove autogenerated stuff
2016-02-15 15:31:24 -08:00
Ari Lazier
e0a6bc0ab1
use separate transaction per insertion for sql
2016-02-15 14:12:26 -08:00
Ari Lazier
1614d02df0
share code
2016-02-15 13:52:38 -08:00
Ari Lazier
01f92ed72f
start of benchmarks
...
fixes
enumeration test and test setup
add async store api tests
Log benchmark test errors and some other minor edits
Only delete .realm* files for tests
sql lite tests
run all the tests
worthless
Make SQLite benchmarks work
Make Realm insertion benchmark work like SQLite
run each test in release multiple times
Open each database once per benchmark test
Use same AppDelegate for benchmarks as the example
This will load the non-dev JS from the packager.
Make the benchmarks actually match their labels
Delete benchmark databases during setup phase
Some minor code style updates to benchmarks
query tests
make query test mostly work
bug fix and improved logging
remove double insertions
improved logging and bugfix
better logging
batch insersions
more reasonable counts
android
2016-02-15 13:02:25 -08:00
Scott Kyle
41e0bf0fe4
Merge pull request #238 from realm/sk-android-package
...
Create RealmReactPackage for our Android plugin
2016-02-12 11:12:50 -08:00
Scott Kyle
e594087644
Convert to using new React Native MainActivity template
...
Adjusted the README to reflect the modern way of doing things.
2016-02-12 11:00:46 -08:00
Scott Kyle
74c780c3dc
Merge pull request #237 from realm/nh/fix_doc
...
Fix doc for Android
2016-02-12 09:49:55 -08:00
Scott Kyle
6e4b2440ba
Create RealmReactPackage for our Android plugin
...
Also renamed RealmReactAndroid to RealmReactModule to match the convention used by everyone else.
2016-02-12 09:49:11 -08:00
Nabil Hachicha
96e5e3f9fc
Fix doc for Android
2016-02-12 14:28:34 +00:00
Scott Kyle
aa22e59239
Merge pull request #205 from realm/al-android-example
...
Support for android
2016-02-11 17:21:04 -08:00
Scott Kyle
631efb72d7
NPM ignore react-native/android folder
2016-02-11 16:55:36 -08:00
Scott Kyle
5f7000d892
Skip building Android module under Xcode
2016-02-11 16:44:22 -08:00
Scott Kyle
69f0241adb
Skip building Android module for iOS tests
2016-02-11 13:24:21 -08:00
Scott Kyle
291cd98701
gitignore Android downloads folder
2016-02-11 13:20:31 -08:00
Scott Kyle
fc668d5dad
Update README with instructions to run on Android
2016-02-11 11:49:33 -08:00
Scott Kyle
415b45be51
Use un-patched RN for Android by installing hook into JSC
...
This works by installing some assembly into JSGlobalContextCreateInGroup() that will immediately jump out into our own wrapper function so we always can inject the Realm constructor into the context.
2016-02-11 11:14:09 -08:00
Nabil Hachicha
49408ad767
cleanup build system
2016-02-11 15:42:10 +00:00
Scott Kyle
c9c225c107
Use Realm in node_modules for ReactTests on Android
2016-02-10 17:08:01 -08:00
Scott Kyle
881d4a04c3
Change Demo => ReactTests
2016-02-10 17:03:16 -08:00
Nabil Hachicha
7afdbba2ed
adding a 'publishAndroid' task to generate the AAR with prebuilt .so files
2016-02-10 16:11:36 -08:00
Scott Kyle
918b140030
Adjust POM_NAME
2016-02-09 13:47:49 -08:00
Scott Kyle
c8f925d019
Use consistent package naming
2016-02-09 13:46:09 -08:00
Scott Kyle
8b652adc19
Remove old Demo files
2016-02-09 03:08:56 -08:00
Scott Kyle
5f02dc9f6d
Add copyright to JNI file
2016-02-08 15:56:08 -08:00
Scott Kyle
8e80733409
Cleanup platform.hpp
2016-02-08 15:55:52 -08:00
Scott Kyle
6c3782d05e
Make our Android module buildable as a dependency
...
This enables apps that use `react-native link` to build without the error: "Configuration with name 'default' not found"
2016-02-08 14:22:04 -08:00
Scott Kyle
0702fed747
Add `npm test` command
2016-02-08 14:19:16 -08:00
Ari Lazier
53946d3952
script fix
2016-02-08 11:48:38 -08:00
Ari Lazier
e8d472a2e8
script bug fix
2016-02-08 11:30:40 -08:00
Ari Lazier
c5a7e4ac30
don't run debug for androi since it isn't hooked up
2016-02-08 11:16:18 -08:00
Scott Kyle
1c1b2ec4ab
Add postinstall script to create symlinks
...
This includes a top-level "android" symlink that should allow `react-native link` command to work.
2016-02-08 03:26:27 -08:00
Scott Kyle
38868fe657
Use start_packager function for Android tests
2016-02-08 03:09:22 -08:00
Nabil Hachicha
788189100d
remove unecessary gradle file
2016-02-04 18:51:37 +00:00
Nabil Hachicha
49a74e5646
Refactor & formatting code
2016-02-04 18:30:26 +00:00
Nabil Hachicha
97345e62a9
unlocking device after the app is installed
2016-02-03 19:00:21 +00:00
Nabil Hachicha
e5ff3683ee
starting packager in bg process
2016-02-03 16:43:35 +00:00
Nabil Hachicha
7f0eea2636
reverting start packer
2016-02-03 16:26:35 +00:00
Nabil Hachicha
69edbcbfb6
start packager only once
2016-02-03 16:06:26 +00:00
Scott Kyle
9b37284b4e
Small fix to Application.mk
...
We were overriding the APP_LDFLAGS rather than appending to it.
2016-02-02 14:53:28 -08:00
Scott Kyle
bdc20d5263
Fix CI test script for Android
...
This also makes it run successfully on a Mac.
2016-02-02 14:52:24 -08:00
Ari Lazier
2539d1feb4
REALM_HAVE_CONFIG
2016-02-02 08:56:32 -08:00