Code Monkey home page Code Monkey logo

Comments (9)

samtstern avatar samtstern commented on June 24, 2024

@gabrieldelmas thanks for reporting this. Can you explain why you want to start the SMS with those characters? It would help me understand the issue better.

from android-credentials.

gabrieldelmas avatar gabrieldelmas commented on June 24, 2024

Thanks for taking the time to answer me. Basically, I don't want to start the SMS with "<#>" just because the SMS looks better without. The documentation seems let the choice between "<#>" or two consecutive zero-width space characters (U+200B) to begin the SMS.
https://developers.google.com/identity/sms-retriever/verify

from android-credentials.

samtstern avatar samtstern commented on June 24, 2024

@gabrieldelmas gotcha, I actually hadn't read that bit of the documentation before! Can you paste here the Java code you use to generate the SMS with the unicode characters?

from android-credentials.

gabrieldelmas avatar gabrieldelmas commented on June 24, 2024

No worries. Sure, here it is :
String body = "\u200b\u200b" + " " + message + "\n\n" + getAndroidAppHash();

If I replace "\u200b\u200b" by "<#>" everything works well.

from android-credentials.

samtstern avatar samtstern commented on June 24, 2024

@gabrieldelmas I've filed this with some backend engineers, will let you know what they have to say.

from android-credentials.

gabrieldelmas avatar gabrieldelmas commented on June 24, 2024

@samtstern Thanks

from android-credentials.

samtstern avatar samtstern commented on June 24, 2024

@gabrieldelmas apparently we've seen other reports like this. We suspect it's a carrier issue, some do not properly deliver the messages with the unicode prefix.

For max reliability I'd stick with the visible prefix. We're going to see what we can do to fix it or improve the docs.

from android-credentials.

gabrieldelmas avatar gabrieldelmas commented on June 24, 2024

@samtstern Could make sens. Fortunately, this issue happened on my phone otherwise it would have been harder to figure out from one of our feedback's user. I will stick with the visible prefix. Thanks.

from android-credentials.

samtstern avatar samtstern commented on June 24, 2024

Closing this for now as there's nothing we can do in this repo, but will come back if we have any more news.

from android-credentials.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.