facebook messenger – Where app drops sdk version info

Long story short i used appcloner to spoof android SDK version to lower to get messenger chat heads as they were on android 10 and lower. I copied the installed app, so now i got .apk with all that info and when i install it from that file it still works. App must dropped info about android SDK into it’s files, but i cannot find where. Does anyone could help me with that?

My goal is to inject this file into original messenger apk so that i could update this app from official messenger .apk