Revision Date Author Comments
# ea3f1d02 24-Jun-2021 Tomasz Sapeta <[email protected]>

[ios] Merge unimodules core and adapter into expo-modules-core (#13353)

# Why

Part of Expo modules re-architecture

# How

- Copied iOS sources from `@unimodules/core` and `@unimodules/react-

[ios] Merge unimodules core and adapter into expo-modules-core (#13353)

# Why

Part of Expo modules re-architecture

# How

- Copied iOS sources from `@unimodules/core` and `@unimodules/react-native-adapter` to `expo-modules-core`
- In these copied files replaced `UM` prefix with `EX`
- Swift names for classes used by the users (`AppDelegateWrapper`, `ModuleRegistry`, `ModuleRegistryAdapter`, `ModuleRegistryProvider`) won't have any prefix — we would drop these prefixes anyway, in the future when we rewrite them to Swift
- Old `UM*` names are still supported and most of them are marked as deprecated, however I couldn't get it to work for Swift (but seems like no one uses it for app delegates?) and protocols
- `ExpoModulesCore` provides `EXUnimodulesCompat.h` header that expands old `UM_*` macros to `EX_*`
- Previously `ExpoModulesCore` depended upon `UMCore`, now it's the other way around — `UMReactNativeAdapter` and `UMCore` depend on `ExpoModulesCore` to import `EXUnimodulesCompat` header
- Fixed `EXTrackingTransparency` to depend on `ExpoModulesCore` directly
- _There are no changes in the logic or architecture of unimodules/expo modules, I'll do this separately_

# Test Plan

- CI jobs are passing
- Tested locally, apps seem to work as before

show more ...


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

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


# 104fd05e 12-Feb-2019 Stanisław Chmiela <[email protected]>

[ios] Do not register unnecessary listeners in scoped RN adapter


# 22bfec0b 15-Dec-2018 Stanisław Chmiela <[email protected]>

[ios] Move EX_UNVERSIONED calls to separate lines to make versioning run smoother


# 3f670853 23-Oct-2018 Stanisław Chmiela <[email protected]>

Add ABI30_0_0EXScopedReactNativeAdapter to post back-/foreground notifs to modules (#2483)

* Add ABI30_0_0EXScopedReactNativeAdapter to post back-/foreground notifications to modules

* Fix observ

Add ABI30_0_0EXScopedReactNativeAdapter to post back-/foreground notifs to modules (#2483)

* Add ABI30_0_0EXScopedReactNativeAdapter to post back-/foreground notifications to modules

* Fix observer leak in EXScopedReactNativeAdapter

show more ...


# e9ab9323 07-Sep-2018 Stanisław Chmiela <[email protected]>

Notify modules of experience backgrounding/foregrounding (#3106)

fbshipit-source-id: bb2ef5b