Skip to content

Commit

Permalink
Merge pull request #1119 from flexn-io/fix/gesture_handler_tvos
Browse files Browse the repository at this point in the history
added overrides for rn gesture handler to exclude unsupported features
  • Loading branch information
pavjacko authored Oct 4, 2023
2 parents 49d8499 + e402305 commit 275e1f7
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"overrides": {
"ios/Handlers/RNHoverHandler.m": {
"__IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_13_4\n": "__IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_13_4 && !TARGET_OS_TV\n"
},
"ios/RNGestureHandlerButtonComponentView.mm": {
"_buttonView.userEnabled = newProps.enabled;\n _buttonView.exclusiveTouch = newProps.exclusive;": "_buttonView.userEnabled = newProps.enabled;\n#if !TARGET_OS_TV \n_buttonView.exclusiveTouch = newProps.exclusive; \n#endif"
}
}
}

0 comments on commit 275e1f7

Please sign in to comment.