Resolve safari not working due to missing chrome api (nativeMessaging) (#1585)
This commit is contained in:
parent
c7966773a9
commit
8e20e48373
|
@ -36,10 +36,12 @@ export class NativeMessagingBackground {
|
||||||
private messagingService: MessagingService, private appIdService: AppIdService) {
|
private messagingService: MessagingService, private appIdService: AppIdService) {
|
||||||
this.storageService.save(ConstantsService.biometricFingerprintValidated, false);
|
this.storageService.save(ConstantsService.biometricFingerprintValidated, false);
|
||||||
|
|
||||||
// Reload extension to activate nativeMessaging
|
if (BrowserApi.isChromeApi) {
|
||||||
chrome.permissions.onAdded.addListener((permissions) => {
|
// Reload extension to activate nativeMessaging
|
||||||
BrowserApi.reloadExtension(null);
|
chrome.permissions.onAdded.addListener((permissions) => {
|
||||||
});
|
BrowserApi.reloadExtension(null);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async connect() {
|
async connect() {
|
||||||
|
|
Loading…
Reference in New Issue