Images in Push Messages

panagiotis m merakosp at gmail.com
Tue Sep 27 11:29:09 EDT 2022


Hello Dan,

Ah I see. Hmm. Nope, we do not use "NotificationCompat".

How are you sending the notifications? Are you using the Firebase Console?
if yes, I am wondering if you could just provide an image in the
"Notification Image (optional)" field here:

https://console.firebase.google.com/u/0/project/pushnotificationtestlc965/notification/compose

Kind regards,
Panos
--



On Tue, 27 Sept 2022 at 18:02, Dan Friedman <dan at clearvisiontech.com> wrote:

> Panos,
>
> Yes, I have the icon in place and its showing just fine.  It's not the
> icon I'm working on... it's an actual image within the message (Like this:
> https://raw.githubusercontent.com/pluralsight/guides/master/images/df051757-9a09-417b-a77a-8192c984b9a4.png).
> In some more research, I ran into this:
>
>
> https://developer.android.com/develop/ui/views/notifications/build-notification
>
> Does LC use the " NotificationCompat" when building packages?
>
>
> Thank you!
>
> Dan Friedman
> CEO, ClearVision Technologies, LLC
> Voice: 909/484-2052
> http://www.clearvisiontech.com
>
>
> On 9/27/22, 4:46 AM, "use-livecode on behalf of panagiotis m via
> use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of
> use-livecode at lists.runrev.com> wrote:
>
>     Hello Dan,
>
>     Have you provided a "Status Bar Icon" in the Android standalone
> settings?
>     If yes, what icons have you tried? I think colored icons are no longer
>     allowed, in recent Android versions.
>
>     The icons have to be png images, and they need to be white on black or
>     transparent only, otherwise they display as a gray square area.
>
>     You can check some samples on the web, e.g. here:
>
>
> https://romannurik.github.io/AndroidAssetStudio/icons-notification.html#source.type=clipart&source.clipart=place&source.space.trim=1&source.space.pad=0&name=ic_stat_place
>
>     Hope this helps.
>
>     Please let us know if this works for you.
>
>     Kind regards,
>     Panos
>
>     On Tue, 27 Sept 2022 at 03:50, Dan Friedman via use-livecode <
>     use-livecode at lists.runrev.com> wrote:
>
>     > We're trying to add images to push messages.  Can't seem to get it
> to work
>     > (starting with Android first).  Anyone have any knowledge on this?
>  I
>     > wouldn't think so, but Is there something I have to set in the LC
> app?
>     > Any guidance anyone might have would be appreciated!
>     >
>     > -Dan
>     >
>     > _______________________________________________
>     > use-livecode mailing list
>     > use-livecode at lists.runrev.com
>     > Please visit this url to subscribe, unsubscribe and manage your
>     > subscription preferences:
>     > http://lists.runrev.com/mailman/listinfo/use-livecode
>     >
>     _______________________________________________
>     use-livecode mailing list
>     use-livecode at lists.runrev.com
>     Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
>     http://lists.runrev.com/mailman/listinfo/use-livecode
>
>


More information about the use-livecode mailing list