Home
last modified time | relevance | path

Searched refs:readAsStringAsync (Results 1 – 22 of 22) sorted by relevance

/expo/apps/test-suite/tests/
H A DFileSystem.js27 await throws(() => FS.readAsStringAsync(p + '../hello/world'));
89 const b64 = await FS.readAsStringAsync(asset.localUri, options);
98 expect(await FS.readAsStringAsync(localUri, { encoding: FS.EncodingType.Base64 })).toBe(
128 const string = await FS.readAsStringAsync(localUri);
135 await FS.readAsStringAsync(localUri);
152 const string = await FS.readAsStringAsync(localUri);
176 expect(await FS.readAsStringAsync(to)).toBe(contents[i]);
196 expect(await FS.readAsStringAsync(to)).toBe(contents[i]);
231 expect(await FS.readAsStringAsync(path)).toBe(contents);
279 expect(await FS.readAsStringAsync(path)).toBe(contents);
/expo/packages/expo-file-system/build/
H A DFileSystem.d.ts29 export declare function readAsStringAsync(fileUri: string, options?: ReadingOptions): Promise<strin…
347 const readAsStringAsync: typeof import("./FileSystem").readAsStringAsync;
H A DFileSystem.js49 export async function readAsStringAsync(fileUri, options = {}) { function
50 if (!ExponentFileSystem.readAsStringAsync) {
53 return await ExponentFileSystem.readAsStringAsync(fileUri, options);
444 const baseReadAsStringAsync = readAsStringAsync;
602 StorageAccessFramework.readAsStringAsync = baseReadAsStringAsync;
H A Dtypes.d.ts9 readonly readAsStringAsync?: PlatformMethod; property
H A Dtypes.js.map1 …ring | null;\n readonly getInfoAsync?: PlatformMethod;\n readonly readAsStringAsync?: PlatformMe…
H A DFileSystem.js.map1readAsStringAsync(\n fileUri: string,\n options: ReadingOptions = {}\n): Promise<string> {\n if…
/expo/packages/expo-file-system/src/
H A DFileSystem.ts80 export async function readAsStringAsync( function
84 if (!ExponentFileSystem.readAsStringAsync) {
87 return await ExponentFileSystem.readAsStringAsync(fileUri, options);
569 const baseReadAsStringAsync = readAsStringAsync;
743 export const readAsStringAsync = baseReadAsStringAsync; constant
H A Dtypes.ts10 readonly readAsStringAsync?: PlatformMethod; property
/expo/apps/native-component-list/src/screens/
H A DFileSystemScreen.tsx203 const result = await FileSystem.readAsStringAsync(asset.localUri!);
227 const result = await FileSystem.readAsStringAsync(tmpFile);
279 return await StorageAccessFramework.readAsStringAsync(this.state.createdFileURI!);
/expo/packages/jest-expo/src/preset/
H A Dsetup.js112 readAsStringAsync: jest.fn(() => Promise.resolve()), property
/expo/docs/pages/versions/unversioned/sdk/
H A Dfilesystem.mdx229 … an URI, which begins with `content://`, you cannot use `FileSystem.readAsStringAsync()`, but you …
234 | `readAsStringAsync` | `file:///`,<br/>`asset://`,<br/>[SAF URI](#saf-uri) …
/expo/docs/pages/versions/v49.0.0/sdk/
H A Dfilesystem.mdx229 … an URI, which begins with `content://`, you cannot use `FileSystem.readAsStringAsync()`, but you …
234 | `readAsStringAsync` | `file:///`,<br/>`asset://`,<br/>[SAF URI](#saf-uri) …
/expo/docs/pages/versions/v48.0.0/sdk/
H A Dfilesystem.mdx229 … an URI, which begins with `content://`, you cannot use `FileSystem.readAsStringAsync()`, but you …
234 | `readAsStringAsync` | `file:///`,<br/>`asset://`,<br/>[SAF URI](#saf-uri) …
/expo/docs/pages/versions/v47.0.0/sdk/
H A Dfilesystem.mdx242 … an URI, which begins with `content://`, you cannot use `FileSystem.readAsStringAsync()`, but you …
247 | `readAsStringAsync` | `file:///`,<br/>`asset://`,<br/>[SAF URI](#saf-uri) …
/expo/docs/pages/versions/v46.0.0/sdk/
H A Dfilesystem.mdx287 ### `FileSystem.readAsStringAsync(fileUri, options)`
802 ### `StorageAccessFramework.readAsStringAsync(fileUri, options)`
804 Alias to [FileSystem.readAsStringAsync(fileUri, options)](#filesystemreadasstringasyncfileuri-optio…
822 … an URI, which begins with `content://`, you cannot use `FileSystem.readAsStringAsync()`, but you …
827 | `readAsStringAsync` | `file:///`,<br/>`asset://`,<br/>[SAF URI](#saf-uri) …
/expo/packages/expo-file-system/
H A DCHANGELOG.md309 … and `drawable` resources in `FileSystem.getInfoAsync`, `FileSystem.readAsStringAsync`, and `FileS…
/expo/packages/expo-file-system/ios/
H A DEXFileSystem.m205 EX_EXPORT_METHOD_AS(readAsStringAsync, category
/expo/ios/versioned/sdk47/EXFileSystem/EXFileSystem/
H A DABI47_0_0EXFileSystem.m205 ABI47_0_0EX_EXPORT_METHOD_AS(readAsStringAsync, category
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/filesystem/
H A DFileSystemModule.kt287 fun readAsStringAsync(uriStr: String?, options: Map<String?, Any?>, promise: Promise) { in readAsStringAsync() method
/expo/ios/versioned/sdk49/EXFileSystem/EXFileSystem/
H A DABI49_0_0EXFileSystem.m205 ABI49_0_0EX_EXPORT_METHOD_AS(readAsStringAsync, category
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/filesystem/
H A DFileSystemModule.kt287 fun readAsStringAsync(uriStr: String?, options: Map<String?, Any?>, promise: Promise) { in readAsStringAsync() method
/expo/ios/versioned/sdk48/EXFileSystem/EXFileSystem/
H A DABI48_0_0EXFileSystem.m205 ABI48_0_0EX_EXPORT_METHOD_AS(readAsStringAsync, category