测试时不会显示用于保存凭证的Google Smart Lock对话框 [英] Google Smart Lock dialog for saving credentials does not appear when testing

查看:183
本文介绍了测试时不会显示用于保存凭证的Google Smart Lock对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将用户的Facebook凭据保存到Google Smart Lock,但我的测试有困难。我能够显示提示保存一次,但是当我进入我保存的密码(passwords.google.com)并删除保存的凭证后,提示不再出现!



我进入google设置并确保从永不保存部分删除应用程序,但仍未显示。当我调用Auth.CredentialsApi.save()时,它将以null的分辨率返回并显示消息当前应用程序被列入黑名单。 解决方案 div>

我找到了一个解决方案,并希望发布以防其他人也遇到此问题。问题是我的设备上有多个Google帐户,我需要从每个帐户的永不保存列表中删除我的应用。


I am trying to save a user's facebook credentials to Google Smart Lock, but I am having difficulty testing. I was able to display the prompt to save once, but after I went into my saved passwords (passwords.google.com) and deleted the saved credentials, the prompt is not appearing anymore!

I went into google settings and made sure to delete the app from the "never save" section, but it is still not appearing. When I call Auth.CredentialsApi.save(), it is returning with a resolution of "null" and message "The current app is blacklisted"

解决方案

I found a solution and wanted to post in case other people have this problem as well. The issue was that I had multiple google accounts on my device, and I needed to remove my app from the "Never save" list for each account.

这篇关于测试时不会显示用于保存凭证的Google Smart Lock对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆