Notifications not showing

Hi,

So I have integrated OneSignal into my app and I have “UIBackgroundModes = {“remote-notification”},” in my build.settings and the notification displays when not in the app but if the app is launched, nothing appears. Am I missing some type of notification handling event that is needed in order for the app to show the notification?