react-native-url-preview
react-native-url-preview copied to clipboard
Issue with some URLs
Description REGEX match returns null for this url example.
URL Example: https://lightning.engineering/posts/2021-11-30-lightning-terminal
[Screenshot]

+1
There is no error when I use the url you provided, it works as intended
@mohamedsamara I can confirm with your link I also don't have any issue but with this one that I am currently having and trying to debug it on Android since on iOS the app is not crashing as Android does:
The link with problems: https://donate.giveasyoulive.com/donate?eid=19178
hi @Mihai-github , I confirm your link cause crash app iwith Android, did u found any solution?
hi @Mihai-github , I confirm your link cause crash app iwith Android, did u found any solution?
Hi, uhh a bit long time passed since that issue :)) . I could not find a reason why the link had issue. Every test I did worked but something was wrong with that link...
We had to removed it from production manually and hope we don't have any more issues with links like this..
But what I think is something breakes with the native system trying to make the requst to get the metadata of that site but could not find what exactly 🤔 the operating system did no like about it 😅
If someone would find out maybe will leave us the answer to know for future issue... would help many I guess 😁
i sure some props is null for this case, so it's make app crash. So I think we need add '?' for ensure avoid crash