bump RN version to 0.25.0

This commit is contained in:
Hao-kang Den 2016-05-05 00:15:08 +08:00
parent de16fba277
commit 5cf02cc758
No known key found for this signature in database
GPG Key ID: 7D9FCBCB36817335
2 changed files with 3 additions and 4 deletions

View File

@ -24,7 +24,7 @@ For more ClojureScript React Native resources visit [cljsrn.org](http://cljsrn.o
Contributions are welcome.
## State
- Uses React Native v0.24
- Uses React Native v0.25
- Same codebase for iOS and Android
- Figwheel used for REPL and live coding.
- Works in iOS (real device and simulator).
@ -349,4 +349,3 @@ tools.
- [Java 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
- [Xcode](https://developer.apple.com/xcode) (+ Command Line Tools) `>=6.3` (optional for Android)
- [OS X](http://www.apple.com/osx) `>=10.10`

View File

@ -29,7 +29,7 @@ devHostRx = /\$DEV_HOST\$/g
ipAddressRx = /^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$/i
figwheelUrlRx = /ws:\/\/[0-9a-zA-Z\.]*:/g
serverRx = /http:\/\/[^:]+/g
rnVersion = '0.24.1'
rnVersion = '0.25.0'
rnPackagerPort = 8081
process.title = 're-natal'
interfaceConf =
@ -475,7 +475,7 @@ updateFigwheelUrls = (devEnvRoot, androidHost, iosHost) ->
updateIosAppDelegate = (projName, iosHost) ->
appDelegatePath = "ios/#{projName}/AppDelegate.m"
edit appDelegatePath, [[serverRx, "http://#{iosHost}"]]
updateIosRCTWebSocketExecutor = (iosHost) ->
RCTWebSocketExecutorPath = "node_modules/react-native/Libraries/WebSocket/RCTWebSocketExecutor.m"
edit RCTWebSocketExecutorPath, [[serverRx, "http://#{iosHost}"]]