In

Ionic 4 Get Permissions Example