conyappa / mobile

The hybrid–native mobile application of Con Yappa.
0 stars 0 forks source link

Add Android SafeAreaView #80

Closed DiegoAndai closed 3 years ago

DiegoAndai commented 3 years ago

Description

React Native's SafeAreaView is only for iOS. Switch it for Expo SafeAreaContext's SafeAreaView which supports Android also.

Previous Fixed
115581328-e8883700-a295-11eb-8cf6-1d8583cfab26 WhatsApp Image 2021-04-28 at 18 26 20

fixes #62

Requirements

'react-native-safe-area-context

Additional Changes

Diminish PaddedScreenContainer Y-axis padding, which was used to partially hide Androids missing SafeAreaView and made iOS's version singificantly lower. With this change, iOS and Android are much more similar.

github-actions[bot] commented 3 years ago

Branch preview:

Expo QR

Published to https://exp.host/@conyappa/conyappa?release-channel=pr-80-preview.