evollu / react-native-fcm

react native module for firebase cloud messaging and local notification
MIT License
1.73k stars 682 forks source link

how can I attach image in notification in IOS app #972

Closed kartavyaparekh96 closed 6 years ago

kartavyaparekh96 commented 6 years ago

I created a react native app for IOS and sending notification successfully through react native fcm. But now I want to send image as well. Can someone guide me how to achieve this?

kartavyaparekh96 commented 6 years ago

@evollu @benoist @moriyoshi @ibratoev @radev @zaro Someone guide me?

evollu commented 6 years ago

image in iOS notification? is it possible in native iOS?

evollu commented 6 years ago

dup of https://github.com/evollu/react-native-fcm/issues/719#issuecomment-395956329 closing this

engin145 commented 6 years ago

@kartavyaparekh96 it works for me https://www.pluralsight.com/guides/creating-ios-rich-push-notifications. Good luck!

evollu commented 6 years ago

@engin145 that's helpful! Does this work after user force kill the app?

kartavyaparekh96 commented 6 years ago

It is done in React-native-onesignal

evollu commented 6 years ago

@kartavyaparekh96 cool. is it possible for you to port it over?