Skip to content

fix: Register HeadlessJsTaskSupportModule in CoreReactPackage#56267

Open
taibin wants to merge 1 commit intofacebook:mainfrom
taibin:fix/headless-js-task-support-registration
Open

fix: Register HeadlessJsTaskSupportModule in CoreReactPackage#56267
taibin wants to merge 1 commit intofacebook:mainfrom
taibin:fix/headless-js-task-support-registration

Conversation

@taibin
Copy link
Copy Markdown

@taibin taibin commented Mar 30, 2026

Summary

The HeadlessJsTaskSupportModule was not included in any ReactPackage, causing AppRegistry.notifyTaskFinished() to fail silently. This meant headless JS tasks would not properly signal completion to the calling service, leaving it to linger unnecessarily.

This fix adds HeadlessJsTaskSupportModule to CoreReactPackage so that notifyTaskFinished and notifyTaskRetry methods are properly available.

Changelog

[ANDROID] [FIXED] - Register HeadlessJsTaskSupportModule in CoreReactPackage

Test Plan

  • Android Kotlin compilation passes
  • Verify headless JS tasks can properly call notifyTaskFinished()

Fixes #56263

🤖 Generated with Claude Code

The HeadlessJsTaskSupportModule was not included in any ReactPackage,
causing AppRegistry.notifyTaskFinished() to fail silently. This meant
headless JS tasks would not properly signal completion to the calling
service, leaving it to linger unnecessarily.

This fix adds HeadlessJsTaskSupportModule to CoreReactPackage so that
notifyTaskFinished and notifyTaskRetry methods are properly available.

Fixes facebook#56263

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 30, 2026
@github-actions
Copy link
Copy Markdown

Caution

Missing Changelog

Please add a Changelog to your PR description. See Changelog format

@facebook-github-tools facebook-github-tools bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Android]HeadlessJsTaskSupportModule is not included in any package

1 participant