Commit Graph

97 Commits

Author SHA1 Message Date
Scott Kyle 7d21e56471 Git ignore Android test XML output
Other rules were redundant
2016-03-16 13:33:59 -07:00
Scott Kyle 401b501aab Explicitly opt-in to building Android module
Fixes #277
2016-03-16 13:01:38 -07:00
Scott Kyle 27073a9e66 Properly configure ESLint for syntax checking
Added a test case to run on CI as well.
2016-03-16 13:01:38 -07:00
Ari Lazier aa08d25ed0 Merge pull request #305 from realm/al-object-store
Latest object store changes and core
2016-03-10 16:03:12 -08:00
Scott Kyle cb4002e25c Update ReactTests to React Native 0.21 2016-03-04 13:31:14 -08:00
Ari Lazier 87ee697f53 react native test app fixes 2016-03-03 15:34:56 -08:00
Ari Lazier 386740a459 copy correct test file 2016-03-03 15:09:23 -08:00
Scott Kyle a5ec799a7c Copy whole lib module into JS test bundle
This meant we needed to rename tests/lib to tests/js so they folder names would not conflict.
2016-02-29 03:24:58 -08:00
Tim Anglade 7cc2f69736 Merge pull request #264 from realm/km-js-fixlicense
License update
2016-02-21 18:56:59 -08:00
Scott Kyle 52a1fa9196 Automatically forward port 8082 for Android
Fixes #249
2016-02-21 16:57:05 -08:00
Scott Kyle 1ab3a8a985 No longer delete before npm installing local modules
This doesn't appear to have been necessary and seems to sometimes cause an issue because the packager will start and look for a JS file that was just deleted.
2016-02-19 02:03:54 -08:00
Karson Miller 84b06fd8e0 missed a couple 2016-02-18 15:30:44 -08:00
Karson Miller 5e9333b699 no message 2016-02-18 15:30:44 -08:00
Scott Kyle 05d84b23a2 Change sortedBy API as discussed
If provided an array, then each member can optionally be an array of [propName, reverse]
2016-02-18 12:47:18 -08:00
Scott Kyle 1b043eb957 Update everything to use React Native 0.20.0 2016-02-17 14:36:58 -08:00
Scott Kyle 137e4d6288 Increase React test timeout interval for CI 2016-02-15 19:23:59 -08:00
Scott Kyle 5f9f00e038 Make ListViewDataSource test go quicker 2016-02-15 16:56:39 -08:00
Scott Kyle 0188517e74 Add test for ListViewDataSource to React Test App 2016-02-15 14:56:44 -08:00
Scott Kyle 1f030a0618 Make several improvements to how tests run under RN
These changes include timeouts when waiting on notifications.
2016-02-15 14:50:16 -08:00
Scott Kyle 23a7c5b88d Don't build JS bundles for the simulator 2016-02-15 14:50:16 -08:00
Scott Kyle 3e1889d342 Merge branch 'master' into sk-listview-merge
* master: (207 commits)
  Convert to using new React Native MainActivity template
  Create RealmReactPackage for our Android plugin
  Fix doc for Android
  NPM ignore react-native/android folder
  Skip building Android module under Xcode
  Skip building Android module for iOS tests
  gitignore Android downloads folder
  Update README with instructions to run on Android
  Use un-patched RN for Android by installing hook into JSC
  cleanup build system
  Use Realm in node_modules for ReactTests on Android
  Change Demo => ReactTests
  adding a 'publishAndroid' task to generate the AAR with prebuilt .so files
  Adjust POM_NAME
  Use consistent package naming
  Remove old Demo files
  Add copyright to JNI file
  Cleanup platform.hpp
  Make our Android module buildable as a dependency
  Add `npm test` command
  ...
2016-02-15 14:49:31 -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 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
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
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 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
Nabil Hachicha 97345e62a9 unlocking device after the app is installed 2016-02-03 19:00:21 +00:00
Scott Kyle 55e67d9bce Update ReactTests Xcode project 2016-01-29 00:48:22 -08:00
Nabil Hachicha 1e4c905cdc Change package name fixes #204 2016-01-28 15:09:36 +00:00
Scott Kyle f957db3a3a Update run-android.sh scripts 2016-01-26 15:16:49 -08:00
Nabil Hachicha 2eb8238101 fixing adb path 2016-01-26 21:01:00 +00:00
Nabil Hachicha fca40ec16f add reverse adb port for physical device 2016-01-26 20:25:00 +00:00
Nabil Hachicha 18cdeaedd5 update test script 2016-01-26 20:23:26 +00:00
Ari Lazier 01c3d80651 merge master 2016-01-22 15:27:17 -08:00
Nabil Hachicha d784d624dd add sdk manager to download build tool for Android 2016-01-22 22:41:07 +00:00
Ari Lazier 2c0a92aa63 ci script 2016-01-22 12:15:38 -08:00
Nabil Hachicha 707ca1d3c3 Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example 2016-01-22 18:06:18 +00:00
Nabil Hachicha d60ed6c15a exporting tests to junit format to be used by jenkins 2016-01-22 18:05:34 +00:00
Ari Lazier b76766eb63 change package/app name from Demo to ReactNative Test App 2016-01-21 14:36:50 -08:00
Ari Lazier a0145df5e4 Merge pull request #202 from realm/sk-example-update
Update ReactExample Xcode Project
2016-01-21 07:28:59 -08:00
Nabil Hachicha bf80fca2c0 Running chrome debug mode request on UI thread + using Facebook SoLoader instead of the Relinker + cleaning dependencies 2016-01-21 13:36:54 +00:00
Scott Kyle 92df9bff8c Update to React Native 0.18.0 official release 2016-01-18 23:01:14 -08:00
Scott Kyle 79229cbce3 Delete old JS file 2016-01-15 16:39:32 -08:00
Ari Lazier a086955a8c path/name fixes 2016-01-15 12:34:51 -08:00
Ari Lazier c6e46b9856 remove unneded dependencies 2016-01-15 11:49:22 -08:00
Nabil Hachicha 62017c1739 fix example deps
remove unnecessary requires

reduce dependencies for test projects

using the patched Facebook React Native repo as a dependency

remvoe unecessary/duplicate folder

remove unused dir

remove unused gradle tasks + unecessary duplicate deps

more gradle conf/dependencies cleanup
2016-01-15 16:32:48 +00:00
Scott Kyle e4866c5560 Update ReactExample Xcode project
Added libReact as a target dependency since that seemed to workaround a very weird build issue that would come and go.
2016-01-15 01:33:34 -08:00