question

nilsorathiya avatar image
nilsorathiya asked Raymond Lee Deactivated answered

I used AppNotificationReceiver class for Notification, what I used for v3 version ?

I am using AppNotificationReceiver but I getting error if I used AppNotification parser class from v3
Clover Android SDK
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Raymond Lee avatar image
Raymond Lee Deactivated answered
Yes, currently we do not have a v3 AppNotificationReceiver, so if you are using the v1 AppNotificationReceiver, you should be using the v1 AppNotification class.

If you need the extra features of a v3 AppNotification, then another option is to create your own AppNotificationReceiver class that extends a BroadcastReceiver (you can use the v1 AppNotificationReceiver as reference), and instead of creating a v1 AppNotification in onReceive(), you can create a v3 AppNotification.
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community