flipper icon indicating copy to clipboard operation
flipper copied to clipboard

Question: [iOS] Should flipper work on XCode release build of React-Native app?

Open JCown opened this issue 2 years ago • 1 comments

Hello,

I'm running flipper 0.164.0 on React Native App (React Native 0.68.2). Everything is working correctly, but I've built a Release version of the iOS app (from XCode) and started it on the simulator. Flipper connects to that app without any problems - is it intended? I mean shouldn't flipper be "excluded" from the Release build?

According to docs, it looks like for RN 0.67 and lower there was an IF DEBUG for imports https://fbflipper.com/docs/getting-started/react-native-ios/#react-native-067

while currently, the documentation says to simply import it like in AppDelegate file: https://fbflipper.com/docs/getting-started/react-native-ios/#react-native-068

(same for ios/Podfile - for older RN versions there was a configuration dedicated to Debug version of the app) https://fbflipper.com/docs/getting-started/react-native-ios/#react-native-062

Thanks!

JCown avatar Oct 06 '22 08:10 JCown

@JCown how have you configured flipper in Podfile?

fcaldarelli avatar Jan 20 '23 01:01 fcaldarelli