zetekla opened this issue 6 years ago · 1 comments
Please update react-native-web since it is very outdated (1.6.0 now) and provide a Hook or a way to perform platform specific code
react-native-web
eg:
if(platform==='web') { } else if(platform ==='android' || platform ==='ios'){ }
You need to check Platform.OS in your code.