Closed EvanHahn closed 4 months ago
Metrics reports include screen dimensions (width & height). If the provided screen object has additional properties, we want to ignore them.
screen
This will likely be the case for us, because we're probably going to use Dimensions.get which returns an object with extra properties.
Dimensions.get
This change filters those out and only keeps the provided width and height.
width
height
Metrics reports include screen dimensions (width & height). If the provided
screen
object has additional properties, we want to ignore them.This will likely be the case for us, because we're probably going to use
Dimensions.get
which returns an object with extra properties.This change filters those out and only keeps the provided
width
andheight
.