仅限屏幕Google使用Google Java Library上的操作登录?

问题描述 投票:0回答:1

我开始使用AoG java库,从示例中看起来SignIn助手只适用于带屏幕的设备。

来自this sample repo

signin_placeholder_error=Sign in is only available on devices with a screen

javadoc也说了这个关于登录:

public SignIn()
Hands the user off to a web sign in flow. App sign in and OAuth credentials are set in the Actions console.

我知道这是nodeJS库具有的功能。这是java库的限制,还是这个功能存在或即将推出?

java dialogflow actions-on-google
1个回答
1
投票

这是样本中的一个错误。如果使用Google登录,则此功能适用于没有屏幕的设备。

编辑:该示例现已更新为修正,以澄清即使在没有屏幕的手机上Google登录也可以正常工作。

© www.soinside.com 2019 - 2024. All rights reserved.