[UI/UX] App stuck at startup, when a wrong uri is entered at account creation ("unsupported URL")
Expected behaviour
- Tap Nextcloud Icon to start app
- Get notification, that an errorneous URL has been used to create a new account
- Get possibility to change mistake
Actual behaviour
- Tap Nextcloud Icon to start app
- Get notification ("unsupported URL"), that an errorneous URL has been used to create a new account
- Mysterious White Loading screen shows up, no buttons whatsoever, no information of how to proceed
- App is stuck. no possibility to advance or correct mistake (see screenshot)
might be related to
https://github.com/nextcloud/ios/issues/47
Steps to reproduce
- create 2 accounts that work (i have my private nextcloud and my work owncloud account)
- try to create a third account and insert an invald/incomplete/seemingly valid url, that still does not work e.g "blubber.dfr" without protocol (https and http)
- restart app
iOS version
13.3
App version
can't say (everything up to date at 28.1.2019)
Server configuration
Operating system:
Web server:
Database:
PHP version:
Nextcloud version: (see Nextcloud admin page)
screenshot: 
@gruzilla I don't understand, the first "page" request ad URL, if I insert a.g. blubber.dfr the system response with a Connection error.
dear @marinofaggiana , thanks for replying!
indeed. the example was bad. i had to try a couple of times to really recreate the problem. it could be, that it is also depending on the server.
- click create account
- insert valid url
- insert username and password
- go to the url field and remove the protocol
- click login (see screenshot)
i know, that really is an edge case, and i dont see the problem at account creation, but that once the wrong url got in, the app is stuck in this error-loop. this might also be connected to the single-sign-on-redirect the new provider i am trying to connect to has.

I got into this state when entering an incorrect server URL. It may have to do with my network configuration, trying to log into a server behind the company firewall over an IPSEC VPN.
In any case, if the app cannot log in to the server last tried, it shows a blank white screen with a spinner in it, after a while a red ERROR message, e.g. a timeout or "a server with the specified hostname cannot be found", but the white screen with the spinner remains for longer than I was willing to wait - many minutes. I tried starting the app in airplane mode, hoping that it would realize that there was no network and no way to log in to a server, maybe presenting the opportunity to fix the URL. Nope.
The only solution I have found is to delete the app and all user data, then re-download and try again.