Originally reported in https://github.com/wordpress-mobile/gutenberg-mobile/pull/716#issuecomment-472157221
yahoo com instead of yahoo.com, and dismiss the links uiyahoo and com yahoo and tap the links button -> observe the links ui shows emptycom and tap the links button -> observe the yahoo com (invalid) address appears there.I can't seem to reproduce this issue on Android.
I also have some questions about testing steps @mzorz , in particular the points no.2 and 3.
place the cursor on a word
Not quite sure what you mean here, move the caret in the middle of a word and then tapping on the link button? Should I select the word before?
In both cases it seems to work fine, if I don't select the previous word, two new words are inserted in the editor, where the caret was positioned, and the "link" is just one. When you try step 5 and 6 both open the correct UI with the data filled in.
When testing this I also noticed a problem with the link UI. @pinarol @etoledom
When I insert a link, and then position the caret at the end of the newly inserted link, and tap again on the Link button the Inserter UI has the Link Text field empty.
Steps to repro:

Link Text is empty in the UI)

Hey @daniloercoli - I have seen that issue too. It happens in both iOS and Android.
This value comes from the format-library. My guess would be that something wrong is happening here: https://github.com/WordPress/gutenberg/blob/dadd86399abd618e7b7f933b0f1a94cc91d8ffb7/packages/format-library/src/link/index.native.js#L66
But I haven't really checked it out deeply enough to be sure.
I think that's the expected behavior, which seems odd because you are pasting something that's not a URL. The logic here is that if you just typed wordpress.org in the URL field, it would actually insert <a href="http://wordpress.org">wordpress.org</a>, which makes sense to me.
I'm closing this but feel free to reopen if I misunderstood the issue
Good, just re-tried this and couldn't observe the issue anymore
Just for clarification (sorry @daniloercoli that I missed your ping before):
place the cursor on a word
I meant, placing the caret in the middle of the word, for example "this is a wo|rd" (imagine | being the caret), then tapping the url icon in the toolbar and _there_ entering a URL that has spaces in it (that is, an invalid URL).
Anyway, tried it just now and couldn't observe the situation anymore, so OK to keep this closed 馃憤