Notifications.addListener doesn't work in iOS standalone app

Please provide the following:

  1. SDK Version: 34
  2. Platforms(ios/android/both): both (issue is in iOS)

Hello,

I’m using Notifications.addListener(listener) to listen for incoming notifications while the app is foregrounded in iOS since that’s the only scenario where expo notifications don’t show up (works fine in android). The listener works perfectly while I’m testing inside the expo app but as soon as I publish the code to the standalone app the listener doesn’t seem to be firing for iOS while foregrounded.

The notifications are definitely coming in as the expo notifications work when the app is in the background and take you right back into the app

I looked around and saw that some people were having this issue a year or so ago but I have no idea what can cause the listener to fail in the standalone but work in the expo app. Any clues would be greatly appreciated.

Thanks!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.