React-native-firebase: Notification with image on iOS

Created on 29 Jul 2020  路  8Comments  路  Source: invertase/react-native-firebase

When remote server send notification with image , Android show the image but iOS not showing
It is a missing feature?

Notifications iOS

All 8 comments

Have you set up the right APNS configurations?

https://firebase.google.com/docs/crashlytics/test-implementation?authuser=0#test_it_out

Provide more info please.

Have you set up the right APNS configurations?
I followed
https://rnfirebase.io/#3-ios-setup
and
https://firebase.google.com/docs/cloud-messaging/ios/certs

https://firebase.google.com/docs/crashlytics/test-implementation?authuser=0#test_it_out
Why you send me crash test list of crashlytics ?

@sm2017 @nanthawat is right. You need to create a notification service extension from Xcode. Follow the steps in this comment and you should be good to go.

Is this something someone could provide a PR for? If Android is doing it already it seems like having parity on the iOS platform would be good, even though notification functionality directly in react-native-firebase is otherwise limited.

Can someone confirm that this works correctly in react-native-firebase v6+ for android ?

Hi @mikehardy, I just pushed a PR ( #4085 ) with a solution that I've been using on some of my projects. And yes, it works in react-native-firebase v6+ for both iOS and Android. Cheers.

@davidepalazzo - in my best kiwi voice, legend :-)

Was this page helpful?
0 / 5 - 0 ratings