aaronk Well-Known Member Licensed User Longtime User Mar 14, 2020 #1 Hi, I am using push notifications in my B4i app using firebase and it's working fine. Is there a way in sending an image with the push notification, like shown in the image below? I am wanting to show text but also have a photo as well with the notification. I came across the following link and not sure if this will allow the image to display. If it does, I am not 100% sure on how to add it. Customize a message across platforms | Firebase Cloud Messaging A guide to customizing Firebase Cloud Messaging notifications with a common set of fields for all platforms and platform-specific sets of fields. firebase.google.com Anyone know how to include a image in the push notification?
Hi, I am using push notifications in my B4i app using firebase and it's working fine. Is there a way in sending an image with the push notification, like shown in the image below? I am wanting to show text but also have a photo as well with the notification. I came across the following link and not sure if this will allow the image to display. If it does, I am not 100% sure on how to add it. Customize a message across platforms | Firebase Cloud Messaging A guide to customizing Firebase Cloud Messaging notifications with a common set of fields for all platforms and platform-specific sets of fields. firebase.google.com Anyone know how to include a image in the push notification?
aeric Expert Licensed User Longtime User Mar 14, 2020 #2 Have you checked on this? [Moved] Notification with image Moved to https://www.b4x.com/android/forum/threads/local-notification-with-image.117627/ www.b4x.com Upvote 0
Have you checked on this? [Moved] Notification with image Moved to https://www.b4x.com/android/forum/threads/local-notification-with-image.117627/ www.b4x.com
Brandsum Well-Known Member Licensed User Mar 14, 2020 #3 aeric said: Have you checked on this? [Moved] Notification with image Moved to https://www.b4x.com/android/forum/threads/local-notification-with-image.117627/ www.b4x.com Click to expand... Its valid for local notification. For remote notification you have to add a notification extention to your app which is currently not possible in B4i. Though you can do it from xcode. After building you project in release mode open the xcodeproject file and follow any online tutorial or example. Upvote 0
aeric said: Have you checked on this? [Moved] Notification with image Moved to https://www.b4x.com/android/forum/threads/local-notification-with-image.117627/ www.b4x.com Click to expand... Its valid for local notification. For remote notification you have to add a notification extention to your app which is currently not possible in B4i. Though you can do it from xcode. After building you project in release mode open the xcodeproject file and follow any online tutorial or example.