mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
Reload browser extension after enabling nativeMessaging (#1577)
This commit is contained in:
@@ -35,6 +35,11 @@ export class NativeMessagingBackground {
|
||||
private runtimeBackground: RuntimeBackground, private i18nService: I18nService, private userService: UserService,
|
||||
private messagingService: MessagingService, private appIdService: AppIdService) {
|
||||
this.storageService.save(ConstantsService.biometricFingerprintValidated, false);
|
||||
|
||||
// Reload extension to activate nativeMessaging
|
||||
chrome.permissions.onAdded.addListener((permissions) => {
|
||||
BrowserApi.reloadExtension(null);
|
||||
});
|
||||
}
|
||||
|
||||
async connect() {
|
||||
|
||||
Reference in New Issue
Block a user