facebook / flipper

A desktop debugging platform for mobile developers.
https://fbflipper.com/
MIT License
13.32k stars 954 forks source link

Images are not loading with NewRelic Agent when App is using flipper in Debug Mode. #4349

Open ndesai-newrelic opened 1 year ago

ndesai-newrelic commented 1 year ago

🐛 Bug Report

Images are not loading in the iOS app when app is using NewRelic React Native agent with the flipper plugin. the issue is happening due to improper swizzling in flipper.

To Reproduce

Install and start Newrelic React Native Agent . and use Image View.

<Image style={styles.tinyLogo} source={{ uri: 'https://reactnative.dev/img/tiny_logo.png', }} />

Environment

Debug Mode only when flipper is enabled.

ndesai-newrelic commented 1 year ago

We are happy to collaborate on this issue.

marklanham commented 1 year ago

I'm also getting this exact same issue with the iOS simulator however a connected iOS device won't even run, the build just fails with the error Invalid regular expression: Quantifier has nothing to repeat.

It then flags this bit of code in Xcode (main.jsbundle): Screenshot 2023-02-10 at 12 55 16