capacitor-smscode-reader
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Capacitor SmsCode reader

Read incoming SMS code from iOS

Installation

$ npm install capacitor-smscode-reader

Use

import { Plugins } from "@capacitor/core";
const { SmsCodeReader } = Plugins;
 
  async openSmsCode(){
       let codeReceived = await SmsCodeReader.present({"numberOfCharacters":4})   
       console.log("Code received ",codeReceived)
   }
 }

Parameters

numberOfCharacters : The lenght of the desired Pin code

Credits:

See KAPinField for managing UITextField with SMS code See SnapKit for managing the UIViewController autolayout

Readme

Keywords

Package Sidebar

Install

npm i capacitor-smscode-reader

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

489 kB

Total Files

143

Last publish

Collaborators

  • csurbier