-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: remove version_number example in ios-notification-images docs #8184
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there!
I think this should go the other way - if the Podfile has versions for that Pod set in some other way (and it does, for the main parts of react-native-firebase) - then you should not need a version number here as it should already be resolved to the one that the rest of the app is using, right?
So what should change I think is that the docs shouldn't tell you to update any VERSION_NUMBER anywhere for the iOS notification images.
This line would go away https://github.com/invertase/react-native-firebase/pull/8184/files#diff-05f38d5729372a6ce74811f5d33eb72c9a6b290203486ad013c80d1c3bc88f26R41
What needs to happen is to confirm that your build works with no version number (it should?) and then we can just get rid of that step entirely which should simplify things for people and give them one less thing to do in the Podfile on an ongoing basis - trying to keep up with those version number
Signed-off-by: petetnt <[email protected]>
Hi @mikehardy! Makes sense, I removed the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks right, but just to make extra sure @petetnt
What needs to happen is to confirm that your build works with no version number (it should?)
Can you confirm that with no version number at all, this still works for you and builds the notification extension correctly? It should but confirmation is important :-)
Thanks!
@mikehardy Yeah sorry, should have clarified that I removed the version_number locally, ran |
Fantastic, really appreciate it |
Description
This PR fixes an issue in the
ios-notification-images.md
doc, the doc tells to update VERSION_NUMBER but there's no version set in the example. In the gif below the image you can see the VERSION_NUMBER being set if you are fast enough.The text:
Screenshot from the gif:
As per discussions, we removed the
VERSION_NUMBER
example from the docsRelease Summary
docs: removed VERSION_NUMBER example in the
ios-notification-image.md
docsChecklist
Android
iOS
e2e
tests added or updated inpackages/\*\*/e2e
jest
tests added or updated inpackages/\*\*/__tests__
Test Plan
Follow the guide, add the version number and run
pod install