Skip to content

Commit 260cfdd

Browse files
authored
Merge pull request #1 from avinokur4/updateDependencies
Update dependencies
2 parents 7ca4e89 + abd1371 commit 260cfdd

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

Example/android/app/src/debug/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
android:allowBackup="true"
1010
android:icon="@mipmap/ic_launcher"
1111
android:label="@string/app_name"
12-
android:theme="@style/AppTheme">
12+
android:theme="@style/AppTheme"
13+
android:usesCleartextTraffic="true">
1314
<activity
1415
android:name=".MainActivity"
1516
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"

Example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ buildscript {
1010
jcenter()
1111
}
1212
dependencies {
13-
classpath 'com.android.tools.build:gradle:3.4.2'
13+
classpath 'com.android.tools.build:gradle:4.2.0'
1414
classpath 'com.google.gms:google-services:4.3.3'
1515
}
1616
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

Example/babel.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
module.exports = {
2-
presets: ['module:metro-react-native-babel-preset'],
3-
};
2+
presets: [['module:metro-react-native-babel-preset', {
3+
unstable_disableES6Transforms: true
4+
}]],
5+
};

Example/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"version": "0.4.6",
44
"private": true,
55
"scripts": {
6-
"start": "node node_modules/react-native/local-cli/cli.js start"
6+
"start": "node node_modules/react-native/local-cli/cli.js start",
7+
"run-ios": "node node_modules/react-native/local-cli/cli.js run-ios",
8+
"run-android": "node node_modules/react-native/local-cli/cli.js run-android"
79
},
810
"dependencies": {
911
"react": "16.9.0",
@@ -18,11 +20,11 @@
1820
"babel-jest": "24.9.0",
1921
"eslint": "6.8.0",
2022
"jest": "24.9.0",
21-
"metro-react-native-babel-preset": "0.56.4",
23+
"metro-react-native-babel-preset": "0.59.0",
2224
"react-test-renderer": "16.9.0",
2325
"mem": ">=4.0.0"
2426
},
2527
"jest": {
2628
"preset": "react-native"
2729
}
28-
}
30+
}

0 commit comments

Comments
 (0)