build: bump react-native-fs version to 2.20.0
This commit is contained in:
parent
b71eea4560
commit
4aff968ef7
@ -8,6 +8,7 @@ import com.facebook.react.ReactPackage;
|
|||||||
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint;
|
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint;
|
||||||
import com.facebook.react.defaults.DefaultReactNativeHost;
|
import com.facebook.react.defaults.DefaultReactNativeHost;
|
||||||
import com.facebook.soloader.SoLoader;
|
import com.facebook.soloader.SoLoader;
|
||||||
|
import com.rnfs.RNFSPackage;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class MainApplication extends Application implements ReactApplication {
|
public class MainApplication extends Application implements ReactApplication {
|
||||||
@ -27,6 +28,7 @@ public class MainApplication extends Application implements ReactApplication {
|
|||||||
// packages.add(new MyReactNativePackage());
|
// packages.add(new MyReactNativePackage());
|
||||||
packages.add(new HcefPackage());
|
packages.add(new HcefPackage());
|
||||||
packages.add(new CardConvPackage());
|
packages.add(new CardConvPackage());
|
||||||
|
packages.add(new RNFSPackage());
|
||||||
return packages;
|
return packages;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,5 +17,8 @@ buildscript {
|
|||||||
dependencies {
|
dependencies {
|
||||||
classpath("com.android.tools.build:gradle:7.3.1")
|
classpath("com.android.tools.build:gradle:7.3.1")
|
||||||
classpath("com.facebook.react:react-native-gradle-plugin")
|
classpath("com.facebook.react:react-native-gradle-plugin")
|
||||||
|
|
||||||
|
// for react-native-fs
|
||||||
|
implementation project(':react-native-fs')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,3 +2,7 @@ rootProject.name = 'eAMEMu'
|
|||||||
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
|
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
|
||||||
include ':app'
|
include ':app'
|
||||||
includeBuild('../node_modules/react-native-gradle-plugin')
|
includeBuild('../node_modules/react-native-gradle-plugin')
|
||||||
|
|
||||||
|
// for react-native-fs
|
||||||
|
include ':react-native-fs'
|
||||||
|
project(':react-native-fs').projectDir = new File(settingsDir, '../node_modules/react-native-fs/android')
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-addons-update": "^15.6.2",
|
"react-addons-update": "^15.6.2",
|
||||||
"react-native": "0.71.2",
|
"react-native": "0.71.2",
|
||||||
"react-native-fs": "^2.16.4",
|
"react-native-fs": "^2.20.0",
|
||||||
"react-native-gesture-handler": "^1.6.1",
|
"react-native-gesture-handler": "^1.6.1",
|
||||||
"react-native-image-crop-picker": "^0.28.0",
|
"react-native-image-crop-picker": "^0.28.0",
|
||||||
"react-native-localize": "^1.4.0",
|
"react-native-localize": "^1.4.0",
|
||||||
|
@ -6543,10 +6543,10 @@ react-native-codegen@^0.71.3:
|
|||||||
jscodeshift "^0.13.1"
|
jscodeshift "^0.13.1"
|
||||||
nullthrows "^1.1.1"
|
nullthrows "^1.1.1"
|
||||||
|
|
||||||
react-native-fs@^2.16.4:
|
react-native-fs@^2.20.0:
|
||||||
version "2.16.6"
|
version "2.20.0"
|
||||||
resolved "https://registry.yarnpkg.com/react-native-fs/-/react-native-fs-2.16.6.tgz#2901789a43210a35a0ef0a098019bbef3af395fd"
|
resolved "https://registry.yarnpkg.com/react-native-fs/-/react-native-fs-2.20.0.tgz#05a9362b473bfc0910772c0acbb73a78dbc810f6"
|
||||||
integrity sha512-ZWOooD1AuFoAGY3HS2GY7Qx2LZo4oIg6AK0wbC68detxwvX75R/q9lRqThXNKP6vIo2VHWa0fYUo/SrLw80E8w==
|
integrity sha512-VkTBzs7fIDUiy/XajOSNk0XazFE9l+QlMAce7lGuebZcag5CnjszB+u4BdqzwaQOdcYb5wsJIsqq4kxInIRpJQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
base-64 "^0.1.0"
|
base-64 "^0.1.0"
|
||||||
utf8 "^3.0.0"
|
utf8 "^3.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user