Skip to content

chore(messaging): deprecation warnings for v8 API ahead of future major release#8588

Merged
mikehardy merged 1 commit into
mainfrom
messaging-deprecations
Jul 1, 2025
Merged

chore(messaging): deprecation warnings for v8 API ahead of future major release#8588
mikehardy merged 1 commit into
mainfrom
messaging-deprecations

Conversation

@russellwheatley

Copy link
Copy Markdown
Member

Description

There are a lot of messaging helper methods that are out of scope from all other Firebase SDKs (JS messaging has only 5, RNFB messaging has 31). I wonder if they should remain or should some be deprecated & removed during next major release. You can see them all listed here: messaging-deprecations?expand=1#diff-312fbb9aca

Related issues

Release Summary

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
    • Other (macOS, web)
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan


Think react-native-firebase is great? Please consider supporting the project with any of the below:

@vercel

vercel Bot commented Jun 25, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-firebase ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 7:23pm

@mikehardy mikehardy force-pushed the messaging-deprecations branch from 5612242 to 7f10685 Compare July 1, 2025 12:58

@mikehardy mikehardy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

For me anyway, those native methods on this specific module are probably 90% of the reason anyone would ever use react-native-firebase vs firebase-js-sdk in the first place - native messaging API binding from firebase to device is a huge part of the value proposition of the whole package. I scanned the list and I think I'd leave them all 🤷

rebased to main, squashed to single commit, pending clean CI, let's go 🚂

@mikehardy mikehardy changed the title chore(messaging): deprecations for v8 API ahead of future major release chore(messaging): deprecation warnings for v8 API ahead of future major release Jul 1, 2025
@mikehardy mikehardy added the Workflow: Pending Merge Waiting on CI or similar label Jul 1, 2025
@mikehardy mikehardy force-pushed the messaging-deprecations branch from 7f10685 to fb681f2 Compare July 1, 2025 19:14
@mikehardy mikehardy force-pushed the messaging-deprecations branch from fb681f2 to 8c34fa4 Compare July 1, 2025 19:17
@mikehardy mikehardy merged commit f739059 into main Jul 1, 2025
11 of 12 checks passed
@mikehardy mikehardy deleted the messaging-deprecations branch July 1, 2025 19:17
@mikehardy mikehardy removed the Workflow: Pending Merge Waiting on CI or similar label Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants