Predefined action types for reporting user actions via triggerAction(). For the complete list of action types and their descriptions, see Recommendations.
| Member | Value | Description |
|---|---|---|
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 |
import { triggerAction, TSAction } from 'react-native-ts-accountprotection';
const response = await triggerAction(TSAction.login);