Skip to content

Commit 275dab3

Browse files
fix: iOS objective-c app delegate detection
1 parent 7140bb5 commit 275dab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/src/ios/withReactNativeBatchAppDelegate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ export const modifyAppDelegate = (content: string): string => {
5151
};
5252

5353
const isObjCDelegate = (content: string): boolean => {
54-
return content.includes('@interface AppDelegate () <RCTBridgeDelegate>');
54+
return content.includes('@implementation AppDelegate');
5555
};

0 commit comments

Comments
 (0)