【问题标题】:Google’s SMS retriever API is working fine without the <#> prefix. Why?Google 的 SMS 检索器 API 在没有 <#> 前缀的情况下可以正常工作。为什么?
【发布时间】:2019-07-16 11:46:51
【问题描述】:

根据 Google 的 SMS 检索器 API,SMS 消息应该以 前缀开头,但没有它对我来说效果很好(在多个手机和系统版本上)。有没有人遇到过这种情况并知道为什么会这样?

https://android.jlelse.eu/googles-sms-retriever-api-6540eb3c8e9c

【问题讨论】:

  • 您正在使用什么 API?给我们看一些代码。
  • 您使用的是短信检索 API 还是短信 UserConsent API
  • @LakhwinderSingh 短信检索 API。

标签: android google-api sms-retriever-api


【解决方案1】:

Google 已从其 API 文档中删除了该前缀。 但不知道什么时候改的。

这是他们最新的消息内容示例。 (https://developers.google.com/identity/sms-retriever/verify#1_construct_a_verification_message)

Your ExampleApp code is: 123ABC78


FA+9qCX9VSu

【讨论】:

    猜你喜欢
    • 2016-01-30
    • 1970-01-01
    • 2017-09-23
    • 2020-03-07
    • 2011-04-19
    • 2016-11-27
    • 2019-02-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多