You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error is that when you cancel the permissions of Location.requestForegroundPermissionsAsync() before the bottom sheet is displayed for the first time, it is not displayed. The problem is that once it fails it is never reset again no matter how many times you re-enter the screen.
As shown in the video, it took me a few tries on my Android Samung Galaxy A10.
@martinj-jaime Because the UI thread is stopped when the permission modal is displayed. You should wait until the gorhom's modal is shown and request permission.
Bug
Video: https://github.com/gorhom/react-native-bottom-sheet/assets/35360048/cf5f59c7-a4ae-4ddc-8987-d350d1bb3c4f
mobizen_20240408_124415.mp4
The error is that when you cancel the permissions of Location.requestForegroundPermissionsAsync() before the bottom sheet is displayed for the first time, it is not displayed. The problem is that once it fails it is never reset again no matter how many times you re-enter the screen.
As shown in the video, it took me a few tries on my Android Samung Galaxy A10.
Environment info
"expo-location": "~16.1.0",
"expo-status-bar": "~1.6.0",
"@gorhom/bottom-sheet": "^4.6.1",
"react-native-screens": "~3.22.0",
"react-native-reanimated": "~3.3.0",
"@react-navigation/native": "^6.1.14",
"react-native-gesture-handler": "~2.12.0",
"@react-navigation/native-stack": "^6.9.22",
"react-native-safe-area-context": "4.6.3"
Tested on Android Samsung A10
Steps To Reproduce
Reproducible sample code
https://snack.expo.dev/@martinjaime/bottom-sheet-v4-reproducible-issue-template
The text was updated successfully, but these errors were encountered: