Skip to content

Remove Expo adapter#3113

Merged
piaskowyk merged 2 commits intosoftware-mansion:mainfrom
Kudo:remove-expo-integration
Apr 1, 2022
Merged

Remove Expo adapter#3113
piaskowyk merged 2 commits intosoftware-mansion:mainfrom
Kudo:remove-expo-integration

Conversation

@Kudo
Copy link
Contributor

@Kudo Kudo commented Mar 29, 2022

Description

with #3005, we don't need the expo adapter to install JSI bindings. by removing the adapter, this pr will also fix #3084 and fix #3021

Changes

remove expo adapter

Test code and steps to reproduce

  1. $ createNPMPackage.sh
  2. create an expo sdk44 project, yarn add file:/path/to/react-native-reanimated-2.5.0.tgz and test launching.
  3. create an react-native 0.67 project, yarn add file:/path/to/react-native-reanimated-2.5.0.tgz and test launching.

Checklist

  • Included code example that can be used to test this change
  • Updated TS types
  • Added TS types tests
  • Added unit / integration tests
  • Updated documentation
  • Ensured that CI passes

@Kudo
Copy link
Contributor Author

Kudo commented Mar 29, 2022

@piaskowyk i've tested the auto install and it works really great. we don't need the expo adapter anymore and also reduce issues coming from the tricky gradle setup. please help to review when you get a chance. thanks!

@piaskowyk
Copy link
Member

Glad to hear it! 😀 Thanks for your changes!

@piaskowyk piaskowyk merged commit 1664f48 into software-mansion:main Apr 1, 2022
@Kudo
Copy link
Contributor Author

Kudo commented Apr 1, 2022

thanks @piaskowyk to land this pr 🚀

@Kudo Kudo deleted the remove-expo-integration branch April 1, 2022 10:21
Kudo added a commit to expo/expo that referenced this pull request Apr 2, 2022
# Why

targeting react-native 0.68 in sdk 45 even though it's rc now.

# How

- [x] upgrade package.json
- [x] migrate bare-expo
- [x] migrate expo-template-bare-minimum
- [x] migrate bare-sandbox

❗️ reanimated build error because our previous integration is broken on AGP 7. solution in [the pr](software-mansion/react-native-reanimated#3113). since the pr is not landed yet, i have a [temporarily workaround to patch reanimated](8e5662b).

# Test Plan

- android bare-expo launch test
- ios bare-expo launch test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task :react-native-reanimated:bundleReleaseLocalLintAar FAILED READ_PHONE_STATE permission added when using with expo (bare workflow)

2 participants