2.5.0 • Published 2 months ago

indigitall-capacitor-plugin v2.5.0

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
2 months ago

indigitall-capacitor-plugin

Capacitor Indigitall Plugin

Install

npm install indigitall-capacitor-plugin
npx cap sync

API

requestPushPermission()

requestPushPermission() => Promise<any>

Returns: Promise<any>


getPushPermissionStatus()

getPushPermissionStatus() => Promise<any>

Returns: Promise<any>


initialize(...)

initialize(params: { config: any; }) => Promise<any>
ParamType
params{ config: any; }

Returns: Promise<any>


deviceGet()

deviceGet() => Promise<any>

Returns: Promise<any>


deviceEnable()

deviceEnable() => Promise<any>

Returns: Promise<any>


deviceDisable()

deviceDisable() => Promise<any>

Returns: Promise<any>


topicsList()

topicsList() => Promise<any>

Returns: Promise<any>


topicsSubscribe(...)

topicsSubscribe(params: { topics: string[]; }) => Promise<any>
ParamType
params{ topics: string[]; }

Returns: Promise<any>


topicsUnsubscribe(...)

topicsUnsubscribe(params: { topics: string[]; }) => Promise<any>
ParamType
params{ topics: string[]; }

Returns: Promise<any>


sendCustomEvent(...)

sendCustomEvent(params: { customEvent: any; }) => Promise<void>
ParamType
params{ customEvent: any; }

getPush(...)

getPush(onSuccess: OnPushSuccessType, onError?: OnErrorCallbackType | undefined) => OnPushSuccessType
ParamType
onSuccessOnPushSuccessType
onErrorOnErrorCallbackType

Returns: OnPushSuccessType


onIndigitallGetPush(...)

onIndigitallGetPush(onSuccess: OnPushSuccessType, onError?: OnErrorCallbackType | undefined) => OnPushSuccessType
ParamType
onSuccessOnPushSuccessType
onErrorOnErrorCallbackType

Returns: OnPushSuccessType


clearViewUrl()

clearViewUrl() => void

setDefaultViewUrl(...)

setDefaultViewUrl(params: { defaultView: string; }) => void
ParamType
params{ defaultView: string; }

onMessageReceived(...)

onMessageReceived(onSuccess: OnMessageReceivedSuccessType) => OnMessageReceivedSuccessType
ParamType
onSuccessOnMessageReceivedSuccessType

Returns: OnMessageReceivedSuccessType


isPushSecure(...)

isPushSecure(params: { notification: any; }) => Promise<any>
ParamType
params{ notification: any; }

Returns: Promise<any>


getToken()

getToken() => Promise<any>

Returns: Promise<any>


isIndigitallPushNotification(...)

isIndigitallPushNotification(params: { notification: any; }) => Promise<any>
ParamType
params{ notification: any; }

Returns: Promise<any>


logIn(...)

logIn(param: { externalCode: string; }) => Promise<any>
ParamType
param{ externalCode: string; }

Returns: Promise<any>


logOut()

logOut() => Promise<any>

Returns: Promise<any>


Interfaces

JSON

An intrinsic object that provides functions to convert JavaScript values to and from the JavaScript Object Notation (JSON) format.

MethodSignatureDescription
parse(text: string, reviver?: ((this: any, key: string, value: any) => any) | undefined) => anyConverts a JavaScript Object Notation (JSON) string into an object.
stringify(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined) => stringConverts a JavaScript value to a JavaScript Object Notation (JSON) string.
stringify(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined) => stringConverts a JavaScript value to a JavaScript Object Notation (JSON) string.

Type Aliases

OnPushSuccessType

(push: Push): void

Push

{ title: string; body: string; image: string; data: string; securedData: string; action: PushAction; buttons: PushButton; }

PushAction

{ url: string | null; app: string | null; market: string | null; share: string | null; call: string | null; noAction: string | null; }

PushButton

{ label: string; action: PushAction; }

OnErrorCallbackType

(error: ErrorCallback): void

ErrorCallback

{ message: string; }

OnMessageReceivedSuccessType

(json: JSON): void

2.5.0

2 months ago

2.4.1

2 months ago

2.4.0

3 months ago

2.3.1

5 months ago

2.3.0

6 months ago

2.2.0

7 months ago

2.1.0

8 months ago

2.0.5

11 months ago

2.0.6

11 months ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.4

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.4.1

2 years ago

1.4.0

2 years ago

1.2.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago