Skip to main content

react-native-tracker.platformcontextretriever.getscale

Home > @snowplow/react-native-tracker > PlatformContextRetriever > getScale

PlatformContextRetriever.getScale property

Scale factor used to convert logical coordinates to device coordinates of the screen (uses UIScreen.scale on iOS)

Signature:
getScale?: () => Promise<number | undefined>;