diff --git a/en/react-native-blob-util.md b/en/react-native-blob-util.md index 9e5a3ec3b742dd1051f9a97bf915216ddaa7afaf..b99fb28793f52a07bb4497e641e1251365306479 100644 --- a/en/react-native-blob-util.md +++ b/en/react-native-blob-util.md @@ -71,14 +71,6 @@ export default function BlobUtilDemo() { await ReactNativeBlobUtil.fs.ls(ReactNativeBlobUtil.fs.dirs.CacheDir); }; - const createFileASCII = async () => { - await ReactNativeBlobUtil.fs.createFile( - result + "/text.txt", - [102, 111, 111], - "ascii" - ); - }; - const unlink = () => { ReactNativeBlobUtil.fs.unlink(result + "/text.txt"); }; @@ -257,16 +249,6 @@ export default function BlobUtilDemo() { BlobUtilTurboModule.ls() - - - BlobUtilTurboModule.createFileASCII() - - - BlobUtilTurboModule.writeFileArray() @@ -434,6 +416,9 @@ Open the `harmony` directory of the HarmonyOS project in DevEco Studio. Currently, two methods are available: +1. Use the HAR file (this method will be deprecated once the IDE supports the relevant functionality and is preferred currently). +2. Directly link to the source code. + Method 1 (recommended): Use the HAR file. > [!TIP] The HAR file is stored in the `harmony` directory in the installation path of the third-party library. diff --git "a/en/react-native-blob-util\357\274\210nocodegen\357\274\211.md" "b/en/react-native-blob-util\357\274\210nocodegen\357\274\211.md" index 43bfd7d52166b4139d11f86ebcee83a0f55b1360..6bc8807a103ebe75244f00ed9c9f168a9dde286f 100644 --- "a/en/react-native-blob-util\357\274\210nocodegen\357\274\211.md" +++ "b/en/react-native-blob-util\357\274\210nocodegen\357\274\211.md" @@ -70,14 +70,6 @@ export default function BlobUtilDemo() { await ReactNativeBlobUtil.fs.ls(ReactNativeBlobUtil.fs.dirs.CacheDir); }; - const createFileASCII = async () => { - await ReactNativeBlobUtil.fs.createFile( - result + "/text.txt", - [102, 111, 111], - "ascii" - ); - }; - const unlink = () => { ReactNativeBlobUtil.fs.unlink(result + "/text.txt"); }; @@ -257,16 +249,6 @@ export default function BlobUtilDemo() { BlobUtilTurboModule.ls() - - - BlobUtilTurboModule.createFileASCII() - - - BlobUtilTurboModule.writeFileArray() diff --git a/en/react-native-reanimated-table.md b/en/react-native-reanimated-table.md index 7a3bb7a14d314378be965e42b57ddb7f29f1effa..132114c11ac10eccae937ccfdecaba0491509f67 100644 --- a/en/react-native-reanimated-table.md +++ b/en/react-native-reanimated-table.md @@ -31,7 +31,7 @@ npm install react-native-reanimated-table@0.0.2 #### yarn ```bash -yarn add react-native-reanimated-table@^0.0.2 +yarn add react-native-reanimated-table@0.0.2 ``` diff --git a/zh-cn/react-native-blob-util.md b/zh-cn/react-native-blob-util.md index e04439e731d8b203739344bb9f3b162f11dd22f1..d2a0b19ba41bbdbb2c511f635ddf002cd6bbc2d5 100644 --- a/zh-cn/react-native-blob-util.md +++ b/zh-cn/react-native-blob-util.md @@ -69,14 +69,6 @@ export default function BlobUtilDemo() { await ReactNativeBlobUtil.fs.ls(ReactNativeBlobUtil.fs.dirs.CacheDir); }; - const createFileASCII = async () => { - await ReactNativeBlobUtil.fs.createFile( - result + "/text.txt", - [102, 111, 111], - "ascii" - ); - }; - const unlink = () => { ReactNativeBlobUtil.fs.unlink(result + "/text.txt"); }; @@ -255,16 +247,6 @@ export default function BlobUtilDemo() { BlobUtilTurboModule.ls() - - - BlobUtilTurboModule.createFileASCII() - - - BlobUtilTurboModule.writeFileArray() diff --git "a/zh-cn/react-native-blob-util\357\274\210nocodegen\357\274\211.md" "b/zh-cn/react-native-blob-util\357\274\210nocodegen\357\274\211.md" index e4baced0ea451aa92f1c3fc88e68af60690a10e3..4c22db974fb7f5e97a3acc017b5c062ff2058d73 100644 --- "a/zh-cn/react-native-blob-util\357\274\210nocodegen\357\274\211.md" +++ "b/zh-cn/react-native-blob-util\357\274\210nocodegen\357\274\211.md" @@ -70,14 +70,6 @@ export default function BlobUtilDemo() { await ReactNativeBlobUtil.fs.ls(ReactNativeBlobUtil.fs.dirs.CacheDir); }; - const createFileASCII = async () => { - await ReactNativeBlobUtil.fs.createFile( - result + "/text.txt", - [102, 111, 111], - "ascii" - ); - }; - const unlink = () => { ReactNativeBlobUtil.fs.unlink(result + "/text.txt"); }; @@ -256,16 +248,6 @@ export default function BlobUtilDemo() { BlobUtilTurboModule.ls() - - - BlobUtilTurboModule.createFileASCII() - - - BlobUtilTurboModule.writeFileArray() diff --git a/zh-cn/react-native-reanimated-table.md b/zh-cn/react-native-reanimated-table.md index 992a70628ab8d065bfdf7406b247381ffaad7ce4..fdad8be87660bb39da8ebcd4cb3e966dfdecafaa 100644 --- a/zh-cn/react-native-reanimated-table.md +++ b/zh-cn/react-native-reanimated-table.md @@ -31,7 +31,7 @@ npm install react-native-reanimated-table@0.0.2 #### yarn ```bash -yarn add react-native-reanimated-table@^0.0.2 +yarn add react-native-reanimated-table@0.0.2 ```