@blinkglobal/deeplink
v0.0.9
Published
Blink Deeplink SDK plugin
Downloads
216
Readme
Blink Deeplink Plugin
Blink Deeplink Plugin
Install
npm i @blinkglobal/deeplink
npx cap syncAPI
echo(...)handleDeepLink(...)initializeSDK(...)addListener('deepLinkSuccess', ...)removeAllListeners()- Interfaces
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
handleDeepLink(...)
handleDeepLink(options: { url: string; }) => Promise<{ keyword: string; response: string; }>| Param | Type |
| ------------- | ----------------------------- |
| options | { url: string; } |
Returns: Promise<{ keyword: string; response: string; }>
initializeSDK(...)
initializeSDK(options: { config: SDKConfig; }) => Promise<{ success: boolean; }>| Param | Type |
| ------------- | ------------------------------------------------------------ |
| options | { config: SDKConfig; } |
Returns: Promise<{ success: boolean; }>
addListener('deepLinkSuccess', ...)
addListener(eventName: 'deepLinkSuccess', listenerFunc: (event: { keyword: string; response: string; }) => void) => Promise<any>| Param | Type |
| ------------------ | ----------------------------------------------------------------------- |
| eventName | 'deepLinkSuccess' |
| listenerFunc | (event: { keyword: string; response: string; }) => void |
Returns: Promise<any>
removeAllListeners()
removeAllListeners() => Promise<void>