Skip to content

Commit 376f43c

Browse files
committed
force fabric on expo example
1 parent 9174c16 commit 376f43c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

apps/expo-example/app.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
const shouldEnablePaper = process.env.PAPER_ENABLED === '1';
2-
31
export default {
42
expo: {
53
name: 'ExpoExample',
@@ -8,7 +6,7 @@ export default {
86
orientation: 'portrait',
97
icon: './assets/icon.png',
108
userInterfaceStyle: 'light',
11-
newArchEnabled: !shouldEnablePaper,
9+
newArchEnabled: 1,
1210
splash: {
1311
image: './assets/splash.png',
1412
resizeMode: 'cover',

packages/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerEventDispatcher.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ class RNGestureHandlerEventDispatcher(private val reactApplicationContext: React
154154
}
155155

156156
private fun <T : Event<T>> sendEventForDirectEvent(event: T) {
157+
// TODO: Remove root usage of this method.
157158
// Delivers the event to JS as a direct event. This method is called only on Paper.
158159
reactApplicationContext.dispatchEvent(event)
159160
}

0 commit comments

Comments
 (0)