OneSignal-iOS-SDK icon indicating copy to clipboard operation
OneSignal-iOS-SDK copied to clipboard

[Bug]: Still wrong Popup sizes from OneSignal on MacOs (designed for iPad)

Open sabiland opened this issue 10 months ago • 3 comments

What happened?

5.2.9 still shows wrong OneSignal popup sizes on MacOs Designed for iPad apps.

Steps to reproduce?

1) Try running on mac (designed for iPad) target any OneSignal action/trigger to show some popup (rating, etc.).
2) Size of the popup is wrong (huge)

What did you expect to happen?

I expected the OneSignal Popup would be within the window bounds.

Screenshot 2025-01-03 at 09 29 34

OneSignal iOS SDK version

Release 5.2.9

iOS version

17

Specific iOS version

* iOS 18.1

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

sabiland avatar Jan 03 '25 08:01 sabiland

Hi @sabiland, thanks for reporting. A few questions while we look into this:

  1. Are you seeing the appropriate size for this same in-app message on other platforms? ie: iOS / iPad / Mac Catalystc, etc
  2. Does this wrong size always occur if you test other in-app messages?

nan-li avatar Jan 08 '25 16:01 nan-li

Hi @sabiland after looking again at the SDK, in-app messages are currently not supported on Mac due to this display issue.

We did not update the SDK code after Apple Silicon macs became available which is why the in-app message is displaying. We will need to make the fix to not display in-app messages on all Macs.

nan-li avatar Jan 08 '25 22:01 nan-li

On iPhone and iPad everything is ok. Only on macOS popup sizes are not appropriate size. But they should stay on macOS! Because my app can be run on macOS as designed-for-iPad.

sabiland avatar Jan 09 '25 17:01 sabiland