CrossGeeks/AzurePushNotificationPlugin

Invalid notification (no valid small icon)

Closed this issue · 2 comments

Hi,

Im using Plugin.AzurePushNotification v 1.1.0 and

Xamarin forms v 3.1.0.69772

image
And im already added app cion

image

But i've got an error.

Could you help me?

Thanks

In AndroidManifest.xml set an android:icon attribute that point to a valid icon resource

<application android:label="your_great_application_label" android:icon="@drawable/icon">

Alternatively you may set a custom icon for the notification

    [Application]
    public class MainApplication : Application
    {
        public MainApplication(IntPtr handle, JniHandleOwnership transer) : base(handle, transer)
        {
        }

        public override void OnCreate()
        {
            base.OnCreate();

            AzurePushNotificationManager.IconResource = Resource.Drawable.ic_push;
....