tinode / ios

Tinodios: Tinode Messaging Client for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS App Crashed when signing up

damoncoo opened this issue · comments

If you are not reporting a bug, please post to https://groups.google.com/d/forum/tinode instead.

Describe the bug
App crashes when signing up

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'SignUp'
  2. Click on 'SignUp'
  3. Crashes

Expected behavior
No Crash

Screenshots
If applicable, add screenshots to help explain your problem.
截屏2023-06-05 23 19 38

Tinodios (please complete the following information):

  • Version [e.g. 0.22]
  • Device [e.g. Simulator iPhone 14 Pro]
  • iOS version, 16.4

Server

  • Server type web.tinode.co
  • Server version 0.22.8

Additional context
No Token

commented

Thanks for reporting.
f8cb428

LMK if you see it again.

commented

@aforge I think there is more to it. The server indeed did not return the token when it should have. Please take a look at the log in the attached picture. It seems like Acc.Login was treated as if it was false. I suspect @damoncoo is running a modified server.

commented

@damoncoo What do you use for a server?

@damoncoo What do you use for a server?

I am using web.tinode.co, also tried api.tinode.co, same issue

I changed the email with different one, it worked.

I think it is the email issue, the email I used to sign up is already registered with another user. When I sign up with different user id but same email, it gives the error. Since the email is unique, it should not reply with successful message.

commented

Thanks. I was able to reproduce server-side error.

commented

I believe it's completely fixed.