Commit Graph

122 Commits

Author SHA1 Message Date
Scott Kyle 5772717dee Update ReactExample to use our new ListView
It's also been updated to follow best practices with how to properly use the ListView data source.
2016-01-21 11:41:38 -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 1bb335c587 Merge pull request #197 from realm/sk-react-native-0.18
Update React Tests to support React Native 0.18
2016-01-19 15:12:51 -08:00
Scott Kyle afade2530c Make ReactExample look decent on Android as well
Mission (mostly) Accomplished!
2016-01-19 15:10:19 -08:00
Scott Kyle 92df9bff8c Update to React Native 0.18.0 official release 2016-01-18 23:01:14 -08:00
Ari Lazier 9edafe09ac example fixes 2016-01-15 12:54:46 -08:00
Ari Lazier 5f2a51727b merge in build system improvements 2016-01-15 12:46:58 -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 c488fecbc2 Update ReactExample to use right JS build
For the simulator it will use the packager, but on device it will use the bundled JS build.
2016-01-15 02:02:43 -08:00
Scott Kyle 804a980d93 Update ReactExample iOS project to latest template
It now will bundle the JS so it can be run on device.
2016-01-15 01:51:59 -08: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
Scott Kyle 2f1eca4a9c Merge branch 'master' into al-android-example
* master:
  Fix typo in README
  Improve clarity of schema parsing and serialization
  Add test that checks schema validation
  Update README with new Schema API
  Cleanup some code and comments to make it consistent
  Convert tests to create objects with property objects
  Update example apps with new schema API
  Remove confusion between propTypes and objectTypes
  Simplify object schema info returned from RPC
  RPC now keeps object keys in the same order
  Change schema API to take properties as an object
  Add method to clear mutation listeners in RPC client
  Plug small leak from not releasing a JSStringRef
  Make RJSStringForValue use consistent exception style
  Improve error messages inside RJSUtil
2016-01-14 15:39:45 -08:00
Ari Lazier 0d515d187a remove unnecessary requires 2016-01-14 09:47:39 -08:00
Nabil Hachicha 9daa3aae30 fix example deps 2016-01-14 16:05:20 +00:00
Ari Lazier a7720216de try to make example work 2016-01-13 21:25:10 -08:00
Scott Kyle c2d15af000 Update ReactExample to use generic Navigator
This means it theoretically should work on Android!
2016-01-13 17:48:54 -08:00
Scott Kyle 741cd4ad19 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-13 14:34:39 -08:00
Ari Lazier f63e6e7b13 android example 2016-01-13 14:29:41 -08:00
Scott Kyle 09752846e5 Update example apps with new schema API 2016-01-05 13:54:03 -08:00
Scott Kyle 3da6b54df6 Add ability to publish NPM module to git
The top-level package.json explicitly includes the directories it needs (vendor/.npmignore cuts down the cruft). The publish-beta.sh script essentially uses `npm pack` to package up the NPM module and then push it into an orphaned `beta` branch.
2015-12-28 22:01:17 -08:00
Ari Lazier 4c402a7daf install from test script 2015-12-15 18:18:18 -08:00
Ari Lazier 2476c061c1 npm install react-native if out of date 2015-12-15 18:02:20 -08:00
Scott Kyle 1f2eabeb1a Update to use React Native 0.16
Outside of the ReactExample test, no backwards incompatible changes were needed.
2015-12-08 16:59:12 -08:00
Scott Kyle 25cfb68779 Remove use of explicit target dependencies
The target dependencies are discovered implicitly, and removing the use of explicitly defined dependencies actually resolved a very odd bug with Xcode when building ReactExample.app for a device.
2015-12-02 17:45:09 -08:00
Scott Kyle 1f64573b4e Update to support React Native 0.15.0
Resolves #173
2015-11-30 18:08:51 -08:00
Ari Lazier 63ffaf7adb fix for reload in example 2015-11-23 19:00:31 -08:00
Ari Lazier bcd667067c upate packager command and use nvm when available 2015-11-23 18:56:03 -08:00
Scott Kyle f3db7a5a56 Update ReactExample to use React Native 0.14.2 2015-11-13 11:14:27 -08:00
Scott Kyle 89820339ba Remove Cordova example 2015-11-12 12:13:49 -08:00
Scott Kyle aa55b61b86 Update React Native to 0.13.2 2015-11-02 13:38:00 -08:00
Scott Kyle c42dceb7a8 ReactExample: Change placeholder text 2015-10-28 11:25:54 -07:00
Scott Kyle 2ee0e2f608 ReactExample: fix bug with pressing Add twice 2015-10-28 11:23:37 -07:00
Scott Kyle af9e7e8b4c Update ReactExample Objective-C to 4-space indentation 2015-10-28 10:53:30 -07:00
Scott Kyle 5edeefbb17 Add beta licenses to example app files 2015-10-28 10:50:31 -07:00
Scott Kyle 922bf1d0f7 Improve look of checkbox and smart list badges 2015-10-28 10:48:17 -07:00
Scott Kyle ab33d47a94 ReactExample: add "smart lists" 2015-10-28 10:48:17 -07:00
Scott Kyle 6fc2110991 Example app can now have multiple todo lists 2015-10-28 10:48:17 -07:00
Scott Kyle e90715140b Make libReact a target dependency of ReactExample
Was experiencing a bug where the packager would startup for ReactTests rather than ReactExample. This fixes that.
2015-10-28 10:48:17 -07:00
Scott Kyle 8c680ffbf6 Add delete buttons for todo items in Example app 2015-10-28 10:48:17 -07:00
Scott Kyle f89c44697a Add checkboxes next to todo items in Example app 2015-10-28 10:48:17 -07:00
Scott Kyle 549c2ceff7 Refactor and re-style example app 2015-10-28 10:48:16 -07:00
Scott Kyle 32ebd7f218 Remove RCTTest linkage from ReactTests and ReactExample
This module has build errors with Release configuration and is not necessary. When in Chrome debugging mode, a warning will be issued about missing the RCTSnapshot module though, which is why we linked against it in the first place.
2015-10-26 14:57:06 -07:00
Scott Kyle 0843d69a4f Expose RealmJS API as C functions
We're still using Objective-C to delete test files, so we can't rename the implementation file quite yet.
2015-10-26 01:14:33 -07:00
Ari Lazier a94e14cb70 update cordova to latest version/fixex 2015-10-21 20:52:18 -07:00
Scott Kyle 13617400d4 Remove libc++.tbd references from ReactExample 2015-10-21 13:57:34 -07:00
Scott Kyle 2f9c6a0727 Update ReactExample to React Native 0.13.0-rc 2015-10-21 13:57:34 -07:00
Scott Kyle 9916fe14a4 Change RealmReact to be a dynamic framework
It embeds RealmJS and GCDWebServers frameworks. This fixes #58, where there were issues with building for devices rather than just the simulator.

Some changes were made so that RealmReact.m didn't need to be weakly linked to libReact.a since that would actually cause any executable that uses this framework from being able to compile with bitcode.
2015-10-14 02:05:02 -07:00
Ari Lazier 0c4d8c06df only install realm module 2015-10-07 17:23:29 -06:00
Ari Lazier 131123ff9a first end to end rpc call 2015-10-06 14:52:49 -06:00
Ari Lazier 476b3623bb partial rpc server implemenation 2015-10-06 13:36:56 -06:00
Scott Kyle bf1ecfbb07 Initial concept of JS for Chrome debugging
The idea is that we will have an NPM module that should always be required to use the Realm JS API. It will handle the underlying implementation details depending on which environment it is being run in (i.e. JavaScriptCore, Chrome, Node).

The focus here was on stubbing out the machinery required to get React Native Chrome debugging working with the Realm API by leveraging synchronous requests. The app itself will need to run a web server that responds to these requests.
2015-10-01 22:56:47 -07:00
Ari Lazier 8ca8a24913 ARRAY -> LIST 2015-09-30 10:51:04 -07:00
Ari Lazier aa78436f53 use capitalized names for enums/constants 2015-09-30 10:41:47 -07:00
Ari Lazier 8f466d47b1 Type -> Types 2015-09-29 15:14:39 -07:00
Ari Lazier a7662af484 RealmType -> Realm.Type 2015-09-29 14:53:33 -07:00
Ari Lazier bea328c235 fake test pass 2015-09-29 13:56:42 -07:00
Ari Lazier 94479df062 add failing test to react example 2015-09-29 13:47:25 -07:00
Ari Lazier eeadfbfaba removing files in the wrong place 2015-09-28 15:38:44 -07:00
Ari Lazier 501e36341e fix for latest version of react 2015-09-16 10:02:15 +02:00
Ari Lazier 10a04da42c bundle RealmJS with the example app 2015-09-04 10:08:13 -07:00
Ari Lazier 3e0a1572f4 update example to react-native version 0.10.1 2015-09-02 20:09:29 -07:00
Ari Lazier 1148ac5417 support react-native version 0.10.0 2015-09-02 20:01:15 -07:00
Ari Lazier f69a9a45e6 clear text field after submission 2015-09-01 16:19:02 -07:00
Ari Lazier 44ab6d33ed support completing items 2015-09-01 16:18:32 -07:00
Ari Lazier fa52cea8c3 function cordova example 2015-09-01 15:47:06 -07:00
Ari Lazier e3a677bba7 example style change 2015-08-28 15:22:56 -07:00
Ari Lazier 36703bebcb fix for last fix to example 2015-08-28 13:37:03 -07:00
Ari Lazier 1cda5ad4b4 fix for example first run 2015-08-28 13:34:53 -07:00
Ari Lazier ccd2301d9e todo example 2015-08-24 09:22:37 -07:00
Ari Lazier bf11885df8 new react example 2015-08-13 10:29:37 -07:00
Ari Lazier 12b942fecd move js work from realm-cocoa-private 2015-08-13 09:12:48 -07:00