Implementation of Android phone-hint feature for capacitor project.
It only support android for now.
npm install capacitor-phone-hint
npx cap sync
import { PhoneHint } from 'capacitor-phone-hint'
PhoneHint.requestHint()
.then(res => {
console.log(res.phone);
})
requestHint() => Promise<PhoneNumber>
Request the phone number dialog picker
Returns: Promise<PhoneNumber>
Since: 1.0.0
Prop | Type | Description | Since |
---|---|---|---|
phone |
string |
Picket phone number | 1.0.0 |