Skip to content

xplat/js/react-native-github/packages/react-native/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm - #57833

Open
meta-codesync[bot] wants to merge 1 commit into
mainfrom
export-D114840928
Open

xplat/js/react-native-github/packages/react-native/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm#57833
meta-codesync[bot] wants to merge 1 commit into
mainfrom
export-D114840928

Conversation

@meta-codesync

@meta-codesync meta-codesync Bot commented Aug 5, 2026

Copy link
Copy Markdown

Summary:
...Actions taken:

  1. Ran build_codegen_spec to generate the FBReactNativeSpec protocol and located/read the NativePushNotificationManagerIOSSpec protocol.
  2. Ran apply_cast_mod, which mechanically converted all clean methods and flagged two type-mismatch methods.
  3. Hand-reconciled cancelLocalNotifications: and removeDeliveredNotifications: by moving to the spec's exact parameter types and restoring the implicit RCTConvert coercion in the body.
  4. Ran buck_build_verify (BUILD SUCCEEDED) and Lint (no lints). Verified no RCT_EXPORT_METHOD/RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD macros remain.

  • Do NOT post in the CodemodService Feedback group about this specific diff.
  • If you have feedback, comment on the diff and use an appropriate diff action.

This diff was created with CodemodService.

Reviewed By: cortinico

Differential Revision: D114840928

…ficationIOS/RCTPushNotificationManager.mm

Summary:
...Actions taken:
1. Ran build_codegen_spec to generate the FBReactNativeSpec protocol and located/read the `NativePushNotificationManagerIOSSpec` protocol.
2. Ran apply_cast_mod, which mechanically converted all clean methods and flagged two `type-mismatch` methods.
3. Hand-reconciled `cancelLocalNotifications:` and `removeDeliveredNotifications:` by moving to the spec's exact parameter types and restoring the implicit `RCTConvert` coercion in the body.
4. Ran buck_build_verify (BUILD SUCCEEDED) and Lint (no lints). Verified no `RCT_EXPORT_METHOD`/`RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD` macros remain.
</summary>
</invoke>





_____


* Do **NOT** post in the CodemodService Feedback group about this specific diff.
* If you have feedback, comment on the diff and use an appropriate diff action.

This [diff was created](https://www.internalfb.com/intern/sandcastle/job/18014401344983091/) with [CodemodService](https://www.internalfb.com/codemod_service/CodemodConfigDevmateDropRctExportMethod).

Reviewed By: cortinico

Differential Revision: D114840928
@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 Aug 5, 2026

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

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. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant