I trying to upgrade to react native 0.70, but I'm getting some issues with some libraries,
so I need to modify some source codes.
for example:
In this file node_modules/react-native-webengage/react-native-webengage.podspec
changing
s.source_files = 'ios/*.{h,m}'
s.dependency 'WebEngage'
s.dependency 'React-Core'
end
to
s.source_files = 'ios/*.{h,m}'
s.dependency 'WebEngage/XCFramework'
s.dependency 'React-Core'
end
what is the best approach to do it without replacing the files?
Patch package works perfectly with React Native https://github.com/ds300/patch-package
yarn patch-package react-native-webengage
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With