Crash iOS Stability Unity

How To Fix Deep Link/Push Notifications Crashes On Unity iOS (and Why Software Design Matters)

A crash that happens when opening the app via a notification or a deep link occurred after the Unity version update due to the Apple Privacy Manifest requirement.
Strangely, it was reproduced only on iOS 15 and 16, while working correctly on iOS 17.
It affected various versions, including 2021.3, 2022.3, and 2023.3. Let’s dissect how to fix it and what was the cause.