Closed AppalaNaidu01 closed 11 months ago
webp appears to be supported out of the box on iOS by react-native: https://reactnative.dev/docs/image
Notifee requires a valid react-native ImageResource value apparently, based on that error message. So it is supposed to work. Are you able - in some non-notification context like simply showing the intended image in your app on a regular page as a test - to see the image?
@mikehardy Yes, I am able to view the same webp
image inside the app.
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
I am using
webp
images as attachments in the Android app and it is working fine.But on iOS, notification itself isn't showing up with an error.
Error:
[Error: notifee.displayNotification(*) 'notification.ios.attachments' invalid IOSNotificationAttachment. 'attachment.url' expected a React Native ImageResource value or a valid string URL..]