Upgrade to RN 0.42.0 (#356)
This commit is contained in:
parent
1e63ac2667
commit
0721c9ca4c
5 changed files with 6 additions and 4 deletions
3
Makefile
3
Makefile
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<resources>
|
||||
|
||||
<string name="app_name">Mattermost</string>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue