capacitor-phone-hint
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

capacitor-phone-hint

Implementation of Android phone-hint feature for capacitor project.

It only support android for now.

Install

npm install capacitor-phone-hint
npx cap sync

Example

import { PhoneHint } from 'capacitor-phone-hint'

PhoneHint.requestHint()
    .then(res => {
        console.log(res.phone);
    })

API

requestHint()

requestHint() => Promise<PhoneNumber>

Request the phone number dialog picker

Returns: Promise<PhoneNumber>

Since: 1.0.0


Interfaces

PhoneNumber

Prop Type Description Since
phone string Picket phone number 1.0.0

Package Sidebar

Install

npm i capacitor-phone-hint

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

13.3 kB

Total Files

19

Last publish

Collaborators

  • iqbalfn