Revision Date Author Comments
# 51e273e0 14-Sep-2023 Tomasz Sapeta <[email protected]>

[file-system][iOS] Migrate to Expo Modules API (#23943)


# e61ddc0c 11-Aug-2020 Stanisław Chmiela <[email protected]>

[ios] Extract filesystem directories generation to app manager (#9676)

# Why

When TurboModules are enabled we'll need to have access to `documentDirectory` from within instance scope of `EXVersio

[ios] Extract filesystem directories generation to app manager (#9676)

# Why

When TurboModules are enabled we'll need to have access to `documentDirectory` from within instance scope of `EXVersionManager` to be able to create `RCTAsyncLocalStorage` on demand. Right now we're fetching the directory from an instance of `EXFileSystem`. Moving it higher up makes sense not only for this purpose, but also it fits well logically — the manager knows where the app should store files, not the module.

# How

Moved the generation of `documentDirectory` and `cachesDirectory` from `EXScopedFileSystemModule` to `EXReactAppManager`. Added the directories to `NSDictionary *params` passed to `EXVersionManager` (and then to `EXScopedModuleRegistryAdapter`). Moved the initialization logic from scoped module to adapter (whether the module should be created with custom directories or with default directories depends now on whether the directory paths have been provided, which still depends on the same `appOwnership == "expo"` condition.

# Test Plan

Expo Client ran. I've also verified with native debugging that Home gets the scoped directories.

show more ...


# 631604b1 30-May-2019 Tomasz Sapeta <[email protected]>

[ios] Make iOS ExpoKit work without unimodules that need to be scoped (#4336)

# Why

I was unable to build a newly ejected app with ExpoKit for SDK33 without explicitly installing unimodules that

[ios] Make iOS ExpoKit work without unimodules that need to be scoped (#4336)

# Why

I was unable to build a newly ejected app with ExpoKit for SDK33 without explicitly installing unimodules that are being extended and overriden by scoped modules.

# How

Added `#if __has_include` macros to check whether the unimodule is installed before we initialize and register scoped modules.

# Test Plan

Expo Client builds, ExpoKit app without some unimodules work as expected.

show more ...


# c9802eba 29-Apr-2019 Stanisław Chmiela <[email protected]>

[unimodules] Remove experience references (#3993)

# Why

Properly closes https://github.com/expo/expo/pull/3875, fixes https://github.com/expo/expo/issues/3517, fixes https://github.com/expo/expo/

[unimodules] Remove experience references (#3993)

# Why

Properly closes https://github.com/expo/expo/pull/3875, fixes https://github.com/expo/expo/issues/3517, fixes https://github.com/expo/expo/issues/3864.

# How

Removed all `experience` references from universal modules, adding scoped implementations to ExpoKit.

# Test Plan

- [x] NCL works
- [x] bare template works

show more ...


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

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


# 712e5c6c 06-Mar-2019 Szymon20000 <[email protected]>

[expo-file-system] Unscope paths in standalone/ejected scenarios (#3569)