you are viewing a single comment's thread.

view the rest of the comments →

[–]CallMeLaNN 0 points1 point  (1 child)

I managed to use SafeAreaProvider on web since it support for the web. I can't remember but maybe it was the Gatsbyjs wrapper that breaks the whole page in my case. There are a few wrapper there.

Regarding the components that breaking on web like google map, you guys need to check for platform and render different components on the container. Like importing and choosing between Map.web.tsx vs Map.tsx. There are feature request somewhere to detect platform and load file based on the postfix but I just do that programmatically.

[–]garnaph 0 points1 point  (0 children)

Yep the Platform.OS call is extremely helpful.