Commit Graph

156 Commits

Author SHA1 Message Date
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