Skip to content

TSAction

Predefined action types for reporting user actions via triggerAction(). For the complete list of action types and their descriptions, see Recommendations.

Members

MemberValueDescription
login"login"User login attempt
register"register"User registration
transaction"transaction"Financial transaction
checkout"checkout"Checkout process
password_reset"password_reset"Password reset request
logout"logout"User logout
account_details_change"account_details_change"Account details modification
account_auth_change"account_auth_change"Authentication method change
withdraw"withdraw"Funds withdrawal
credits_change"credits_change"Credits or balance change

Usage

import { triggerAction, TSAction } from 'react-native-ts-accountprotection';

const response = await triggerAction(TSAction.login);