react-native-url-preview icon indicating copy to clipboard operation
react-native-url-preview copied to clipboard

link https://fb.watch is not working

Open Alexei-Lashakov opened this issue 5 years ago • 4 comments

Component <RNUrlPreview text={'https://fb.watch'} onError={(error) => console.log('eere', error)} onLoad={console.log} /> creates such view: fb watch

Handler onLoad outputs this info:

contentType: "application/vnd.wap.xhtml+xml; charset=utf-8"
favicons: ["https://m.facebook.com/favicon.ico"]
mediaType: "application"
url: "https://m.facebook.com/watch"

Handler onError does not firing.

So, when I tap this url preview, I get this error:

TypeError: Cannot read property '0' of null

Alexei-Lashakov avatar Dec 07 '20 11:12 Alexei-Lashakov

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.98. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Dec 07 '20 11:12 issue-label-bot[bot]

Same issue with FB link. How to solve it out? Provide code if you fix this for fb. Thanks in advance

jphim281 avatar Dec 09 '20 02:12 jphim281

anyone found any solution ? same issue

mir1198yusuf avatar May 20 '21 16:05 mir1198yusuf

Hi, Sorry I was quite busy and didn't look into the package for a while, I'll take a look at this in the next few days

maherzaidoune avatar Jun 29 '21 09:06 maherzaidoune