react-native-blur
react-native-blur copied to clipboard
not work in 0.59 in ios
not work in 0.59 in ios
The some to me
Is the error message like 'folly/Portability.h' file not found?
For me I'm using @react-native-community/[email protected] and [email protected].
react-native-blur requires deprecated pod React 0.11.0 as its dependency, and I found the solution at https://github.com/facebook/react-native/issues/24192#issuecomment-504328652
Add this to the Podfile works for me:
pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
'CxxBridge',
]
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "React"
target.remove_from_project
end
if target.name == "yoga"
target.remove_from_project
end
end
end