6.0.0 • Published 11 months ago

capacitor-phone-hint v6.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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

PropTypeDescriptionSince
phonestringPicket phone number1.0.0