-
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
[📚] iOS Notification Images Incorrect / False Steps! #8059
Comments
What's different?
I believe it was written before Swift in react-native was a thing?
This is an open source repository and we simply cannot be everywhere at once. We rely on community help. There's an edit button at the top right of the document, docs PRs are always always appreciated
It makes a lot of sense! If you do it the way the stock template Podfile has you are at the mercy of environment settings and such. But firebase-ios-sdk (our underlying native SDK) strictly requires it. So why leave it to chance? You can and should just remove all that conditional "maybe it will be static / maybe it won't" logic - delete it - and put All this said...you might like the companion project Notifee --> https://github.com/invertase/notifee/blob/main/docs-react-native/react-native/docs/ios/remote-notification-support.md#add-the-notification-service-extension Notifee handles the "local device notification" API surface area, with a little bit of help from react-native-firebase to receive remote FCM. It could perhaps satisfy your use case as well |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
I just wasted an entire Saturday just trying to figure out how I am supposed to setup the Notification Service Extension.
Firstly, the steps shown do not match with the gifs! Someone should responsibly update either the code or the gifs please!
Secondly, it is never mentioned that the target should be in Objective-C. The reader has to figure it out once they reach the header file addition.
Thirdly, the
use_frameworks! :linkage => :static
simply does not make sense! If you create a new react native project you can see that the Podfile already has the following codeThis creates a conflict and breaks the pod install.
Even if you manage to run
pod install
without getting errors, the build always fails. I keep getting unreadable amount of errors. I tried every possible solution but I do not think there is a way around this.I am getting this:
Please someone at least add a disclaimer in the documentation page that with the latest versions of Xcode and React Native those steps might a complete waste of time.
The text was updated successfully, but these errors were encountered: