You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to implement an expandable notification AndroidStyle.BIGPICTURE style type with largeIcon and picture. I want to set largeIcon: null in style property, to hide it when notification is expanded. After that, when I'm trying to call displayNotification I'm receiving an error notifee.displayNotification(*) 'notification.android.style' BigPictureStyle: 'largeIcon' expected a React Native ImageResource value or a valid string URL.
Here is an example of what I'm trying to implement from developer.android.
Steps To Reproduce:
1)Prepare notification data: set largeIcon, set stype properties: picture, type: AndroidStyle.BIGPICTURE and largeIcon: null
2)Call displayNotification with prepared notification
Describe what you expected to happen:
1)Notification is received
2) largeIcon hides when you expand the notification
The text was updated successfully, but these errors were encountered:
Im trying to implement an expandable notification
AndroidStyle.BIGPICTURE
style type withlargeIcon
andpicture
. I want to setlargeIcon: null
instyle
property, to hide it when notification is expanded. After that, when I'm trying to calldisplayNotification
I'm receiving an errornotifee.displayNotification(*) 'notification.android.style' BigPictureStyle: 'largeIcon' expected a React Native ImageResource value or a valid string URL.
Here is an example of what I'm trying to implement from developer.android.
Library version: 3.0.4
react: 17.0.2
react-native: 0.66.3
Steps To Reproduce:
1)Prepare notification data: set
largeIcon
, setstype
properties:picture
,type: AndroidStyle.BIGPICTURE
andlargeIcon: null
2)Call
displayNotification
with prepared notificationDescribe what you expected to happen:
1)Notification is received
2)
largeIcon
hides when you expand the notificationThe text was updated successfully, but these errors were encountered: