Unfortunately, I could not find any way by which I could programmatically select a screen for the transition.
This problem is due to the fact that only when placing screens in the Tab Navigator components, these screens exist by the time the application is displayed on the screen and you can get a link to them. In all other cases, at the time of launching the application, there is only an active screen and those screens that were created before it, for example, a splash screen.
The request to use the variable in the screen transition block was made a long time ago, but I can’t say anything more about this.