diff --git a/src/utils/devices.ts b/src/utils/devices.ts index cdf6cec7..9b271ff9 100644 --- a/src/utils/devices.ts +++ b/src/utils/devices.ts @@ -17,4 +17,4 @@ export const isIphoneX = width === 926); export const isAndroid = Platform.OS === 'android'; export const isWeb = Platform.OS === 'web'; -export const isBelowRN65 = Platform.constants.reactNativeVersion.minor < 65; +export const isBelowRN65 = Platform.constants?.reactNativeVersion.minor < 65;