I am able to push notification using Firebase/FCM. But only with small icons.
I am also able to create notifications in my app with a large image.
But how can I push a notification with a large image (at least an image on the right side)?
I can do it only if my app is in the foreground => pushing a data payload which I intercept using onmessagereceived and then showing a large image notification.
But this doesnt work if the app is in the background (as only notification are then directly pushable).
How can I fix my dilemma?
Thanks
question from:
https://stackoverflow.com/questions/65898008/how-to-push-a-notification-with-a-large-image-to-an-android-device 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…