Skip to content

Commit 9c84358

Browse files
committed
Tune recipe for AppDelegate.m
1 parent 1b0592a commit 9c84358

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/recipes.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ project(':jpush-react-native').projectDir = new File(rootProject.projectDir, '..
5959
`
6060
},
6161
{
62-
pattern: `- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
63-
{`,
62+
pattern: `didFinishLaunchingWithOptions[^{]*{`,
6463
patch: `
6564
[JPUSHService setupWithOption:launchOptions appKey:@"${ctx.appKey}"
6665
channel:nil apsForProduction:nil];

0 commit comments

Comments
 (0)