diff --git a/index.js b/index.js index c6d71c7..476ce19 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ import { NativeEventEmitter, NativeModules, Platform } from "react-native"; const NativeCie = Platform.OS === "ios" ? NativeModules.CieModule : NativeModules.NativeCieModule; -const isIosDeviceCompatible = NativeCie && Platform.OS === "ios" && parseInt(Platform.Version, 10) >= 13; +const isIosDeviceCompatible = NativeCie !== null && Platform.OS === "ios" && parseInt(Platform.Version, 10) >= 13; class CieManager { constructor() {