docs(messaging): update usage documentation with modular code examples#8740
docs(messaging): update usage documentation with modular code examples#8740Seth-jo wants to merge 9 commits intoinvertase:mainfrom
Conversation
…e the new modular format
|
@Seth-jo is attempting to deploy a commit to the Invertase Team on Vercel. A member of the Team first needs to authorize it. |
|
Hello 👋, this PR has been opened for more than 2 months with no activity on it. If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! You have 15 days until this gets closed automatically |
38a52cd to
7af280b
Compare
|
Hello 👋, this PR has been opened for more than 2 months with no activity on it. If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! You have 15 days until this gets closed automatically |
|
Hello 👋, this PR has been opened for more than 14 days with no activity on it. If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! You have 7 days until this gets closed automatically |
Description
This PR updates the usage section of the Cloud Messaging documentation examples to use the modular API instead of the deprecated namespaced API.
The documentation currently uses the namespaced API in all its examples. With the incoming deprecation of the namespaced API, usage of the modular API is the better practice. As such, the documentation should reflect this.
I found it difficult uplifting to Expo SDK 53 and updating my code without examples to utilise - just using the Firebase docs does not feel as intuitive as examples from the actual implementation.
Within the PR, I just updated the current examples in Usage to use the modular API.
Related issues
Fixes #8710
Release Summary
Checklist
AndroidiOSOther(macOS, web)e2etests added or updated inpackages/\*\*/e2ejesttests added or updated inpackages/\*\*/__tests__Test Plan
This is only a change to the documentation - no functional changes were made.
Think
react-native-firebaseis great? Please consider supporting the project with any of the below:React Native FirebaseandInvertaseon Twitter🔥