4. User Creation
1. Obtain an Authentication Code
2. Create a Sentiance User
import { createUser } from '@sentiance-react-native/core';
try {
const result = await createUser({ authCode: authenticationCode });
console.log(`Created a user with ID: ${result.userInfo.userId}`);
} catch(e) {
console.log(`User creation failed with error: ${e}`);
}Last updated