diff --git a/README.md b/README.md index 52bd855..8c24632 100644 --- a/README.md +++ b/README.md @@ -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` - diff --git a/re-natal.coffee b/re-natal.coffee index 810f6bb..20c3108 100644 --- a/re-natal.coffee +++ b/re-natal.coffee @@ -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}"]]