Skip to content

Commit 34db942

Browse files
committed
fix(Xcode:AppDelegate): fix the response to no longer be just YES
As per crazycodeboy/react-native-splash-screen#606 (comment)
1 parent 1312e3c commit 34db942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/sdk-apple/src/objectiveCParser.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ export const parseAppDelegate = (
7373
// You can add your custom initial props in the dictionary below.
7474
// They will be passed down to the ViewController used by React Native.
7575
self.initialProps = @{};
76-
[super application:application didFinishLaunchingWithOptions:launchOptions];
76+
bool didFinish=[super application:application didFinishLaunchingWithOptions:launchOptions];
7777
`,
7878
render: (v) => `${v};`,
79-
end: 'return YES;',
79+
end: 'return didFinish;',
8080
},
8181
sourceURLForBridge: {
8282
isRequired: true,

0 commit comments

Comments
 (0)