update react-native to v0.66.1
This commit is contained in:
parent
b7cfa66fe9
commit
977eedf26e
|
@ -29,6 +29,7 @@ release/
|
|||
.gradle
|
||||
local.properties
|
||||
*.iml
|
||||
*.hprof
|
||||
|
||||
# node.js
|
||||
#
|
||||
|
|
|
@ -122,6 +122,11 @@ def jscFlavor = 'org.webkit:android-jsc:+'
|
|||
*/
|
||||
def enableHermes = project.ext.react.get("enableHermes", false);
|
||||
|
||||
/**
|
||||
* Architectures to build native code for in debug.
|
||||
*/
|
||||
def nativeArchitectures = project.getProperties().get("reactNativeDebugArchitectures")
|
||||
|
||||
android {
|
||||
ndkVersion rootProject.ext.ndkVersion
|
||||
|
||||
|
@ -166,6 +171,11 @@ android {
|
|||
buildTypes {
|
||||
debug {
|
||||
signingConfig signingConfigs.debug
|
||||
if (nativeArchitectures) {
|
||||
ndk {
|
||||
abiFilters nativeArchitectures.split(',')
|
||||
}
|
||||
}
|
||||
}
|
||||
release {
|
||||
signingConfig signingConfigs.release
|
||||
|
@ -223,7 +233,7 @@ dependencies {
|
|||
// Run this once to be able to run the application with BUCK
|
||||
// puts all compile dependencies into folder libs for BUCK to use
|
||||
task copyDownloadableDepsToLibs(type: Copy) {
|
||||
from configurations.compile
|
||||
from configurations.implementation
|
||||
into 'libs'
|
||||
}
|
||||
|
||||
|
|
|
@ -2,20 +2,20 @@
|
|||
|
||||
buildscript {
|
||||
ext {
|
||||
buildToolsVersion = "29.0.3"
|
||||
buildToolsVersion = "30.0.2"
|
||||
minSdkVersion = 21
|
||||
compileSdkVersion = 29
|
||||
targetSdkVersion = 29
|
||||
ndkVersion = "20.1.5948944"
|
||||
compileSdkVersion = 30
|
||||
targetSdkVersion = 30
|
||||
ndkVersion = "21.4.7075529"
|
||||
}
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath("com.android.tools.build:gradle:4.1.0")
|
||||
classpath("com.google.gms:google-services:4.3.4")
|
||||
classpath ("com.google.firebase:firebase-crashlytics-gradle:2.5.1")
|
||||
classpath("com.android.tools.build:gradle:4.2.2")
|
||||
classpath("com.google.gms:google-services:4.3.10")
|
||||
classpath ("com.google.firebase:firebase-crashlytics-gradle:2.8.0")
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
|
@ -23,6 +23,7 @@ buildscript {
|
|||
|
||||
allprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
mavenLocal()
|
||||
maven {
|
||||
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
||||
|
|
|
@ -25,4 +25,4 @@ android.useAndroidX=true
|
|||
android.enableJetifier=true
|
||||
|
||||
# Version of flipper SDK to use with React Native
|
||||
FLIPPER_VERSION=0.75.1
|
||||
FLIPPER_VERSION=0.99.0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
||||
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
||||
|
||||
platform :ios, '10.0'
|
||||
platform :ios, '11.0'
|
||||
|
||||
target 'ZdamEgzaminZawodowy' do
|
||||
config = use_native_modules!
|
||||
|
@ -25,5 +25,6 @@ target 'ZdamEgzaminZawodowy' do
|
|||
|
||||
post_install do |installer|
|
||||
react_native_post_install(installer)
|
||||
__apply_Xcode_12_5_M1_post_install_workaround(installer)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
23
package.json
23
package.json
|
@ -1,9 +1,10 @@
|
|||
{
|
||||
"name": "ZdamEgzaminZawodowy",
|
||||
"version": "0.0.1",
|
||||
"name": "zdam-egzamin-zawodowy",
|
||||
"version": "2.0.5",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"android": "react-native run-android",
|
||||
"android:release": "react-native run-android --variant=release",
|
||||
"ios": "react-native run-ios",
|
||||
"start": "react-native start",
|
||||
"test": "jest",
|
||||
|
@ -16,9 +17,9 @@
|
|||
"@apollo/client": "^3.3.13",
|
||||
"@react-native-async-storage/async-storage": "^1.15.1",
|
||||
"@react-native-community/masked-view": "^0.1.10",
|
||||
"@react-native-firebase/analytics": "^12.0.0",
|
||||
"@react-native-firebase/app": "^12.0.0",
|
||||
"@react-native-firebase/crashlytics": "^12.0.0",
|
||||
"@react-native-firebase/analytics": "^13.0.0",
|
||||
"@react-native-firebase/app": "^13.0.0",
|
||||
"@react-native-firebase/crashlytics": "^13.0.0",
|
||||
"@react-native-picker/picker": "^1.14.0",
|
||||
"@react-navigation/native": "^5.9.4",
|
||||
"@react-navigation/stack": "^5.14.4",
|
||||
|
@ -27,8 +28,8 @@
|
|||
"lodash": "^4.17.21",
|
||||
"native-base": "^2.15.2",
|
||||
"polish-plurals": "^1.1.0",
|
||||
"react": "17.0.1",
|
||||
"react-native": "0.64.2",
|
||||
"react": "17.0.2",
|
||||
"react-native": "0.66.1",
|
||||
"react-native-bootsplash": "^3.2.0",
|
||||
"react-native-gesture-handler": "^1.10.3",
|
||||
"react-native-reanimated": "^2.1.0",
|
||||
|
@ -48,15 +49,15 @@
|
|||
"@types/color": "^3.0.1",
|
||||
"@types/jest": "^26.0.20",
|
||||
"@types/lodash": "^4.14.168",
|
||||
"@types/react-native": "^0.64.0",
|
||||
"@types/react-test-renderer": "^16.9.2",
|
||||
"@types/react-native": "^0.66.1",
|
||||
"@types/react-test-renderer": "^17.0.1",
|
||||
"babel-jest": "^26.6.3",
|
||||
"babel-plugin-module-resolver": "^4.1.0",
|
||||
"eslint": "^7.14.0",
|
||||
"jest": "^26.6.3",
|
||||
"metro-react-native-babel-preset": "^0.64.0",
|
||||
"metro-react-native-babel-preset": "^0.66.2",
|
||||
"prettier": "^2.2.1",
|
||||
"react-test-renderer": "17.0.1",
|
||||
"react-test-renderer": "17.0.2",
|
||||
"typescript": "^3.8.3"
|
||||
},
|
||||
"resolutions": {
|
||||
|
|
Reference in New Issue