Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App / Expo plugin - iOS might break with Expo SDK 43 #5788

Closed
barthap opened this issue Oct 13, 2021 · 4 comments · Fixed by #5796
Closed

App / Expo plugin - iOS might break with Expo SDK 43 #5788

barthap opened this issue Oct 13, 2021 · 4 comments · Fixed by #5796
Labels
help: needs-triage Issue needs additional investigation/triaging. type: bug New bug report

Comments

@barthap
Copy link
Contributor

barthap commented Oct 13, 2021

Not sure where to post it, it's not a problem yet, feel free to move/edit this issue.

Because of this commit in expo (scroll to AppDelegate.m),
The @rnfb/app plugin will likely stop working, because of this regex

We need to find a way to make that regex work more flexible - to support both old and new AppDelegate template.

@barthap barthap added help: needs-triage Issue needs additional investigation/triaging. type: bug New bug report labels Oct 13, 2021
@mikehardy
Copy link
Collaborator

Interesting - the link for this regex wasn't coming out to a useful spot for me, so I couldn't put 1+1 together to make the 2 you were intending :-). Could you check?

@barthap
Copy link
Contributor Author

barthap commented Oct 13, 2021

image

This regex expects lines which were removed in SDK 43 template of app delegate.

@barthap
Copy link
Contributor Author

barthap commented Oct 14, 2021

A bunch of updates (if any link posted here fails, just lmk - sometimes I have this issue with github too):

@EvanBacon
Copy link
Contributor

For expo-firebase-core, we'll be utilizing the expo-modules-core AppDelegate proxy system (PR) which is the long term replacement for config plugin regular expressions.
We'll investigate some non-intrusive options for other packages to support the proxy as well but in the meantime, our new default AppDelegate.m template is nearly identical (if not completely identical) to the default React Native AppDelegate.m template (of the matching version), this means that Expo config plugins which were accounting for both will continue working, example react-native-maps.

I'd recommend updating the RNFirebase plugin to account for both (like maps) to avoid needing any versioning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help: needs-triage Issue needs additional investigation/triaging. type: bug New bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants