Compare commits

...
Author SHA1 Message Date
Mike Grabowski c1aa68b422 [0.34.0] Bump version numbers 2016-09-23 15:11:53 +01:00
David AurelioandKonstantin Raev d3f35c31a3 throwing for unresolved modules: flip logic
Summary:
The current test checks whether the target platform is `'ios'`. When building with windows, errors will also be swallowed silently.

This adds a check whether the target platform is `'android'`, where we have to avoid throwing for FB-internal reasons.

Reviewed By: martinbigio

Differential Revision: D3907025

fbshipit-source-id: 5abeb06b9121265fe1aa3932ad1785f148f04ddf
2016-09-23 12:09:31 +01:00
James Ide cd33c0d521 [0.34.0-rc.1] Bump version numbers 2016-09-23 00:53:06 -07:00
Andrew NicolaouandJames Ide e4e22cca2b Add .mm to RCTNetwork subspec
Summary:
Without this, `Libraries/Network/RCTNetworking.mm` is not matched,
causing a "Native module cannot be null" error when integrating into
an existing Swift iOS project.

I've tested this fix with an iOS Swift project following the
"Integration With Existing Apps" [1] tutorial and the error does
not appear.

[1] https://facebook.github.io/react-native/docs/integration-with-existing-apps.html
Closes https://github.com/facebook/react-native/pull/9904

Differential Revision: D3873011

fbshipit-source-id: d69395190d3865aa1fc87966a37981b53beea115
2016-09-23 00:52:37 -07:00
James Ide bd84b81114 [React] Change React version to ~15.3.1 (no more RC) 2016-09-15 14:44:13 -07:00
Mike Grabowski d5e6737351 [0.34.0-rc.0] Bump version numbers 2016-09-09 15:48:14 +02:00
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = "React"
s.version = package['version']
s.version = "0.34.0"
s.summary = package['description']
s.description = <<-DESC
React Native apps are built using the React JS
@@ -81,7 +81,7 @@ Pod::Spec.new do |s|
s.subspec 'RCTNetwork' do |ss|
ss.dependency 'React/Core'
ss.source_files = "Libraries/Network/*.{h,m}"
ss.source_files = "Libraries/Network/*.{h,m,mm}"
ss.preserve_paths = "Libraries/Network/*.js"
end
+1 -1
View File
@@ -1,4 +1,4 @@
VERSION_NAME=1000.0.0-master
VERSION_NAME=0.34.0
GROUP=com.facebook.react
POM_NAME=ReactNative
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "react-native",
"version": "1000.0.0",
"version": "0.34.0",
"description": "A framework for building native apps using React",
"license": "BSD-3-Clause",
"repository": {
@@ -129,7 +129,7 @@
"react-native": "local-cli/wrong-react-native.js"
},
"peerDependencies": {
"react": "15.3.1-rc.2"
"react": "~15.3.1"
},
"dependencies": {
"absolute-path": "^0.0.0",
@@ -213,7 +213,7 @@
"jest-runtime": "15.1.0",
"mock-fs": "^3.11.0",
"portfinder": "0.4.0",
"react": "15.3.1-rc.2",
"react": "~15.3.1",
"shelljs": "0.6.0"
}
}
}
+1 -1
View File
@@ -105,7 +105,7 @@ class Resolver {
preferNativePlatform: true,
fileWatcher: opts.fileWatcher,
cache: opts.cache,
shouldThrowOnUnresolvedErrors: (_, platform) => platform === 'ios',
shouldThrowOnUnresolvedErrors: (_, platform) => platform !== 'android',
transformCode: opts.transformCode,
extraNodeModules: opts.extraNodeModules,
assetDependencies: ['react-native/Libraries/Image/AssetRegistry'],