iOS App Freezes & Crashes after two native popups on startup

Have anyone face this kind of problem?
App freezes only after 2 popups. In my case: asking for sending push notifications and asking for tracking (for better ad)
If only notifications popup shown, everything is ok
If only ATT popup shown, everything is ok
If both shown — freeze & crash

p.s. I don’t think someone would answer. just making toping to answer it myself later :slight_smile:

The reason of freeze is because app sending “Comeback” notification when app is setting to Pause
When native popup appears, App is setting to Pause mode.

To solve issue:

  • Initialize notifications request after all other native popups
  • Or give app a bit more time to initialize notifications service