Manual linking
Make sure to have react-natie-share installed.
iOS#
Project linking#
Open your project
.xcodeprojon xcode.Right click on the Libraries folder and select
Add files to "yourProjectName".Add
FeedbackReporter.xcodeproj(located atnode_modules/react-native-feedback-reporter/ios) to your project Libraries.Go to
Build Phases -> Link Binary with Librariesand add:libFeedbackReporter.a.
Using 'Pods'#
Enter into iOS Folder
cd ios/(on your project's root folder).Add this line to your
Podfilejust below the last pod (if you don't have one, you can create it by runningpod init):
- Run
pod install
Android#
- Add project to
android/settings.gradle:
- In
android/app/build.gradleadd to dependencies:
- Then, in
android/app/src/main/java/your/package/MainApplication.java: