'How I can Change android manifest meta-data programatically in Flutter

I'm in a situation where I could really use functionality to change meta-data in manifest at run-time in my Flutter app. As per my understanding, the androidmanifest.xml elements are only set at compile-time. While trying to find some solution, I came across this and this which says otherwise.

Now I'm curious to know if it is really possible to update these meta-data(s) at runtime? If yes then how to implement this functionality on Flutter



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source