Closed EkaanshArora closed 2 years ago
Log:
ChatClient: createAccount: Test, test LOG register: fail {"code": 208, "description": "Registration failed."}
Code:
ChatClient.getInstance() .createAccount(username, password) .then(() => { console.log('register: success'); setWarnText('register: success'); }) .catch(reason => { console.log('register: fail', reason); setWarnText('register: fail' + reason); });
the reason is app is not open registration by default (can create account with app token via REST api), now I update it to open registration, now you can try the createAccount API again
Log:
Code: