OneSignal / OneSignal-Unity-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Unity app with OneSignal. https://onesignal.com
Other
222 stars 61 forks source link

[Bug]: Rich media not show on IOS build #761

Open kuuro opened 1 month ago

kuuro commented 1 month ago

What happened?

Notification with rich media work on Android but not IOS

Steps to reproduce?

I have installed the OneSignal Unity SDK in my project. Everything works fine for Android, including rich media notifications. However, when building for iOS, the rich media (image attachments) is not showing in the notifications.

I followed the documentation precisely multiple times but still can't get the image attachments to display in the iOS notifications.

Environment:
Unity version: 2021.3.9f1
OneSignal SDK version: 5.1.8
iOS version: 17.6.1
Xcode version: 15.4

What did you expect to happen?

The notification should display the image attachment as it does on Android.

Unity version

2021.3.9f1

OneSignal Unity SDK version

5.1.8

Platform

iOS

Relevant log output

No response

Code of Conduct

shepherd-l commented 1 month ago

Thanks for reporting

Just for clarification, have you tried troubleshooting with the steps listed here? :
 https://documentation.onesignal.com/docs/notification-images-not-showing#ios-push-images