Resolve FF < 77 not working (#1706)
This commit is contained in:
parent
93f577b9a0
commit
75f84f6723
|
@ -36,7 +36,7 @@ export class NativeMessagingBackground {
|
|||
private messagingService: MessagingService, private appIdService: AppIdService) {
|
||||
this.storageService.save(ConstantsService.biometricFingerprintValidated, false);
|
||||
|
||||
if (BrowserApi.isChromeApi) {
|
||||
if (chrome?.permissions?.onAdded) {
|
||||
// Reload extension to activate nativeMessaging
|
||||
chrome.permissions.onAdded.addListener(permissions => {
|
||||
BrowserApi.reloadExtension(null);
|
||||
|
|
Loading…
Reference in New Issue