Automatic SMS OTP read with English templates
For automatic SMS retrieval to work, SMS length has to be under 64 bytes. This means currently that for English SMS template, the app name has to be 11-14 characters. Play Console allows max 30 characters. Firebase doesn't allow customers to modify the SMS template contents themselves. Now I'm working around by utilizing some other languages, that will fit below 64 bytes with current app name.
Two options I suggest to achieve this:
1) Modify the English SMS template: remove unnecessary filler words and make it shorter, so that it will fit to 64bytes with max 30 char app names.
or
2) Add support to Firebase SMS Templates for English variants, so those could be used solely for sending out OTP SMS with shorter app names set in the Store listing.
-
Madhumaran Alagarsamy commented
We are using Firebase authentication for sending OTP's to users.
Currently the OTP message contains the text: "Your OTP is 123456. Sent via com.myapp.firebase.com"
Our team would like to remove or customize the domain reference for branding and user trust reasons. We feel this part can confuse users or make the message looks suspicious. Please allow developers to either:
Remove the domain
Replace it with custom branding
This change will help improve use trust and experience in production apps. -
Luc Demarteau commented
This is crucial. An 'unknown sender/text message' can cause confusion for the end user.
-
Saksham Singh commented
Currently, SMS verification messages in Firebase Authentication include fixed text elements that cannot be customized. For Netherlands numbers, the message includes "Firebase App" text and a link, while for non-EU numbers, this text is omitted but still includes a link. Because some developers need to align SMS messages with their brand voice, remove links, or meet specific regulatory requirements in different regions, this lack of customization limits the flexibility and usability of Firebase Authentication.
Implementing a feature that allows developers to customize the text content of SMS verification messages would greatly enhance the service. This should include:
1. Ability to use custom text in the SMS message.
2. Option to remove any links from the message.
3. Flexibility to set different message formats for different regions if needed.Allowing developers to customize SMS verification messages (similar to customizing email templates) would make Firebase Authentication much more versatile and adaptable to various use cases and regional requirements. This would improve user experience with clearer, brand-aligned messages and potentially increase successful verifications due to clearer messaging.