Capacitor Camera - Permissions and Events

Hi there.
I have been working with the Capacitor Camera for a while now, and everything works fine, but i would like to read stuff like: Permissions has been changed, camera is active now and stuff like that. In the capacitor docs i can see that i do have an addListener(eventName: string…) but i have no idea to find out what the events that i can listen to is called. or… if there is any?

And Question no 2:
I can see i have a method: Camera.requestPermissions(), and as it is returning i promise… so i need a then but:
Camera.requestPermissions().then(res => console.log(res)); throws a requestPermissions is not a function… what am i doing wrong?

Regards
Per Høyer

I am facing the same issue. is there any fix for this?