0.0.3 • Published 10 years ago
react-native-twitter-share v0.0.3
react-native-twitter-share
Android
npm install react-native-twitter-share --save- Open up `android/app/src/main/java/.../MainActivity.java
- Add
import rm.share.RNTwitterSharePackage;to the imports at the top of the file - Add
new RNTwitterSharePackage()to the list returned by thegetPackages()method
- Append the following lines to
android/settings.gradle:include ':react-native-twitter-share' project(':react-native-twitter-share').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-twitter-share/android') Insert the following lines inside the dependencies block in
android/app/build.gradle:``` compile project(':react-native-twitter-share') ```