blaugold / user_messaging_platform

A flutter plugin which provides a Dart API for the User Messaging Platform (UMP) SDK, which is the Consent Management Platform (CMP) SDK provided as part of Google's Funding Choices.
https://pub.dev/packages/user_messaging_platform
MIT License
9 stars 5 forks source link

App Icon loading error in consent form (Android) #14

Closed GoldenSoju closed 2 years ago

GoldenSoju commented 2 years ago

Hi!

Thanks a lot for the package.

So far the implementation is working fine, the only problem is that my app icon doesn't show in the consent form. The "image broken" placeholder appears instead.

My app icon is in XML format, so my guess is that it has to be in PNG maybe? Do you maybe know how to display the icon without changing it to another format? Or is there another reason?

blaugold commented 2 years ago

This is not something this package has any control over, since it's just a Dart API for the UMP SDK. But I think your right that a different format probably will fix it. Vector graphics such as SVG are often not as well supported as simple bitmaps like PNG, JPEG, etc.