Upgrade to RN 0.42.0 (#356)

This commit is contained in:
Chris Duarte 2017-03-16 12:15:54 -07:00 committed by Harrison Healey
parent 1e63ac2667
commit 0721c9ca4c
5 changed files with 6 additions and 4 deletions

View file

@ -93,7 +93,8 @@ clean:
post-install:
./node_modules/.bin/remotedev-debugger --hostname localhost --port 5678 --injectserver
@# Must remove the .babelrc for 0.42.0 to work correctly
rm -f node_modules/intl/.babelrc
@# Hack to get react-intl and its dependencies to work with react-native
@# Based off of https://github.com/este/este/blob/master/gulp/native-fix.js
sed -i'' -e 's|"./locale-data/index.js": false|"./locale-data/index.js": "./locale-data/index.js"|g' node_modules/react-intl/package.json

View file

@ -144,7 +144,7 @@ android {
dependencies {
compile project(':react-native-push-notification')
compile ('com.google.android.gms:play-services-gcm:9.0.0') {
compile ('com.google.android.gms:play-services-gcm:9.4.0') {
force = true;
}
compile project(':react-native-device-info')

View file

@ -22,7 +22,7 @@ public class MainApplication extends Application implements ReactApplication {
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
@Override
protected boolean getUseDeveloperSupport() {
public boolean getUseDeveloperSupport() {
return BuildConfig.DEBUG;
}

View file

@ -1,3 +1,4 @@
<resources>
<string name="app_name">Mattermost</string>
</resources>

View file

@ -11,7 +11,7 @@
"react": "15.4.1",
"react-addons-pure-render-mixin": "15.4.1",
"react-intl": "2.2.2",
"react-native": "0.40.0",
"react-native": "0.42.0",
"react-native-button": "1.7.1",
"react-native-cookies": "2.0.0",
"react-native-device-info": "0.10.1",