Ability to know if the user is currently using the front or back camera

I have had many projects in the past where a client wants a different back camera experience to the front, however this becomes difficult when requiring user input for example screen tap. There is no check that we can currently run to see which camera the user is on. This means that even though we maybe only wanted the front camera experience to start on a users tap, if we have the same functionality for the back experience then it will trigger both events. A simple boolean for “front camera active” or “back camera active” would fix this.