History log of /expo/tools/src/versioning/ios/transforms/expoModulesTransforms.ts (Results 1 – 17 of 17)
Revision Date Author Comments
# 01430c5e 30-Jun-2023 Tomasz Sapeta <[email protected]>

[tools] Allow for package-specific transforms in versioning script (#23227)


# 453643fe 22-Jun-2023 Kudo Chien <[email protected]>

[ios][core][tools] fix expo go versioning issues on ios (#23012)

# Why

fix expo-go ios versioning for sdk 49
close ENG-8955

# How

- a lot of mess transform rules update mainly for react-na

[ios][core][tools] fix expo go versioning issues on ios (#23012)

# Why

fix expo-go ios versioning for sdk 49
close ENG-8955

# How

- a lot of mess transform rules update mainly for react-native 0.72 and reanimated v3
- [core] rename `ExpoRuntime -> EXRuntime` in objc for versioning
- [updates] force casting for the `UpdatesConfig` (i'll leave comment for this)
- [react-native-lab] add correct dependencies to make versioned code build passed

# Test Plan

`et add-sdk -p ios -s 49.0.0` + ios versioned expo-go + sdk49 ncl

show more ...


# 6185d13d 26-Jan-2023 Kudo Chien <[email protected]>

[tools] fix ios versioning (#20953)

# Why

fix ios versioning after react-native 0.71 upgrade

# How

- [barcode-scanner] forward declaration for `ZXingObjC` to fix swift module build error fr

[tools] fix ios versioning (#20953)

# Why

fix ios versioning after react-native 0.71 upgrade

# How

- [barcode-scanner] forward declaration for `ZXingObjC` to fix swift module build error from umbrella header in versioned code
- [tools] update transforms mainly for `React-jsc` dedicated pod and some upstream cocoapods changes

# Test Plan

- expo go versioning ci passed
- `et add-sdk -p ios -s 48.0.0` & versioned ios expo go + sdk 48 ncl smoke test

show more ...


# c01d02da 06-Sep-2022 Tomasz Sapeta <[email protected]>

[tools] Fix versioning packages with common C++ code (#18988)


# 6297d8c7 30-Aug-2022 Wojciech Kozyra <[email protected]>

[gl] merge `expo-gl-cpp` into `expo-gl` (#18875)


# 9caeeb0d 24-Aug-2022 Wojciech Kozyra <[email protected]>

[gl][ios] enable expo-gl-cpp versioning on iOS (#18783)

* rename files and types to work with a versioning process

* enable expo-gl versioning

* pod install

* [skip ci] update android trans

[gl][ios] enable expo-gl-cpp versioning on iOS (#18783)

* rename files and types to work with a versioning process

* enable expo-gl versioning

* pod install

* [skip ci] update android transform patch

* bare expo pod install

show more ...


# 9318cb9f 18-Jul-2022 Tomasz Sapeta <[email protected]>

[tools][ios] Remove version prefix from the view manager name (#18277)


# 06b29f12 15-Jul-2022 Tomasz Sapeta <[email protected]>

[tools] Various fixes in iOS versioning script (#18246)


# 0e34784d 12-Jul-2022 Tomasz Sapeta <[email protected]>

[tools] Fix versioning on iOS (#18205)


# a272999e 11-Apr-2022 Bartosz Kaszubowski <[email protected]>

[tools] add and hook up lint setup, remove `module-scripts` (#16974)


# 2239438e 29-Mar-2022 Tomasz Sapeta <[email protected]>

[tools] Fix versioning on iOS (#16814)


# 370fa39d 28-Feb-2022 Kudo Chien <[email protected]>

[android][ios] Fix versioning for expo go after react-native 0.67.2 upgrade (#16401)

# Why

for sdk45 and based on #16400

# How

- [tools] Fix versioning tools for react-native 0.67.2 upgrade

[android][ios] Fix versioning for expo go after react-native 0.67.2 upgrade (#16401)

# Why

for sdk45 and based on #16400

# How

- [tools] Fix versioning tools for react-native 0.67.2 upgrade
- [expo-modules-core][ios] Fix missing `EX` prefix to some objective-c files for versioning support
- [autolinking] Apply our cocoapods fix for `React-Core` swift support to versioned code
- [expo-updates] fix an incompatible `ReactInstanceManager` in UpdatesPackage where UpdateController is unversioned but UpdatePackage is versioned.
- [expo-file-system] okhttp/okio code for new versioned code build successfully. this is done in #16446

# Test Plan

- `et add-sdk -p android -s 45.0.0` and build/launch sdk 45 expo go with sdk 45 ncl
- `et add-sdk -p ios -s 45.0.0` and build/launch sdk 45 expo go with sdk 45 ncl

show more ...


# af767aa5 06-Dec-2021 Tomasz Sapeta <[email protected]>

[ios] Fix versioning EXNativeModulesProxy as .mm file


# 0f5f192f 01-Dec-2021 Kudo Chien <[email protected]>

[core] Introduce iOS ReactDelegate for React related instances creation (#15138)

# Why

original modularized AppDelegateWrapper isn't ideal for expo-updates. we had some bad side effect, e.g. doub

[core] Introduce iOS ReactDelegate for React related instances creation (#15138)

# Why

original modularized AppDelegateWrapper isn't ideal for expo-updates. we had some bad side effect, e.g. double bridge creation on startup.

close ENG-2299

# How

## For module authors

introduce `EXReactDelegate` dedicated for react related instances creation. so far we covered:

- RCTBridge
- RCTRootView
- RootViewController (for expo-screen-orientation)

if a module wants to handle these creation, there's 2 steps:

1. add `reactDelegateHandlers` in `expo-module.config.json`, e.g.

```
"ios": {
"reactDelegateHandlers": ["ScreenOrientationReactDelegateHandler"]
}
```

2. create `EXReactDelegateHandler` derived swift class, e.g.

```swift
// ScreenOrientationReactDelegateHandler.swift
public class ScreenOrientationReactDelegateHandler: ExpoReactDelegateHandler {
public override func createRootViewController(reactDelegate: ExpoReactDelegate) -> UIViewController? {
return EXScreenOrientationViewController()
}
}
```

since the order of whom to create the instance did matter, we also introduce `ModulePriorities.swift` similar to what we did on android.

## For app developers

the change to template is minimal, so codemod by `npx install-expo-modules` is also feasible.

```diff
- RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
- RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"main" initialProperties:nil];
+ RCTBridge *bridge = [self.reactDelegate createBridgeWithDelegate:self launchOptions:launchOptions];
+ RCTRootView *rootView = [self.reactDelegate createRootViewWithBridge:bridge moduleName:@"main" initialProperties:nil];

self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
- UIViewController *rootViewController = [UIViewController new];
+ UIViewController *rootViewController = [self.reactDelegate createRootViewController];
```

show more ...


# cdae24b7 15-Nov-2021 Tomasz Sapeta <[email protected]>

[tools] Fix versioning C++ code on iOS (#15027)


# 2407f908 30-Sep-2021 Tomasz Sapeta <[email protected]>

[tools] Fix versioning the ObjC name of the Swift modules provider (#14567)


# 941f41af 04-Aug-2021 Tomasz Sapeta <[email protected]>

[tools] Rewrite versioning expo modules (#13881)