# Fill an SMS Verification Code Without Reading the Inbox

DevFeed: [Fill an SMS Verification Code Without Reading the Inbox](<https://devfeed.tech/articles/fill-an-sms-verification-code-without-reading-the-inbox-19522.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/sms-otp-autofill/>)

Author: Shai Almog

Published: 2026-09-07T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Web](<https://devfeed.tech/topics/web.md>), [Security](<https://devfeed.tech/topics/security.md>), [API](<https://devfeed.tech/topics/api.md>), [Accessibility](<https://devfeed.tech/topics/accessibility.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [ios](<https://devfeed.tech/tags/ios.md>), [otp](<https://devfeed.tech/tags/otp.md>), [permission](<https://devfeed.tech/tags/permission.md>), [security](<https://devfeed.tech/tags/security.md>)

## AI overview

Codename One adds one-time-code autofill, a country-aware phone-number field, and a verification component for iOS, Android, and the browser without requesting access to the rest of the SMS inbox. The article explains the asynchronous verification flow, server-side security responsibilities, and a single-editor design that improves typing, pasting, accessibility, and autofill.

## Source excerpt

Codename One adds phone-number and OTP components plus one-time-code autofill on iOS, Android, and the web without requesting permission to read SMS messages.