Mobile Test Automation : App gets installed for every test case execution

That is a permission question. It is possible that when you test automatically, you had the app already installed and you previously gave accept for that permission. That question is asked only once.
In the automation, because you install the app every time, the OS will ask the user about that permission. You cannot go around it. You either automate it, or keep the app on the device after you agreed to the permission.

Can you please open a new topic? What you’re asking has nothing to do with this thread.