gpt4 book ai didi

android - "Unregistered Android application"文本显示在用户配置文件信息权限对话框中

转载 作者:太空宇宙 更新时间:2023-11-03 10:41:45 25 4
gpt4 key购买 nike

我在我的应用程序中集成了 Google 登录。我每次都能成功登录,但是当我在设备中添加新的谷歌帐户并尝试使用该帐户登录时,我会看到随附的弹出对话框。我不明白为什么它说“未注册的 android 应用程序”。在这种情况下如何注册应用程序?

附加弹出对话框:Attached Image for Reference

我正在使用以下代码:

        try {

String token = GoogleAuthUtil.getToken(mActivity, mEmail,
"oauth2:https://www.googleapis.com/auth/userinfo.profile");
return token;

} catch (UserRecoverableAuthException userRecoverableException) {
mActivity.startActivityForResult(userRecoverableException.getIntent(), USER_RECOVERABLE_AUTH);
} catch (Exception e) {
e.printStackTrace();
}

谁能指导我如何注册该应用程序?提前谢谢。

最佳答案

如果用户通过 APK 使用您的应用程序,权限请求对话框会显示未注册的 ANDROID 应用程序。最好在 Play 商店上发布您的应用以避免这种情况

关于android - "Unregistered Android application"文本显示在用户配置文件信息权限对话框中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32328664/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com