Manual linking
Make sure to have react-natie-share installed.
#
iOS#
Project linkingOpen your project
.xcodeproj
on 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 Libraries
and add:libFeedbackReporter.a
.
#
Using 'Pods'Enter into iOS Folder
cd ios/
(on your project's root folder).Add this line to your
Podfile
just 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.gradle
add to dependencies:
- Then, in
android/app/src/main/java/your/package/MainApplication.java
: