mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 21:48:04 -05:00
feat(#305): Refactor ble related conditions
This commit is contained in:
@@ -10,6 +10,7 @@ type ShareProtocol = OpenIDBLEShare | IdpassSmartshareType;
|
||||
let ShareLib: ShareProtocol;
|
||||
|
||||
export const isBLEEnabled = USE_BLE_SHARE === 'true';
|
||||
export const isGoogleNearbyEnabled = !isBLEEnabled;
|
||||
|
||||
if (isBLEEnabled) {
|
||||
ShareLib = Openid4vpBle;
|
||||
|
||||
Reference in New Issue
Block a user