You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Diego, how are you?
I am a student on the Rocketseat platform. I encountered some responsiveness issues across different screen densities in my apps, which led to layout breakage. While researching, I came across your code contribution that was incredibly helpful to me.
Studying your implementation, I noticed that the removeEventListener function was removed from Dimensions. To remove the event from the listener, you simply need to receive the removal function as a return from the Dimensions.addEventListener declaration on line 89 of the ScreenProvider.tsx file within the context.
and this code snippet might be able to solve the StatusBar height problem in the utility function in getStatusBarOffset.ts through a native call to IOS, as the new models are being changed, I had no way to test the code below for not owning an iphone
Hello Diego, how are you?
I am a student on the Rocketseat platform. I encountered some responsiveness issues across different screen densities in my apps, which led to layout breakage. While researching, I came across your code contribution that was incredibly helpful to me.
Studying your implementation, I noticed that the
removeEventListener
function was removed fromDimensions
. To remove the event from the listener, you simply need to receive the removal function as a return from theDimensions.addEventListener
declaration online 89
of theScreenProvider.tsx
file within the context.and this code snippet might be able to solve the StatusBar height problem in the utility function in
getStatusBarOffset.ts
through a native call to IOS, as the new models are being changed, I had no way to test the code below for not owning an iphoneThe text was updated successfully, but these errors were encountered: