History log of /expo/packages/expo-file-system/build/FileSystem.js (Results 1 – 25 of 28)
Revision Date Author Comments
# 6e021b28 14-Sep-2023 Wojciech Dróżdż <[email protected]>

[core] Add native functions for UUIDv4 generation (#24199)

# Why

For Android and iOS we want to use native UUIDv4 generation methods.

# How

Exposed the common methods using the `CoreModule`

[core] Add native functions for UUIDv4 generation (#24199)

# Why

For Android and iOS we want to use native UUIDv4 generation methods.

# How

Exposed the common methods using the `CoreModule` file.
Changed the way uuids are exported. Now `expo-modules-core` exports a
`uuid` object which contains `v4` function.

# Test Plan

Tested in BareExpo on Android, ios and web

show more ...


# 1902997c 19-Jul-2023 Douglas Lowder <[email protected]>

[expo-manifests] Fix error in handling nested array (#23562)

# Why

Fix crash on iOS if a plugin is passed in as an array, but with only the
name element and not the props element.

Also fix co

[expo-manifests] Fix error in handling nested array (#23562)

# Why

Fix crash on iOS if a plugin is passed in as an array, but with only the
name element and not the props element.

Also fix corresponding code on Android, where an exception is thrown.

Fixes #23549.

# How

Modified `Manifest.swift` and `Manifest.kt` to handle the above case
correctly.

# Test Plan

- Tested with Expo Go and the project provided in the above issue
- New unit tests for both iOS and Android

# Checklist

- [x] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [x] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [x] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).

show more ...


# 8fbec2ec 04-Jul-2023 Alan Hughes <[email protected]>

[core] Add uuid to expo-modules-core (#23249)


# 4fde8ae7 07-Jun-2023 Alan Hughes <[email protected]>

[android][file-system] Migrate to new modules API (#22728)

[android][file-system] Migrate to new modules API (#22728)


# 2de90eda 15-May-2023 Tomasz Sapeta <[email protected]>

Fix all failing SDK checks


# 89c23745 26-Apr-2023 Gabriel Donadel Dall'Agnol <[email protected]>

[file-system] Remove deprecated UploadProgressData totalByteSent field (#22277)

# Why

Closes ENG-7226

Follow up PR updating docs -> #22278

# How

This PR removes the deprecated `totalByte

[file-system] Remove deprecated UploadProgressData totalByteSent field (#22277)

# Why

Closes ENG-7226

Follow up PR updating docs -> #22278

# How

This PR removes the deprecated `totalByteSent` field from
UploadProgressData

# Test Plan

Run NCL

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->

- [ ] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).

show more ...


# 4ee48f97 12-Jan-2023 Gabriel Donadel Dall'Agnol <[email protected]>

[file-system] Fix UploadProgressData field name typo (#20804)

# Why

`UploadProgressData` `totalByteSent` key should be `totalBytesSent` to
be consistent with other FIleSystem properties like
`t

[file-system] Fix UploadProgressData field name typo (#20804)

# Why

`UploadProgressData` `totalByteSent` key should be `totalBytesSent` to
be consistent with other FIleSystem properties like
`totalBytesExpectedToSend`, `totalBytesWritten` and
`totalBytesExpectedToWrite`.


Closes ENG-6559

Follow up PR updating docs -> https://github.com/expo/expo/pull/20810

# How

This updates all native references of `totalByteSent` to
`totalBytesSent` and adds a getter `totalByteSent` property to
`UploadProgressData` events so users get a deprecation warning when
accessing `totalByteSent`

# Test Plan

Added a new `Download & Upload file` button to NCL so we can properly
test this


https://user-images.githubusercontent.com/11707729/212067976-a4bdd509-8937-4f27-9516-cee35ed94dca.mov



# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->

- [ ] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [ ] This diff will work correctly for `expo prebuild` & EAS Build (eg:
updated a module plugin).

show more ...


# ca75dd58 26-Dec-2022 Bartosz Kaszubowski <[email protected]>

[file-system] add missing platform label in code docs (#20606)


# 6b7802ba 22-Nov-2022 Bartosz Kaszubowski <[email protected]>

[file-system][docs] migrate package to autogenerated docs, APISection tweaks (#20103)


# 00d910e2 22-Dec-2021 Luke Brandon Farrell <[email protected]>

[expo-file-system] fixed issues with UploadTask runtime crash and incorrect event (#15615)


# 52eeb172 18-Aug-2021 Łukasz Kosmaty <[email protected]>

[file-system][js] Make network task cancelable (#13318)

# Why

Added ability to cancel network tasks and a progress listener for file upload.

# How

- Created a `NetworkTask` class that is a

[file-system][js] Make network task cancelable (#13318)

# Why

Added ability to cancel network tasks and a progress listener for file upload.

# How

- Created a `NetworkTask` class that is a basic class for download and upload tasks.
- Added an upload progress listener.

# TODO

- [x] iOS - https://github.com/expo/expo/pull/13320
- [x] Android - https://github.com/expo/expo/pull/13319

show more ...


# 8285c032 13-Aug-2021 Tomasz Sapeta <[email protected]>

Rename unimodules imports to expo-modules-core


# 896103ab 13-Aug-2021 andy <[email protected]>

[sdk] upgrade typescript to v4.3.5 (#14015)


# 7f896a5f 25-May-2021 Giau. Tran Minh <[email protected]>

Refactor uuid imports to v7 style (#13037)


# 400de723 06-Mar-2021 Łukasz Kosmaty <[email protected]>

[expo-file-system] Fix compatibility with Android R (#12032)

# Why

Followup of https://github.com/expo/expo/pull/11647.

# How

- Handled SAF files in the `expo-file-system`.
- Added a way

[expo-file-system] Fix compatibility with Android R (#12032)

# Why

Followup of https://github.com/expo/expo/pull/11647.

# How

- Handled SAF files in the `expo-file-system`.
- Added a way to ask for external storage write permissions.

> **Note**: Those changes were needed to ensure a smooth transition to a scoped storage on Android.

# Test Plan

- NCL ✅

show more ...


# 37630a92 29-Apr-2020 Łukasz Kosmaty <[email protected]>

[file system][ios] Add multipart upload (#7403)

* [expo-file-system][ios] Add multipart upload

* [expo-file-system] Apply requested changes


# da65a760 27-Apr-2020 Łukasz Kosmaty <[email protected]>

[file system][ios] Add download and upload in background (#7380)

* [file-system] make downloadAsync work in backgroud

* [file-system] Upload method

* [file-system] Add body to response

* [f

[file system][ios] Add download and upload in background (#7380)

* [file-system] make downloadAsync work in backgroud

* [file-system] Upload method

* [file-system] Add body to response

* [file-system] Refactor

* [file system] Handle resumable downloads

* [file system] Add background/foreground option

* [file system] Make background session default

* [file system] Apply requested changes

* [file system] Fix typo

* [file system] Apply requested changes

* [file system] Add changelog

* [expo-file-system] Apply requested changes

* [expo-file-system] Fix session lifetime

* [expo-file-system] Refactor

* [expo-file-system] Fix headers

* [expo-file-system] Apply requested changes

* [expo-file-system] Fix lifetime of EXFileSystem

* [expo-file-system] Extract resumables manger

* [expo-file-system] Pass body safely

* [expo-file-system] Pod install

* [expo-file-system] Apply requested changes

* [expo-file-system] Apply requested changes

* [expo-file-system] Apply requested changes

* [expo-file-system] Pod install in bare-expo

* [expo-file-system] EXResumableManager -> EXResumablesManager

* [expo-file-system] Fix error codes

show more ...


# 92f6de58 14-Feb-2020 Will Schurman <[email protected]>

[eslint-config-universe] Add import ordering alphabetization (#7038)


# d38805f3 14-Feb-2020 James Ide <[email protected]>

Replace uuid-js with uuid/v4 (#7048)

* fix: remove uuid-js dependency

* fix: remove uuid-js dependency

* chore: remove uuid-js in all packages

* fix: include updated packages

* fix: add

Replace uuid-js with uuid/v4 (#7048)

* fix: remove uuid-js dependency

* fix: remove uuid-js dependency

* chore: remove uuid-js in all packages

* fix: include updated packages

* fix: add missing build files

* [fs] Use uuid/v4 instead of an inlined solution

Co-authored-by: Julian Hundeloh <[email protected]>

show more ...


# 0d6db115 27-Nov-2019 Eric Samelson <[email protected]>

[android][expo-file-system] migrate files from scoped dir and provide helper method to delete legacy dir (#6367)


# 79a5fc63 31-Aug-2019 James Ide <[email protected]>

[lint] Add a "lint" script to all packages and fix lint warnings & errors

This turns on linting for all of the packages, enforced by `expotools check-packages`. I added a "lint" script to each packa

[lint] Add a "lint" script to all packages and fix lint warnings & errors

This turns on linting for all of the packages, enforced by `expotools check-packages`. I added a "lint" script to each package and an `.eslintrc.js` file created by expo-module-scripts. For some packages like jest-expo that are intended to run on Node, I used a small handwritten ESLint config that uses the universe/node config.

Tested with `expotools check-packages` after fixing all the lint warnings and errors.

show more ...


# ae9a5f1a 24-Jul-2019 Tongyu Zhu <[email protected]>

[expo-device] Add expo-device module (#4682)

* Create the highly anticipated Device module


# 1da2f189 18-Jun-2019 Tomasz Sapeta <[email protected]>

[file-system] rebuild expo-file-system files


# e4897761 17-Jun-2019 Tongyu Zhu <[email protected]>

[FileSystem]Add ContentUriFromFile() function to support external file access outside expo app on Android (#4526)

* add contentUri function to filesystem

* [WIP]

* add getContentUriAsync() int

[FileSystem]Add ContentUriFromFile() function to support external file access outside expo app on Android (#4526)

* add contentUri function to filesystem

* [WIP]

* add getContentUriAsync() into FileSystem module and add docs about it

* revert new line

* modify logic and add flags in RN

* add alternative promist rejection

* modify format, add logic and ios platform

show more ...


# 8d441c7e 14-Mar-2019 Stanisław Chmiela <[email protected]>

[packages] Move unimodules foundation to `org.unimodules` scope


12