Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix image size for tsc command #164

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: correctly scan devices after permission accept
FredJul committed Feb 7, 2024
commit 2919b0f8d544b6d1cdc8a64d3e02bce32fd8b593
Original file line number Diff line number Diff line change
@@ -63,8 +63,6 @@ public class BluetoothPrintPlugin implements FlutterPlugin, ActivityAware, Metho
private static final int REQUEST_FINE_LOCATION_PERMISSIONS = 1452;

private static String[] PERMISSIONS_LOCATION = {
Manifest.permission.BLUETOOTH,
Manifest.permission.BLUETOOTH_ADMIN,
Manifest.permission.BLUETOOTH_CONNECT,
Manifest.permission.BLUETOOTH_SCAN,
Manifest.permission.ACCESS_FINE_LOCATION
@@ -190,9 +188,10 @@ public void onMethodCall(MethodCall call, Result result) {
pendingCall = call;
pendingResult = result;
break;
} else {
startScan(call, result);
}

startScan(call, result);

break;
}
case "stopScan":