Skip to content

fix: Register HeadlessJsTaskSupportModule in CoreReactPackage#56267

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

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
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Mar 31, 2026

@cortinico has imported this pull request. If you are a Meta employee, you can view this in D98884467.

@meta-codesync meta-codesync bot closed this in 2d78a39 Mar 31, 2026
@facebook-github-tools facebook-github-tools bot added the Merged This PR has been merged. label Mar 31, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Mar 31, 2026

@cortinico merged this pull request in 2d78a39.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by 贾太滨 in 2d78a39

When will my fix make it into a release? | How to file a pick request?

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. Merged This PR has been merged. 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

2 participants