-
Notifications
You must be signed in to change notification settings - Fork 291
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
Can i display image on push notification? #255
Comments
Hey.. did you figure out how to display image when the app is in foreground? |
@sujitgawas19 No, I can't show image in FG. |
something like that? |
@BunHouth Ya. How did you do that? |
something like that? This for local notification only. ezgif.com-gif-maker.mov |
@BunHouth Can you share the code to display the local push notifications? |
you can found example code here => https://github.com/aasatech/rn-push-notification-image happy coding :) |
@BunHouth Great. |
I think that feature is optional. |
Could you create PR for this feature ? I think more people need to see this |
That feature is optional, because we just using it for local notification only. |
Okie. I got it |
I created PR for this issue, please check it out #272 |
@BunHouth Amazingly, I was able to show the picture while in FG. thank you very much!!!!!!!! |
@BunHouth How can I show image with remote notification, thanks |
for remote notification, please check this https://rnfirebase.io/messaging/ios-notification-images#step-1---add-a-notification-service-extension |
Hi Thuy, can i have your code ? i tried but not work :( |
@trungtin2222 what version react native do you use??? |
I use [email protected] |
@trungtin2222 you can check this thread first react-native-push-notification-ios is not support local image notification. |
hi @BunHouth, i checked your comment, i was used your code but it's not work for me, i try to check AppDelegate.m but i don't have more information |
if you want local notification work, you need to change your package.json |
I think you should create PR for this feature, my app still not work with image, i think this issue happening on M1 devices :( |
it's work in intel devices, many thanks @BunHouth |
rich notification support with images has been added in v1.9.0 🎉 |
image not showing in background |
For ios:
- how can i display push when app in FG?
The text was updated successfully, but these errors were encountered: