I using react-native version 0.72.5 and @react-native-firebase/app 18.
when I config in Podfile, I add use_frameworks! :linkage => :static
and comment
# :hermes_enabled => flags[:hermes_enabled],
# :fabric_enabled => flags[:fabric_enabled],
# :flipper_configuration => flipper_config,
I cannot use react-native-debugger and can only use flipper but networking is unavailable. How to debug it?
2
Answers
Looks like the
flipper_configuration => flipper_config
does some changes related to theNetwork Plugin Setup
.You will need to add it manually, as follows:
To your
podfile
, add this:Then, initialize the plugin, by adding into your
AppDelegate.m
:If it uses Objective-C:
If it uses Swift:
This should work for IOS.
You can read more about it and how to do it on Android on this page on the docs.
My podfile config, hope this help you