Scott Kyle
0250234a30
Cleanup Android platform.cpp
2016-05-13 15:25:18 -07:00
Ari Lazier
299c82b7d2
pr feedback
2016-05-12 11:42:22 -07:00
Nabil Hachicha
895c6a3056
Copying embedded Realm files using AssetManager from JNI
2016-05-11 19:56:59 +01:00
Scott Kyle
8ff23b5411
Fix build issues on Android
...
GCC was more strict with how we handled some types.
2016-04-18 18:30:55 -07:00
Scott Kyle
7feadb27b2
Fix ARM hook into JSGlobalContextCreateInGroup
...
We were loading into the program counter, which is not good in THUMB mode, so we now instead load into R3, since it's a temp register not used by this function (it only takes two arguments). Also, when building this module in THUMB mode itself, we needed to clear the ARM instruction cache, which wasn't needed when switching from THUMB to ARM mode.
2016-03-15 13:57:09 -07:00
Ari Lazier
641eb37b2c
fixes for android
2016-03-03 14:56:18 -08:00
Tim Anglade
7cc2f69736
Merge pull request #264 from realm/km-js-fixlicense
...
License update
2016-02-21 18:56:59 -08:00
Nabil Hachicha
9bcebfaf29
PR feedback
2016-02-19 22:50:30 +00:00
Nabil Hachicha
76981229ab
start debug server only on when using chrome debug
2016-02-19 19:05:07 +00:00
Karson Miller
5e9333b699
no message
2016-02-18 15:30:44 -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
5f02dc9f6d
Add copyright to JNI file
2016-02-08 15:56:08 -08:00
Nabil Hachicha
49a74e5646
Refactor & formatting code
2016-02-04 18:30:26 +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
Ari Lazier
fe4abff106
delete files in the correct place
2016-01-21 12:37:03 -08:00
Nabil HACHICHA
bd379dd376
fixing crash on reload JS
2016-01-20 15:46:27 +00:00
Ari Lazier
c6e46b9856
remove unneded dependencies
2016-01-15 11:49:22 -08: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
Ari Lazier
a9ef54d65d
chrome debugging
2016-01-13 11:18:10 -08:00
Ari Lazier
570607fa86
instantiate and make calls to rpc server
2016-01-13 11:07:54 -08:00
Nabil Hachicha
55bde66ef8
adding NanoHTTP server for chrome debug
2016-01-13 17:56:38 +00:00
Nabil Hachicha
8c80b42748
Merge branch 'al-android-aar' of https://github.com/realm/realm-js into al-android-aar
2016-01-12 10:27:16 +00:00
Nabil Hachicha
2d8dddabee
revert getConstants to avoid initialising Realm too late
2016-01-12 10:25:53 +00:00
Ari Lazier
469121429a
implementation for remove files
2016-01-11 19:27:00 -08:00
Nabil Hachicha
b246f017e9
fix crash in using s_default_realm_directory
2016-01-12 03:01:06 +00:00
Ari Lazier
b562338b0e
code cleanup, build script
2016-01-11 09:42:26 -08:00
Nabil Hachicha
6426d48d57
defining default_realm_file_directory using application context
2016-01-11 16:18:15 +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
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
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
Nabil Hachicha
28d1f92a7e
add Demo project based on the built realmreact lib
2016-01-05 11:07:21 -08:00
Ari Lazier
1fa0098158
empty implementations for platform methods
2016-01-05 11:07:21 -08:00