From 9eba514b0ae90c513792c4da2e5c3867c148bd0f Mon Sep 17 00:00:00 2001 From: minibits-cash Date: Mon, 17 Mar 2025 13:27:57 +0100 Subject: [PATCH] Patch rnexitapp for ios build --- patches/react-native-exit-app+2.0.0.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 patches/react-native-exit-app+2.0.0.patch diff --git a/patches/react-native-exit-app+2.0.0.patch b/patches/react-native-exit-app+2.0.0.patch new file mode 100644 index 0000000..1950b83 --- /dev/null +++ b/patches/react-native-exit-app+2.0.0.patch @@ -0,0 +1,20 @@ +--- a/node_modules/react-native-exit-app/ios/RNExitApp/RNExitApp.h ++++ b/node_modules/react-native-exit-app/ios/RNExitApp/RNExitApp.h +@@ -1,13 +1,13 @@ + #if __has_include() + #import +-#elif __has_include("RCTBridgeModule.h") +-#import "RCTBridgeModule.h" ++#elif __has_include() ++#import + #else +-#import "React/RCTBridgeModule.h" ++#import + #endif + + #if RCT_NEW_ARCH_ENABLED +-#import ++#import + #endif + + @interface RNExitApp : NSObject \ No newline at end of file