I have installed firebase dynamic links in my Flutter app, configured it on iOS native side with adding GoogleService-Info.plist for every env, have set DYNAMIC_URL and in general all dynamic links work good.
Except only one case: for ONLY FIRST RUN in release mode (or from TestFlight) FirebaseDynamicLinks.instance.getInitialLink() returns null.
I install the app on real device in release mode, I don't open it automatically from IDLE, I am scanning dynamic link QR from camera or clicking on it itself - FIRST TIME app doesn't handle the link and this is the issue! Every next time app is able to handle the link properly from completely closed state (when it's running in a background it every time works with onLink).
I tried delays for function start, checked all that code, asked colleagues - freaking nightmare