Closed andredtr closed 4 years ago
@and-dutra Thanks for your patience as we investigated this issue report further.
We've completed updating our docs and the Pushy RN SDK to support the latest versions of React Native, which have removed support for Swift dynamic frameworks.
To fix the error you are facing: 1) Install the latest version of Pushy RN by running:
npm install pushy-react-native@1.0.15 --save
react-native link pushy-react-native
2) Edit ios/Podfile
and remove the use_frameworks!
declaration
3) Run pod install
to update your workspace to use static libraries instead of dynamic frameworks
4) Open the workspace in Xcode by running open *.xcworkspace
5) Try to build and run your project on a real device
6) Continue integration by following the instructions here:
https://pushy.me/docs/additional-platforms/react-native
Please let us know if you face any issues.
I trying to add Pushy to an existing React Native App using version 0.61.5 of RN,
I followed all the steps on the docs https://pushy.me/docs/additional-platforms/react-native but Im getting an error after adding use_frameworks to my Podfile and running Pod install, I got the following error:
[!] The 'Pods-MyApp' target has transitive dependencies that include statically linked binaries: (/Users/adutra/MyApp/app/ios/Pods/AppCenterReactNativeShared/AppCenterReactNativeShared/AppCenterReactNativeShared.framework)
Here is the full Podfile: