1
0
mirror of synced 2024-11-23 23:01:00 +01:00

build: bump react-native-fs version to 2.20.0

This commit is contained in:
Juchan Roh 2023-02-04 20:41:46 +09:00
parent b71eea4560
commit 4aff968ef7
5 changed files with 14 additions and 5 deletions

View File

@ -8,6 +8,7 @@ import com.facebook.react.ReactPackage;
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint;
import com.facebook.react.defaults.DefaultReactNativeHost;
import com.facebook.soloader.SoLoader;
import com.rnfs.RNFSPackage;
import java.util.List;
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 HcefPackage());
packages.add(new CardConvPackage());
packages.add(new RNFSPackage());
return packages;
}

View File

@ -17,5 +17,8 @@ buildscript {
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
classpath("com.facebook.react:react-native-gradle-plugin")
// for react-native-fs
implementation project(':react-native-fs')
}
}

View File

@ -2,3 +2,7 @@ rootProject.name = 'eAMEMu'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
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')

View File

@ -15,7 +15,7 @@
"react": "18.2.0",
"react-addons-update": "^15.6.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-image-crop-picker": "^0.28.0",
"react-native-localize": "^1.4.0",

View File

@ -6543,10 +6543,10 @@ react-native-codegen@^0.71.3:
jscodeshift "^0.13.1"
nullthrows "^1.1.1"
react-native-fs@^2.16.4:
version "2.16.6"
resolved "https://registry.yarnpkg.com/react-native-fs/-/react-native-fs-2.16.6.tgz#2901789a43210a35a0ef0a098019bbef3af395fd"
integrity sha512-ZWOooD1AuFoAGY3HS2GY7Qx2LZo4oIg6AK0wbC68detxwvX75R/q9lRqThXNKP6vIo2VHWa0fYUo/SrLw80E8w==
react-native-fs@^2.20.0:
version "2.20.0"
resolved "https://registry.yarnpkg.com/react-native-fs/-/react-native-fs-2.20.0.tgz#05a9362b473bfc0910772c0acbb73a78dbc810f6"
integrity sha512-VkTBzs7fIDUiy/XajOSNk0XazFE9l+QlMAce7lGuebZcag5CnjszB+u4BdqzwaQOdcYb5wsJIsqq4kxInIRpJQ==
dependencies:
base-64 "^0.1.0"
utf8 "^3.0.0"