mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Resolve safari not working due to missing chrome api (nativeMessaging) (#1585)
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user