Appboy / appboy-ios-sdk

Public repo for the Braze iOS SDK
https://www.braze.com
Other
165 stars 140 forks source link

[Bug]: In-app message (Full Screen, Modal) not displayed using Braze SDK 4.4.2 with SPM #338

Closed hervouinc closed 2 years ago

hervouinc commented 2 years ago

Platform

iOS

Platform Version

15.3.1

Braze SDK Version

4.4.2

Xcode Version

13.0

Integration Method

Swift Package Manager

Computer Processor

Intel

Repro Rate

100%

Steps To Reproduce

-> the push notification "Tap to see Test in-app message" is well received. -> But clicking on it doesn't make the message/view appear on the screen.

Expected Behavior

The view (modal, full-screen, slide-up) appears over the current app screen

Actual Incorrect Behavior

The view (modal, full-screen, slide-up) DO NOT appear over the current app screen

Verbose Logs

No response

Additional Information

Notes:

Also created an issue on https://github.com/braze-inc/braze-ios-sdk/issues/11

lowip commented 2 years ago

Hi @hervouinc, thanks for opening this issue.

Can you verify that you are linking AppboyUI and not AppboyKit?

Xcode configuration page Screen Shot 2022-03-15 at 10 45 16 AM

If this doesn't resolve the issue, would you mind providing verbose logs of a session exhibiting the issue?

Thanks,

hervouinc commented 2 years ago

Indeed, we were linking AppboyKit and not AppboyUI. I guess I've been through the doc too quickly.

Also I guess that I would have appreciated to see a "missing import" error while using ABKInAppMessageControllerDelegate, since in-app messages require to use AppboyUI.

Thanks for your help !