"未注册的Andr​​oid申请表]文本显示在用户个人资料信息的权限对话框 [英] "Unregistered Android application" text is displayed in User profile info permission dialog

查看:176
本文介绍了"未注册的Andr​​oid申请表]文本显示在用户个人资料信息的权限对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经集成谷歌签在我的应用程序。我能够成功登录每一次,但是当我在设备中增加了新的谷歌帐户,并尝试与登录,我见附图弹出对话框。我不明白为什么它说:未注册的Andr​​oid应用程序。如何注册在这种情况下,应用程序吗?

I have integrated Google sign-in in my application. I am able to successfully login every time but when I have added new google account in the device and try to login with that, I see the attached pop up dialog. I don't understand why it says "Unregistered android application". How to register the application in that case?

附弹出对话框:附加的图像为参考

我用下面的code:

        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();
        }   

任何人都可以请指导我如何注册应用程序?谢谢你,在前进。

Can anyone please guide me how to register the app? Thanks, in advance.

推荐答案

如果用户通过APK,以显示未注册的Andr​​oid应用程序的许可要求对话框中使用您的应用程序。它能够更好地公布有关游戏商店中的应用,以避免这种

If the user is using your app via an APK, the permission request dialog with show UNREGISTERED ANDROID APPLICATION. Its better to publish your app on play store to avoid this

这篇关于"未注册的Andr​​oid申请表]文本显示在用户个人资料信息的权限对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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