Skip to content

Commit cc163c4

Browse files
committed
Update comment
1 parent 39ec643 commit cc163c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ios/background_fetch/Sources/background_fetch/BackgroundFetchPlugin.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)