software-mansion / react-native-gesture-handler

Declarative API exposing platform native touch and gesture system to React Native.
https://docs.swmansion.com/react-native-gesture-handler/
MIT License
6.13k stars 982 forks source link

Disable examples on unsupported platforms #3135

Closed m-bert closed 1 month ago

m-bert commented 1 month ago

Description

Some of our examples are platform-specific, which means that running them on other platforms doesn't make much sense. In this PR I've disabled navigation buttons so that opening such examples is not possible on unsupported platforms.

E.g.: Web styles reset works only on web. After this PR you'll no longer be able to open it on other platforms, like ios or android.

image

Test plan

Go through example app