ISSUE: On react-native version 0.72.6 with fabric enabled, action sheet on Android physical device doesn't open reliably and the onPress events are never triggered. The package works with the latest version of RN (currently 0.73.2) but does not work with RN version 0.72.6.
ISSUE: On react-native version 0.72.6 with fabric enabled, action sheet on Android physical device doesn't open reliably and the onPress events are never triggered. The package works with the latest version of RN (currently 0.73.2) but does not work with RN version 0.72.6.
SETUP: npx react-native@0.72.6 init TestProject --version 0.72.6
Enable new architecture (for android, in gradle.properties set newArchEnabled=true)
In package.json, your versions should look like: "react-native": "0.72.6" "@expo/react-native-action-sheet": "^4.0.1",
Sample code for App.tsx: