Qiao Liang
423202072c
fix android movie example by adding missing permission
...
Summary:
```log
12-10 04:15:40.321 1482-1482/com.facebook.react.movies E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.facebook.react.movies, PID: 1482
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 (has extras) } in com.facebook.react.modules.netinfo.ConnectivityModule$ConnectivityBroadcastReceiver@529210a0
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:778)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at
Closes https://github.com/facebook/react-native/pull/4694
Reviewed By: svcscm
Differential Revision: D2743536
Pulled By: androidtrunkagent
fb-gh-sync-id: 7d93ca701c3d6b17add370ab13a68b150910e6a6
2015-12-09 22:40:28 -08:00
Gabe Levi
99bba8ca4e
Use .flow files to tell Flow about react-native module
...
Reviewed By: jeffmo
Differential Revision: D2735788
fb-gh-sync-id: 7a15caa5effb89b902bba7e0031822f534813c52
2015-12-08 14:51:31 -08:00
Nick Lockwood
7b13ce30f2
Fix flow
...
Reviewed By: gabelevi
Differential Revision: D2734936
fb-gh-sync-id: 0c085c4968e52907a60bbd1d8af30dac6f449e46
2015-12-08 12:03:34 -08:00
Chris Kwan
7a98aeae18
Add git clone step to READMEs
2015-11-16 22:55:45 -05:00
Tadeu Zagallo
ccd90e25c1
Convert remaining uses of alloc] init] to new]
...
Summary: public
We moved to using `new` instead of `alloc] init` but there was still some calls
left.
Reviewed By: javache
Differential Revision: D2604679
fb-gh-sync-id: ff7300ecbedb55dd5e93873592598810c9b87808
2015-11-02 08:03:17 -08:00
Aaron Chiu
f8b8fa40fd
fix calls to ReactInstanceManager.onResume()
...
Differential Revision: D2604172
fb-gh-sync-id: 8993b221c55ebe9f1882d203b1729dfce45795ef
2015-10-31 06:26:27 -07:00
Bill Glover
8fb9cc8fc1
Fix 16 linter warnings in Examples/
...
Summary: Partially fixes #3316 by addressing 16 linter warnings:
- Strings should be singlequote
- Missing semicolon
Travis build jobs 1.1 through 1.4 complete successfully. 1.5 fails through what appears to be an unrelated issue on master.
Closes https://github.com/facebook/react-native/pull/3332
Reviewed By: @svcscm
Differential Revision: D2531718
Pulled By: @javache
fb-gh-sync-id: ca22fbeac5fe3b4f725775a72f21b6dd7a75d94b
2015-10-16 04:03:23 -07:00
Martin Konicek
855f7be4b8
Make Android examples depend on source again
...
Summary: @public
The idea was to depend on a fixed version from Maven to make running the examples easy, however that only works if we depend on both fixed version of JS and the Android artifacts.
The current way leads to version mismatches and causes confusion: https://github.com/facebook/react-native/issues/3329
This commit makes the Android examples consistent with iOS (always build the latest JS and native code from master).
Added docs here: 8abfb5e0e2
Reviewed By: @foghina
Differential Revision: D2531525
fb-gh-sync-id: 7c0844b63ddeb94ad008a3f0e7a43e1af69031c4
2015-10-14 07:48:25 -07:00
Li Qichao
5198ed438a
Fix the wrong offline bundle link in Movie example
...
Summary: When I am trying to figure out if there are several js files, there is only one bundle file. I am trying to use the command line in the comment which is
<code>curl 'http://localhost:8081/Examples/Movies/MoviesApp.includeRequire.runModule.bundle ' -o main.jsbundle</code>
But after react native has upgraded to 0.12, this command line didn't work. You need to use:
<code>curl 'http://localhost:8081/Examples/Movies/MoviesApp.ios.bundle?platform=ios&dev=true ' -o main.jsbundle</code>
And then it will work
Closes https://github.com/facebook/react-native/pull/3361
Reviewed By: @svcscm
Differential Revision: D2531487
Pulled By: @javache
fb-gh-sync-id: 5fd96d427b1097de4e264cb047a13d5a382c6d0f
2015-10-12 08:59:22 -07:00
Martin Konicek
8abfb5e0e2
Add docs for examples
2015-10-12 16:16:39 +01:00
Martin Konicek
27ab039b6a
Export latest Android changes
2015-09-17 14:33:28 +01:00
facebook-github-bot-6
0d09f22dbf
Get back 100% in sync with fb codebase
2015-09-16 10:30:53 -07:00
Mark Miyashita
2892e5f4cf
[iOS] Add missing platform to the sample Movies iOS app
2015-09-15 01:14:48 -07: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
Nick Lockwood
56d25bbbdd
Moved CameraRoll-related classes into CameraRoll folder instead of Image
...
Summary:
The CameraRoll-related APIs were mixed in with the Image classes due to legacy coupling issues. Now that the APIs have been decoupled, it makes more sense for the CameraRoll classes to live in a separate library.
This will be a breaking change for apps using the CameraRoll or related APIs. Fix is to add the RCTCameraRoll lib to your project.
2015-09-08 09:48:19 -08:00
Gabe Levi
874f39bf7f
[Flow] Clean up react-native for Flow v0.15.0
2015-09-04 16:51:18 -08:00
Pieter De Baets
44fec06891
Fix example apps to use new packager paths
2015-09-04 02:40:41 -08:00
Andrei Coman
06c1b4dffd
[ReactNative][SyncDiff] Add Movies app
2015-08-28 03:03:53 -08:00
Martin Konicek
bb708769d4
[ReactNative] Fix sample apps
2015-08-24 11:48:10 -08:00
Martin Konicek
d10e4dbf0f
[ReactNative] Use ASCII double quotes
...
Summary:
We mix ASCII double quotes with left and right quotes: https://github.com/facebook/react-native/blob/master/Libraries/CustomComponents/ListView/ListView.js#L13
Let's be consistent.
2015-07-24 13:16:25 -08:00
Christopher
3fa3963465
[MovieApp] Add key to image components inside of MovieCell.
...
Summary:
Closes https://github.com/facebook/react-native/pull/2065
Github Author: Christopher <hello@blick-labs.com >
2015-07-23 15:09:42 -08:00
James Ide
7a8398b956
[Flow] Update flowconfig's version req to 0.13.1, fix Movies example typechecking
...
Summary:
This should fix tests.
Closes https://github.com/facebook/react-native/pull/1819
Github Author: James Ide <ide@jameside.com >
Test Plan: Run Travis CI tests. Also run the movies app and verify that there are no invariant violations.
2015-07-01 13:01:52 -08:00
Gabe Levi
972b546fc6
[Flow] Fix or suppress errors in react-native for Flow v0.13.0
2015-06-22 09:48:15 -08:00
Nick Lockwood
650fc9de4c
Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues
...
Summary:
@public
I've increased the warning levels in the OSS frameworks, which caught a bunch of minor issues. I also fixed some new errors in Xcode 7 relating to designated initializers and TLS security.
Test Plan:
* Test the sample apps and make sure they still work.
* Run tests.
2015-06-15 07:52:50 -08:00
Gabe Levi
66c7511f73
[Flow] Fix or suppress last minute errors for 0.12.0
2015-06-11 17:43:06 -08:00
Gabe Levi
b05e99a531
[Flow] Fix or suppress react-native github errors for Flow v0.12.0
2015-06-10 13:34:19 -08:00
Nick Lockwood
45d8fb0ef6
Removed deprecated RCT_EXPORT + code paths
2015-06-05 09:58:25 -08:00
Nick Lockwood
a2db4a4a5b
Removed redundant JSON encode/decode from RCTDataManager
...
Summary:
@public
For some reason we were manually JSON-encoding the RCTDataManager responses, and then decoding them again on the JS side. Since all data sent over the bridge is JSON-encoded anyway, this is pretty pointless.
Test Plan:
* Test Movies app in OSS, which uses RCTDataManager
* Test any code that uses RKHTTPQueryGenericExecutor to make network requests (e.g. Groups)
* Test the Groups photo upload feature, which uses RKHTTPQueryWithImageUploadExecutor
2015-06-01 08:35:56 -08:00
Changgeng Li
84783dbac4
Add renderSeparator support to ListView
2015-05-26 15:20:29 -08:00
Tadeu Zagallo
9c8e085677
[ReactNative] Fix Movies and SampleApp missing reference to RCTWebSocket
2015-05-14 14:15:23 -08:00
Harrison Harnisch
babdc21614
WebSocket polyfill
...
Summary:
- Added as a library in /Libraries/WebSocket
- Drag and drop to add to project (similar to adding Geolocation polyfill)
- Exposed as `window.WebSocket` which conforms with https://developer.mozilla.org/en-US/docs/Web/API/WebSocket specs
Closes https://github.com/facebook/react-native/pull/890
Github Author: Harrison Harnisch <hharnisc@gmail.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-05-14 09:37:02 -08:00
Brent Vatne
7141948a05
Bump fetch and add exports/globals for Headers, Request and Response
...
Summary:
Now on fetch 0.8.1, the latest tagged release. Previous version used was 0.7.0. See #1162 cc @vjeux @jtremback
Closes https://github.com/facebook/react-native/pull/1192
Github Author: Brent Vatne <brent.vatne@madriska.com >
Test Plan: I arc patched and ran movies demo and storyline, they work fine
2015-05-07 13:24:16 -08:00
Nick Lockwood
bbd5259586
Fixed reachability
2015-04-20 08:33:56 -08:00
laiso
e35521300a
(Xcode) Set indent=2 in all xcodeproj files.
...
Summary:
These are default settings now.
I saw my Xcode be configured indent=4.

Closes https://github.com/facebook/react-native/pull/472
Github Author: laiso <laiso@lai.so >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-01 17:14:45 -08:00
Amjad Masad
c94f7c3656
[React Native] Sync from github
2015-03-27 22:09:11 -08:00
Tadeu Zagallo
0fdf8b4a95
[ReactNative] Use one key and add comment on the movies app
2015-03-27 15:33:26 -08:00
Tadeu Zagallo
20291a02df
[ReactNative] s/ReactKit/React/g
2015-03-26 02:42:24 -08:00
Tadeu Zagallo
8679c0bc96
[ReactNative] Add deep linking api
2015-03-25 19:01:08 -08:00
Nick Lockwood
f124c32143
[WIP] Added support for italics and additional font weights
2015-03-25 16:09:08 -08:00
Tadeu Zagallo
57ee9e7dc0
[ReactNative] Use oss TimerMixin
2015-03-24 10:46:05 -08:00
Christopher Chedeau
1aeb02ada3
[ReactNative] Expanded license on obj-c files
2015-03-23 13:18:29 -08:00
Christopher Chedeau
e1ef0328d9
[ReactNative] Expanded license on js files
2015-03-23 13:17:54 -08:00
Christopher Chedeau
87f42ab450
[ReactNative] Remove react-native/package.json
2015-03-22 20:17:01 -08:00
Basil Hosmer
10b6c57731
declare timeoutID
2015-03-20 17:51:06 -08:00
Alex Kotliarskyi
3fd4ed1464
[ReactNative] Put all iOS-related files in a subfolder
2015-03-19 14:37:44 -08:00
Tadeu Zagallo
196bc85629
[ReactNative] Remove ExpandingText
2015-03-18 13:08:23 -08:00
Ben Alpert
d2f31f9cd8
[React Native] Add .done() to terminate promise chains
2015-03-12 16:36:55 -08:00
Nick Lockwood
fb2f063ef5
Ported TabBarIOS to OSS and unified implementation
2015-03-05 17:16:19 -08:00
Tadeu Zagallo
6072521a52
[ReactNative] Replace js long constants with strings
2015-03-04 14:32:54 -08:00
Christopher Chedeau
46f41c3d4b
[ReactNative] Use strings instead of constants for keyboardDismissMode
2015-03-03 11:26:22 -08:00