snikket-im / snikket-android

Snikket Android client
https://snikket.org/app/
GNU General Public License v3.0
97 stars 18 forks source link

Tapping back - while creating an account or changing a password - result in not saving generated credentials in Snikket app. #17

Open mmigel opened 3 years ago

mmigel commented 3 years ago

Mentioned by @horazont on Snikket Development MUC.

Reproduction steps:

  1. Reinstall Snikket app or delete account.
  2. Generate password reset link in web-portal.
  3. Open it with Snikket app or scan QR code.
  4. Confirm the account name, go to the screen where the username and password will be displayed.
  5. After tapping 'NETX' on that screen - immediately (or below 1 second in my case) tap back button on your phone.
  6. Generated credentials will not be saved in the application and the links will be deactivated.

Details:

When you create new account from invitation or use password reset link, on last step you will see screen with generated credentials to your account. Like this one: photo_2021-04-24_22-35-18

After taping 'NEXT' that button change it's status to 'CONNECTING...'. In my case that connecting time last just over 2 seconds. If you tap back button on your phone immediately (or below 1 second in my case) after tapping 'NEXT', you will back to that screen: photo_2021-04-24_22-35-19

When you tap back once again and reopen Snikket app, then you will see your circle MUC, you can even send message in it. But when you open 'manage accounts' menu - it's empty: photo_2021-04-24_22-35-16

Invitation link or password reset link will be deactivated now. After killing Snikket app, you will see once again this screen: photo_2021-04-24_22-35-14

It works also with invitation to Snikket app. After choosing username you will be see that summary screen, where you do as above. What's interesting - on avatar screen it's blank and you can't change it: photo_2021-04-24_22-35-22