About unintended retention of app permission setting

My app uses cameras or microphones.

A confirmation dialog appears by first use immediately after installation.

If the user gives permission here, the problem does not occur.

The problem is when the user does not give permission.

Even after this, you can change the access right within the setting.

However, This operation seems to determine the default setting.

Even if you reinstall after deleting an app, that setting will be remembered.

It will be disallowed if you reinstall after permission by the user.

Can not display privilege dialog at reinstall?