Lock and Unlock
useLockAndUnlockCard
The following environment variables are required:
How to use?
Import
useLockAndUnlockCard
:
Add this code block:
How to lock card?
Use the
lockCard
function, and invokeCardsService
fromLinkerStudio/modules/baas/common/services/CardsService
to lock card:
How to unlock card?
Use the unlockCard
function, and invoke CardsService
from LinkerStudio/modules/baas/common/services/CardsService
to unlock card:
Last updated