Commit 3e43871 1 parent 9158d24 commit 3e43871 Copy full SHA for 3e43871
File tree 4 files changed +7
-0
lines changed
src/main/java/com/rnstarterkit
4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ android {
138
138
}
139
139
140
140
dependencies {
141
+ implementation project(' :react-native-gesture-handler' )
141
142
implementation project(' :react-native-reanimated' )
142
143
implementation fileTree(dir : " libs" , include : [" *.jar" ])
143
144
implementation " com.android.support:appcompat-v7:${ rootProject.ext.supportLibVersion} "
Original file line number Diff line number Diff line change 3
3
import android .app .Application ;
4
4
5
5
import com .facebook .react .ReactApplication ;
6
+ import com .swmansion .gesturehandler .react .RNGestureHandlerPackage ;
6
7
import com .swmansion .reanimated .ReanimatedPackage ;
7
8
import com .facebook .react .ReactNativeHost ;
8
9
import com .facebook .react .ReactPackage ;
@@ -24,6 +25,7 @@ public boolean getUseDeveloperSupport() {
24
25
protected List <ReactPackage > getPackages () {
25
26
return Arrays .<ReactPackage >asList (
26
27
new MainReactPackage (),
28
+ new RNGestureHandlerPackage (),
27
29
new ReanimatedPackage ()
28
30
);
29
31
}
Original file line number Diff line number Diff line change 1
1
rootProject. name = ' RNStarterKit'
2
+ include ' :react-native-gesture-handler'
3
+ project(' :react-native-gesture-handler' ). projectDir = new File (rootProject. projectDir, ' ../node_modules/react-native-gesture-handler/android' )
2
4
include ' :react-native-reanimated'
3
5
project(' :react-native-reanimated' ). projectDir = new File (rootProject. projectDir, ' ../node_modules/react-native-reanimated/android' )
4
6
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ target 'RNStarterKit' do
27
27
pod 'Folly' , :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
28
28
########
29
29
30
+ pod 'RNGestureHandler' , :path => '../node_modules/react-native-gesture-handler'
31
+
30
32
end
31
33
32
34
# Multiple commands produce error when building with new Xcode build system
You can’t perform that action at this time.
0 commit comments