mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
PM-11455: Trigger sync when user enables OS setting (#14127)
* Implemented a SendNativeStatus command This allows reporting status or asking the electron app to do something. * fmt * Update apps/desktop/src/autofill/services/desktop-autofill.service.ts Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com> * clean up * Don't add empty callbacks * Removed comment --------- Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
This commit is contained in:
@@ -155,6 +155,11 @@ class CredentialProviderViewController: ASCredentialProviderViewController {
|
||||
view.isHidden = true
|
||||
self.view = view
|
||||
}
|
||||
|
||||
override func prepareInterfaceForExtensionConfiguration() {
|
||||
client.sendNativeStatus(key: "request-sync", value: "")
|
||||
self.extensionContext.completeExtensionConfigurationRequest()
|
||||
}
|
||||
|
||||
override func provideCredentialWithoutUserInteraction(for credentialRequest: any ASCredentialRequest) {
|
||||
let timeoutTimer = createTimer()
|
||||
|
||||
Reference in New Issue
Block a user