Mike Armstrong
619da521f3
Enable javascript systrace markers via js module
...
Differential Revision: D2658662
fb-gh-sync-id: 042377551f9dacc0a9d12728edfa54a57c617cf4
2015-11-16 09:46:34 -08:00
Peter Lai
de4cb7d403
Fix crash when double launching activity
...
Reviewed By: AaaChiuuu
Differential Revision: D2633573
fb-gh-sync-id: c47bec903d54c12f4d9e576ad1aaf16d4bd68f30
2015-11-09 14:56:27 -08:00
Felix Oghină
9647c5a257
show script eval errors in redbox
...
Differential Revision: D2624801
fb-gh-sync-id: 48741a8caf029415753a4c616a07f18d3660e6fb
2015-11-06 11:43:30 -08:00
Aaron Chiu
63c4d07187
fix comment per Github comment
...
Reviewed By: andreicoman11
Differential Revision: D2606888
fb-gh-sync-id: f9e1381b912533de06326d5a90062f0d54741553
2015-11-02 12:38:26 -08:00
Alexander Blom
839756b6d4
Make extractor generic
...
Differential Revision: D2605494
fb-gh-sync-id: 37e298598c07221f75250a309b283fae319298af
2015-11-02 11:24:26 -08:00
Aaron Chiu
3ee3041d68
Hook up onActivityResult into react native and fb4a
...
Differential Revision: D2602975
fb-gh-sync-id: 3b81f059ee4dca2b63ce07304a552e9deaa28909
2015-10-30 16:49:27 -07:00
Aaron Chiu
c69c862b9e
revert D2602236
...
fb-gh-sync-id: 251cc97cea632db68d742d51f9ecd6de335b7a23
2015-10-30 15:25:29 -07:00
Aaron Chiu
0522db4dac
Hook up onActivityResult into react native and fb4a
...
Differential Revision: D2602236
fb-gh-sync-id: 1e623110ae915316ba179e17eff86a8dd2b25034
2015-10-30 14:36:25 -07:00
Martin Konicek
5518279610
Add gradle wrapper
...
Reviewed By: astreet
Differential Revision: D2590921
fb-gh-sync-id: cf870c96f772c06e1a8b69014ebd906978ea8c00
2015-10-29 10:09:29 -07:00
David Aurelio
b86a6e3b44
Add support for async bridged methods to android
...
Differential Revision: D2595414
fb-gh-sync-id: 3b44ce1737bdd1e0861a285a45976631a57ab3b5
2015-10-29 04:20:30 -07:00
Aaron Chiu
28b66be7b0
add ability to save/access Activity instanceState from/to JS
...
Differential Revision: D2591821
fb-gh-sync-id: c9c28b653611e65ab5b6e6cc8d34771bf8589055
2015-10-28 12:41:36 -07:00
Matthew Arbesfeld
3a743ef228
Allow developers to load JavaScript bundle from any source.
...
Summary: This patch adds two pieces of functionality:
- Exposes `JSBundleLoader` to allow a developer to load JavaScript bundles as they choose.
- Adds `ReactBridge.loadScripFromFile` method which loads a JavaScript bundle from an arbitrary file path.
Example usage:
```
JSBundleLoader jsBundleLoader = new JSBundleLoader() {
Override
public void loadScript(ReactBridge reactBridge) {
reactBridge.loadScriptFromFile("/sdcard/Download/index.android.bundle");
}
};
mReactInstanceManager = ReactInstanceManager.builder()
.setApplication(getApplication())
.setJSBundleLoader(jsBundleLoader)
.setJSMainModuleName("") /* necessary due to TODO(6803830) */
.addPackage(new MainReactPackage())
.setInitialLifecycleState(LifecycleState.RESUMED)
.build();
```
cc ide
Closes https://github.com/facebook/react-native/pull/3189
Reviewed By: svcscm
Differential Revision: D2535819
Pulled By: mkonicek
fb-gh-sync-id: f319299dbe29bab3b7e91f94249c14b270d9fec3
2015-10-28 11:51:29 -07:00
David Aurelio
0e2f3672c5
Move type inference to registration of bridged methods
...
Differential Revision: D2581548
fb-gh-sync-id: 4cf9e0bbb494047c927cef8602101a9d000eb076
2015-10-27 02:52:29 -07:00
Krzysztof Magiera
a5c693dd53
Fix typo in ReadableMapKeySetIterator.
...
Reviewed By: mkonicek
Differential Revision: D2564934
fb-gh-sync-id: 2ef1a0f5c1550d912dc751100c307659a5159fa3
2015-10-21 09:05:12 -07:00
Hermes Pique
9960878ba4
Revert D2564759
...
Differential Revision: D2564818
fb-gh-sync-id: 75e44551fc2c7e22be8096f12c06aa88b72a4508
2015-10-21 05:31:25 -07:00
Krzysztof Magiera
e1b2c84a81
Fix typo in ReadableMapKeySetIterator.
...
Differential Revision: D2564759
fb-gh-sync-id: 6a57fb71d4da1d467661a3ae786f637172b21e73
2015-10-21 04:14:12 -07:00
Aaron Chiu
b4d4cf4444
bump up react bridge time out from 15s to 30s
...
Differential Revision: D2562848
fb-gh-sync-id: 62255e01d4ff599c03af5eebd87d8d40aeb7e6fe
2015-10-21 03:03:55 -07:00
Andy Street
1b55e4657c
Load JS bundle after CatalystInstance has been attached to the ReactContext
...
Reviewed By: andreicoman11
Differential Revision: D2550062
fb-gh-sync-id: 05790e8c092c7dd28669ffd48f7d7d2dffd6546e
2015-10-20 06:24:25 -07:00
Mike Armstrong
3d40d622f9
Prevent ReactMarker class from being stripped in release
...
Differential Revision: D2547100
fb-gh-sync-id: c6a5d2f70bfdf5fa6fdd7f17f063de7ad837ece3
2015-10-16 03:41:16 -07:00
Mike Armstrong
4ec5161685
timer markings from JS JNI
...
Differential Revision: D2545138
fb-gh-sync-id: f93670ad929dbe37d641968e506108c6aac0cac2
2015-10-15 09:22:26 -07:00
Krzysztof Magiera
10a9b94b9c
Skip unnecessary string allocs from frquently executed code paths.
...
Differential Revision: D2540814
fb-gh-sync-id: 045d012b52a6bc89d409bcc028532da1760c5775
2015-10-14 09:23:25 -07:00
Felix Oghină
3a0a1a4122
expose JS source location to JS
...
Differential Revision: D2526103
fb-gh-sync-id: d597b52dd9442fc27b0841b7df447e9d8d7de6e1
2015-10-09 04:24:23 -07:00
Mike Armstrong
fb90ba6ded
Use new hybrid inheritance for NativeArray and descendants
...
Differential Revision: D2516708
fb-gh-sync-id: 75bc2d7095ffe2c397d5ffb34b621b322b858c3e
2015-10-07 01:02:24 -07:00
Mike Armstrong
5d682d65f6
set JS profiling global to true, fix to parsing of strings with ascii value >=128
...
Reviewed By: @mkonicek
Differential Revision: D2512320
fb-gh-sync-id: 098727cd664f0f0cdb0092875a9934a5d7b577f2
2015-10-06 10:29:11 -07:00
Mike Armstrong
4a5fed3c42
Markers for JSC and Bridge Initialization
...
Differential Revision: D2507869
2015-10-05 08:07:23 -07:00
Mehdi Mulani
1d8d3d779a
Backout ReactNative sync as some tests broke
2015-10-02 06:55:23 -07:00
Felix Oghină
3dcc234efd
do not destroy instance when handling exception
...
Differential Revision: D2502513
2015-10-02 03:45:24 -07:00
Krzysztof Magiera
5623c831b3
Introducing view property annotation.
...
Differential Revision: D2475680
committer: Service User <svcscm@fb.com >
2015-09-24 08:20:17 -07:00
Krzysztof Magiera
6c3fb77f30
Static type check for int params + migrate colorInt to just int.
...
Differential Revision: D2475618
committer: Service User <svcscm@fb.com >
2015-09-24 08:20:14 -07:00
Martin Konicek
71628638f6
Export latest Android changes
2015-09-22 11:15:50 +01:00
Martin Konicek
27ab039b6a
Export latest Android changes
2015-09-17 14:33:28 +01:00
Martin Konicek
42eb5464fd
Release React Native for Android
...
This is an early release and there are several things that are known
not to work if you're porting your iOS app to Android.
See the Known Issues guide on the website.
We will work with the community to reach platform parity with iOS.
2015-09-14 18:13:39 +01:00