File tree Expand file tree Collapse file tree
ios/background_fetch/Sources/background_fetch Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ -(BOOL)application:(UIApplication *)application performFetchWithCompletionHandle
3333 return YES ;
3434}
3535
36- // didFinishLaunching is handled automatically by TSBackgroundFetch +load
37- // (v4.1+). Keep this call for backward compatibility with older native
38- // versions where consumers must register BGTask handlers explicitly .
36+ // BGTask registration is handled automatically by TSBackgroundFetch +load,
37+ // which observes UIApplicationDidFinishLaunchingNotification directly.
38+ // This call is a no-op (guarded by `launched` flag) but kept for safety .
3939- (BOOL )application : (UIApplication *)application didFinishLaunchingWithOptions : (NSDictionary *)launchOptions {
4040 [[TSBackgroundFetch sharedInstance ] didFinishLaunching ];
4141 return YES ;
You can’t perform that action at this time.
0 commit comments