agilebits / onepassword-app-extension

1Password Extension for iOS Apps
2.58k stars 311 forks source link

Not filling webview fields #376

Closed cristiangoncas closed 7 years ago

cristiangoncas commented 7 years ago

Hello, I'm working on a webview app using webkit and integrating onepassword. The issue is when I select the account to use, the webview is reloaded and I'm getting a true on completion but the log in is not happening. I'm not using a button to open onepassword, I'm using an event from the webview. Here is the code what I'm executing and is returning true.

OnePasswordExtension.shared().fillItem(intoWebView: webView, for: self, sender: nil, showOnlyLogins: false) { (success, error) -> Void in
                if success == false {
                    print("Failed to fill into webview: <\(error)>")
                }
}

I hope someone can help me.

Thank you

gks commented 7 years ago

Hi @cristiangoncas I was just investigating this and noticed you closed the issue.

Were you by chance able to get things figured out?

cristiangoncas commented 7 years ago

Hi @gks I'm sorry, I forgot to write the issue. It was working right, but I discovered a bug because of this.

Thanks for your response

gks commented 7 years ago

Understood, @cristiangoncas, as long as things are working properly that's what matters on our end. If we can provide any assistance please let us know. Thanks for implementing 1Password support in your app!

When you have implemented support and it's available to users please be sure to email us: support+appex@agilebits.com

Include your apps icon and a brief description so we can get it included on our page that highlights apps that feature 1Password support