It looks like a problem with one of your plugins. Judging from the second log Unity doesn’t even get initialized. Check the initialization code of AppsFlyer maybe there is something in there that will give you a clue as to what is going on.
Ah, so it was probably the shutdown that never took place so when you relaunched the app you would go back to the old application still trying to shutdown. Yeah, that makes sense