Auxiliary Methods

Introduction

Auxiliary methods allow you to get the status of user permissions during a session.

Check that auxiliary methods are already declared on MainActivity.kt so you can call them from the.dart file

Checking permissions

Check the permission status by invoking hasPermission async function, which will return a boolean.

bool value = await platform.invokeMethod("hasPermission");

Did this page help you?