-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(iphone): new sizes #403
Conversation
@@ -48,6 +48,7 @@ | |||
"react-native": ">=0.69.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nas dependências do package.json não pode conter o sinal de ">=" deve ser usado uma versão fixa por ex: "0.69.3"
@@ -48,6 +48,7 @@ | |||
"react-native": ">=0.69.3", | |||
"react-native-safe-area-context": ">=4.5.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nas dependências do package.json não pode conter o sinal de ">=" deve ser usado uma versão fixa por exemplo: "1.0.0".
@@ -48,6 +48,7 @@ | |||
"react-native": ">=0.69.3", | |||
"react-native-safe-area-context": ">=4.5.3", | |||
"react-native-size-matters": ">=0.3.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nas dependências do package.json não pode conter o sinal de ">=" deve ser usado uma versão fixa por exemplo: "1.0.0".
@@ -48,6 +48,7 @@ | |||
"react-native": ">=0.69.3", | |||
"react-native-safe-area-context": ">=4.5.3", | |||
"react-native-size-matters": ">=0.3.0", | |||
"react-native-device-info": ">=10.4.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nas dependências do package.json não pode conter o sinal de ">=" deve ser usado uma versão fixa por ex: "1.0.0".
@@ -48,6 +48,7 @@ | |||
"react-native": ">=0.69.3", | |||
"react-native-safe-area-context": ">=4.5.3", | |||
"react-native-size-matters": ">=0.3.0", | |||
"react-native-device-info": ">=10.4.0", | |||
"styled-components": ">=5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nas dependências do package.json não pode conter o sinal de ">=" deve ser usado uma versão fixa por ex: "5.0.0".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Utilizar react-native-safe-area-context
para pegar os tamanhos das safe areas tanto de iOS quanto de Android
PR de referência que adiciona hook para trabalhar com safe area
Caso tenha necessidade pode utilizar o hook useSpacingsWithSafeArea
para trabalhar com spacings
juntamente com a safe area.
Descrição do PR
Como Validei?
Tipo de mudança
Checklist 🚨