New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

capacitor-plugin-walkme-sdk

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-plugin-walkme-sdk

A Simple SDK that allows anyone to create and manage in-app content without coding and without deployment, to maximize in-app user engagement.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

capacitor-plugin-walkme-sdk

A Simple SDK that allows anyone to create and manage in-app content without coding and without deployment, to maximize in-app user engagement.

Install

npm install capacitor-plugin-walkme-sdk
npx cap sync

API

start(...)

start(options: WMKSPair) => Promise<{ value: string; }>

Starts WalkMe SDK.

ParamType
optionsWMKSPair

Returns: Promise<{ value: string; }>


restart()

restart() => Promise<{ value: string; }>

Restarts WalkMe SDK.

This method can be called only after WalkMe start was called first. WalkMe SDK restart is allowed if current session has been running for at least 30 seconds.

Returns: Promise<{ value: string; }>


stop()

stop() => Promise<{ value: string; }>

Stop WalkMe SDK.

This method can be called only after WalkMe start was called first.

Returns: Promise<{ value: string; }>


setFlag(...)

setFlag(flag: WMFlag) => Promise<void>

Utility function for support.

ParamTypeDescription
flagWMFlagWill be given by WalkMe support team when needed

setUserID(...)

setUserID(userID: WMUserID) => Promise<{ value: string; }>

Sets user id

ParamTypeDescription
userIDWMUserIDthe user ID as a string

Returns: Promise<{ value: string; }>


setUserAttribute(...)

setUserAttribute(options: WMKVPair) => Promise<{ value: string; }>

Sets a user attribute

ParamType
optionsWMKVPair

Returns: Promise<{ value: string; }>


setUserAttributes(...)

setUserAttributes(options: WMAttributes) => Promise<{ value: string; }>

Sets multiple user attributes

ParamType
optionsWMAttributes

Returns: Promise<{ value: string; }>


setPrivateUserAttribute(...)

setPrivateUserAttribute(options: WMKVPair) => Promise<{ value: string; }>

Sets a user attribute

ParamType
optionsWMKVPair

Returns: Promise<{ value: string; }>


setPrivateUserAttributes(...)

setPrivateUserAttributes(options: WMAttributes) => Promise<{ value: string; }>

Sets multiple user attributes

ParamType
optionsWMAttributes

Returns: Promise<{ value: string; }>


cleatPrivateUserAttributes()

cleatPrivateUserAttributes() => Promise<void>

clears the private user attributes


sendTrackedEvent(...)

sendTrackedEvent(options: WMTrackedEvent) => Promise<{ value: string; }>

Sets multiple user attributes

ParamType
optionsWMTrackedEvent

Returns: Promise<{ value: string; }>


setScreenID(...)

setScreenID(screenID: WMScreenID) => Promise<void>

Set ID for a specific screen. When used, this should be called everytime the screen shows

ParamTypeDescription
screenIDWMScreenIDthe ID to set for a specific screen

setLanguage(...)

setLanguage(language: WMLanguage) => Promise<{ value: string; }>

Set the language for your campaigns. When used, the language param you pass should match the name of one of the languages you’ve set up in the console.

ParamTypeDescription
languageWMLanguagethe language for which you want the SDK to display your campaigns

Returns: Promise<{ value: string; }>


dismissCampaign()

dismissCampaign() => Promise<void>

Dismiss currently presented campaign, in case nothing is presented this API does nothing. Exception for launcher campaigns which are not affected by this API.


triggerCampaign(...)

triggerCampaign(trigger: WMTrigger) => Promise<{ value: string; }>

Launches a campaign by trigger key Once invoked, the method will show the campaign WITHOUT any of its segments (if defined)

ParamType
triggerWMTrigger

Returns: Promise<{ value: string; }>


triggerCampaignWithDeepLink(options: WMTriggerFromDeepLink) => Promise<{ value: string; }>

Launches a campaign by trigger key Once invoked, the method will show the campaign WITHOUT any of its segments (if defined)

ParamType
optionsWMTriggerFromDeepLink

Returns: Promise<{ value: string; }>


Interfaces

WMKSPair
PropType
keystring
secretstring
WMFlag
PropType
flagnumber
WMUserID
PropType
userIDstring
WMKVPair
PropType
keystring
valuestring | number | boolean
WMAttributes
PropType
attributesany
WMTrackedEvent
PropType
namestring
propertiesany
WMScreenID
PropType
screenIDstring
WMLanguage
PropType
languagestring
WMTrigger
PropType
triggerKeystring
PropType
triggerKeystring
deeplinkstring

Keywords

FAQs

Package last updated on 03 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc