PayPoint Device Binding Plugin
npm install ppi-device-binding
npx cap sync
echo(...)
checkPermission()
checkSMSPermisson()
checkSimPresent()
getSubscriptionIds()
sendMessage(...)
setSmartIntent(...)
iOSComposeSMS(...)
echo2(...)
requestWithWrapper(...)
iOSSimPresent()
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
checkPermission() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
checkSMSPermisson() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
checkSimPresent() => Promise<{ value: boolean; }>
Returns: Promise<{ value: boolean; }>
getSubscriptionIds() => Promise<{ value: any; }>
Returns: Promise<{ value: any; }>
sendMessage(options: { destinationNumber: string; sourceNumber: string; messageContent: string; subId: number; }) => Promise<{ value: boolean; }>
Param | Type |
---|---|
options |
{ destinationNumber: string; sourceNumber: string; messageContent: string; subId: number; } |
Returns: Promise<{ value: boolean; }>
setSmartIntent(options: { enable: boolean; }) => Promise<{ value: boolean; }>
Param | Type |
---|---|
options |
{ enable: boolean; } |
Returns: Promise<{ value: boolean; }>
iOSComposeSMS(options: { destinationNumber: string; messageContent: string; }) => Promise<any>
Param | Type |
---|---|
options |
{ destinationNumber: string; messageContent: string; } |
Returns: Promise<any>
echo2(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
requestWithWrapper(options: { url: string; method: string; parameters: object; headers: object; }) => Promise<{ value: any; }>
Param | Type |
---|---|
options |
{ url: string; method: string; parameters: object; headers: object; } |
Returns: Promise<{ value: any; }>
iOSSimPresent() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>