getFallbackPermissions static method
Synchronous fallback permission list when async resolution is not possible.
Implementation
static List<Permission> getFallbackPermissions() {
if (!Platform.isAndroid) {
return [Permission.bluetooth];
}
return [
Permission.bluetoothScan,
Permission.bluetoothConnect,
Permission.locationWhenInUse,
];
}