diff --git a/ios/DeveloperApp/Home/HomeViewController.swift b/ios/DeveloperApp/Home/HomeViewController.swift index b7f4cddf..88300a63 100644 --- a/ios/DeveloperApp/Home/HomeViewController.swift +++ b/ios/DeveloperApp/Home/HomeViewController.swift @@ -169,11 +169,13 @@ class HomeViewController: UIViewController { uiState = .deprecatedRuntime return cb(false) } - guard let runtimeInfo = response.runtimeInfo, let supportedNativeBinaryVersion = Bundle.main.object(forInfoDictionaryKey: "Native Binary Version") as? Int else { + guard let runtimeInfo = response.runtimeInfo else { uiState = .deprecatedRuntime return cb(false) } + let supportedNativeBinaryVersion = MxConfiguration.nativeBinaryVersion + if (runtimeInfo.nativeBinaryVersion == supportedNativeBinaryVersion) { return cb(true) } else if (runtimeInfo.nativeBinaryVersion > supportedNativeBinaryVersion) { diff --git a/ios/DeveloperApp/Info.plist b/ios/DeveloperApp/Info.plist index 3c8f4dac..7130d5bb 100644 --- a/ios/DeveloperApp/Info.plist +++ b/ios/DeveloperApp/Info.plist @@ -83,8 +83,6 @@ To use that feature the app needs access to your microphone. NSPhotoLibraryUsageDescription To use that feature the app needs access to your photo library. - Native Binary Version - 32 NativeOTAEnabled RCTNewArchEnabled