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

Notice: iOS Flipper Known Compatibility Issues #27

Closed
jakobo opened this issue Oct 1, 2022 · 2 comments
Closed

Notice: iOS Flipper Known Compatibility Issues #27

jakobo opened this issue Oct 1, 2022 · 2 comments
Labels
SDK 46 Affects plugin in Expo SDK 46 upstream expo Upstream issue with expo (check linked issues) upstream flipper Upstream issue with fbflipper (check linked issues)

Comments

@jakobo
Copy link
Owner

jakobo commented Oct 1, 2022

As of RN 0.69.2+ and Flipper 0.158.0, there are several issues with other config plugins that are incompatible with Flipper on iOS. This thread documents the known plugin / pod combinations with issues. Where possible, we try to link out to other threads to provide a complete picture of the problem.

expo-firebase-analytics

Relevant Threads: #26

reason Firebase requires use_frameworks and is not compatible with Flipper at this time 1, 2, 3

resolution If you do not believe you need use_frameworks, you may set the ECF plugin's ios.stripUseFrameworks = true which will ensure there are no use_frameworks lines in your podfile. However, other libraries may not build if you do this. Instead, we recommend turning off Flipper on iOS by setting ios.enabled = false as this will still let you use Flipper for Android.

@jakobo jakobo added upstream flipper Upstream issue with fbflipper (check linked issues) SDK 46 Affects plugin in Expo SDK 46 upstream expo Upstream issue with expo (check linked issues) labels Oct 1, 2022
@jakobo jakobo pinned this issue Oct 1, 2022
@jakobo jakobo changed the title Notice: Compatibility Issues Notice: iOS Flipper Known Compatibility Issues Oct 3, 2022
@jakobo jakobo closed this as completed Oct 3, 2022
@Nsquik
Copy link

Nsquik commented Nov 23, 2022

any updates on this? do you know when it will work with firebase?

@jakobo
Copy link
Owner Author

jakobo commented Nov 23, 2022

Hi @Nsquik. Unfortunately the use_frameworks + flipper is a known incompatibility that can't be worked around. The short explanation is that use_frameworks links common libraries such as Folly in a way which Flipper can no longer use. There are pretty complex workarounds with minimal success linked in the original post. (see: invertase/react-native-firebase#6332)

If you absolutely need Flipper and Firebase, I suggest Mike's solution:

It's going to be a while until it's all easy out of the box while this happens, until then v14 of this module is always available...

I'm sorry I don't have a better answer. :\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SDK 46 Affects plugin in Expo SDK 46 upstream expo Upstream issue with expo (check linked issues) upstream flipper Upstream issue with fbflipper (check linked issues)
Projects
None yet
Development

No branches or pull requests

3 participants
@jakobo @Nsquik and others