td icon indicating copy to clipboard operation
td copied to clipboard

Testing registration with tdlib built custom client

Open Fra078 opened this issue 3 years ago • 3 comments

Tdlib is a powerful tool to create custom clients, but trying to test registration for new user is very difficult. After I created an account how can I check if sign-in works? There is the possibility to use a developer mode with a demo backend to simulate registration process?

Fra078 avatar Sep 14 '22 01:09 Fra078

The authorization process is the same as in all other clients. You will receive updateAuthorizationState if authorization state is changed.

levlam avatar Sep 15 '22 11:09 levlam

I know, but for testing purposes of registration process (screens and behavior) there is a way to simulate it?

Fra078 avatar Sep 15 '22 11:09 Fra078

No. But you can use test DC, which has test accounts: https://core.telegram.org/api/auth#test-accounts.

levlam avatar Sep 15 '22 12:09 levlam