diff --git a/ios/CaptureProtection.mm b/ios/CaptureProtection.mm index a616287..175aca3 100644 --- a/ios/CaptureProtection.mm +++ b/ios/CaptureProtection.mm @@ -505,15 +505,5 @@ - (void) stopObserving { reject(@"preventScreenRecord", e.reason ?: @"unknown_message", [self convertNSError:e]); } }; -// Don't compile this code when we build for the old architecture. -#ifdef RCT_NEW_ARCH_ENABLED -- (std::shared_ptr)getTurboModule: - (const facebook::react::ObjCTurboModule::InitParams &)params -{ - return std::make_shared(params); -} -#endif - - @end diff --git a/package.json b/package.json index 391da7d..72cdf2c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-capture-protection", - "version": "1.9.13", + "version": "1.9.14", "description": "It’s a library for React Native to control simple capture events(i.e. Screenshot or Screen record)", "main": "lib/commonjs/index", "module": "lib/module/index",