Commit Graph

40 Commits

Author SHA1 Message Date
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 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
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
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
Ari Lazier 2539d1feb4 REALM_HAVE_CONFIG 2016-02-02 08:56:32 -08:00
Nabil Hachicha e5ee6d8e9c fixes #209 download core in gradle task 2016-01-30 18:26:27 +00:00
Nabil Hachicha b92a281b5e add missing refactored files 2016-01-28 15:11:33 +00:00
Nabil Hachicha 1e4c905cdc Change package name fixes #204 2016-01-28 15:09:36 +00:00
Nabil Hachicha dd9242e584 cleaning NDK flags 2016-01-28 14:11:27 +00:00
Scott Kyle 4917a8e939 Use dummy libjsc.so while allowing undefined symbols
We no longer need to have the rebuilt JSC binaries because instead we build a dummy libjsc.so and link against it while allow undefined symbols. At runtime, it will link in the real libjsc.so and resolve the symbols.
2016-01-27 21:23:56 -08:00
Scott Kyle 6c3835f6b7 Remove redundant gitignore files 2016-01-27 12:02:20 -08:00
Scott Kyle 42aa043da0 Git ignore JavaScriptCore headers 2016-01-27 12:02:10 -08:00
Nabil Hachicha 1cf62f6c10 downloading JSC header from svn 2016-01-27 14:11:56 +00:00
Scott Kyle a6715d210d Ignore more things when publishing with NPM
Unfortunately some kind of NPM bug is making it ignore a top-level .npmignore file.
2016-01-22 16:43:53 -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
Ari Lazier 1bb05b0fae Merge branch 'al-refactor-broken' of https://github.com/realm/realm-js into al-refactor-broken 2016-01-15 12:35:12 -08:00
Ari Lazier a086955a8c path/name fixes 2016-01-15 12:34:51 -08:00
Nabil HACHICHA ac51a2b2cf rm unused file 2016-01-15 20:20:28 +00: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
Ari Lazier 1ded2e661b log levels 2016-01-13 11:50:19 -08:00
Ari Lazier b45948eb9a only start webserver in chrome debug mode 2016-01-13 11:32:29 -08:00
Nabil Hachicha 55bde66ef8 adding NanoHTTP server for chrome debug 2016-01-13 17:56:38 +00:00
Nabil Hachicha 2d8dddabee revert getConstants to avoid initialising Realm too late 2016-01-12 10:25:53 +00:00
Nabil Hachicha b246f017e9 fix crash in using s_default_realm_directory 2016-01-12 03:01:06 +00:00
Nabil Hachicha a91a50cc49 wip 2016-01-11 23:17:42 +00:00
Nabil Hachicha 6426d48d57 defining default_realm_file_directory using application context 2016-01-11 16:18:15 +00:00
Nabil Hachicha 3067ed8bc1 Merge branch 'al-android-aar' of https://github.com/realm/realm-js into al-android-aar 2016-01-11 11:27:03 +00:00
Nabil Hachicha b68d9a315d fixing conf path 2016-01-11 11:25:35 +00:00
Ari Lazier 4735a91f8c run tests 2016-01-08 16:33:53 -08:00
Ari Lazier 9a15ef4c87 initialize the context when the module is initialized 2016-01-05 20:34:50 -08:00
Ari Lazier e90d2c514b rebase from master 2016-01-05 19:33:56 -08:00
Nabil Hachicha 98cb634a36 using dynamic linker to expose s_globalContextRefToJSCExecutor 2016-01-05 11:08:42 -08:00
Ari Lazier 4270bc2b0f try to initialize JSContexts 2016-01-05 11:08:42 -08:00
Nabil Hachicha 8965aa80f7 fixed example, add Relinker to load JNI lib 2016-01-05 11:08:42 -08:00
Ari Lazier ac32f97f8d check in core 2016-01-05 11:08:42 -08:00
Ari Lazier 3a72bb3ade finish rename 2016-01-05 11:08:42 -08:00
Ari Lazier eea8658627 put our react module in our aar 2016-01-05 11:08:42 -08:00
Ari Lazier 8cb8b0729a move library to separate project 2016-01-05 11:08:42 -08:00