Does anyone had successful wait for Platform ready using APP_INITIALIZER?

I have a migration code that I want to run or startup. For this I want to use APP_INITIALIZER but I have a problem that looks like does not have any fix. Platform ready never triggers there so the app never loads.

Does anyone had success with this or knows a workaround?