Closed hamdifarid closed 3 months ago
The issue has been resolved. checked permissions this way. Then looped through all the permissions. For some reason my location permission was not being granted.
final PermissionStatus status = await Permission.bluetooth.request();
if (status.isGranted) {
print('Permission granted$status');
}
final PermissionStatus locationStatus = await Permission.location.request();
if (locationStatus.isGranted) {
print('Permission granted$locationStatus');
}
final PermissionStatus bluetoothScanStatus =
await Permission.bluetoothScan.request();
if (bluetoothScanStatus.isGranted) {
print('Permission granted$bluetoothScanStatus');
}
final PermissionStatus bluetoothConnect =
await Permission.bluetoothConnect.request();
if (bluetoothConnect.isGranted) {
print('Permission granted$bluetoothConnect');
}
I can detect my beacons using the beaconScope app. Idk what am I doing wrong. All permissions have been granted. All libraries are updated. but I keep getting beacons not found.
This is my output