【问题标题】:Glass GDK Authentication: upload app to glassware neededGlass GDK 身份验证:将应用程序上传到所需的玻璃器皿
【发布时间】:2014-04-28 08:00:13
【问题描述】:

我正在使用 GDK 和 Mirror API 开发 Glass 应用。我坚持使用 XE16 中启动的 GDK 身份验证功能。尝试使用 Mirror API 插入帐户时收到“404 Not Found”响应:

POST https://www.googleapis.com/mirror/v1/accounts/{userToken}/com.example.myapp/username%40email.com

我不确定是否必须先将我的应用上传到 glassware 才能对其进行测试。身份验证文档有点说:

https://developers.google.com/glass/develop/gdk/authentication

是否可以上传我的应用来测试此功能而不向其他人公开?

【问题讨论】:

    标签: authentication google-glass


    【解决方案1】:

    您说的是https://developers.google.com/glass/develop/gdk/authentication 记录的身份验证系统,对吗?请注意该页面顶部的框显示

    Note: Currently, you can only test and use this API after we've uploaded your APK to MyGlass, which happens during the review process.

    这是获取用于传输信息的 URL 的 {userToken} 部分所必需的。

    最佳做法是在旁加载应用时对初步测试期间所需的信息进行硬编码。准备好后,请查看https://developers.google.com/glass/distribute/index 的提交指南和清单并提交以供审核。作为审核过程的一部分,您将向 Glass 团队提供该 apk,并且您可以请求一个地址白名单,这些地址将能够在应用程序公开之前通过 MyGlass 测试加载该应用程序。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多