class BaseRegisterActivity extends SecuredNativeSmartRegisterActivity implements BaseRegisterContract.View {

    public void startQrCodeScanner() {
        if (PermissionUtils.isPermissionGranted(this, Manifest.permission.CAMERA, PermissionUtils.CAMERA_PERMISSION_REQUEST_CODE)) {
            try {
                Intent intent = new Intent(this, BarcodeScanActivity.class);
                startActivityForResult(intent, AllConstants.BARCODE.BARCODE_REQUEST_CODE);
            } catch (SecurityException e) {
                Utils.showToast(this, getString(R.string.allow_camera_management));
            }
        }

    }

}