Checking permissions


I am not seeing anything aboout checking permissions from within an Ionic/capacitor app.

For example, in my settings page I have a toggle to turn off and on both location, and notifications for both capacitor plugins.

How do I check these after they are set on initial app load?