title: url.pathname or url.searchParams is not a function in android react native
body: <p>I am working on android react native project and i get URL for deep linking . I am trying to find the pathname and search parameters from the following url : <a href="https://test.xxx.com/test/test?test=moduleName" rel="nofollow noreferrer">https://test.xxx.com/test/test?test=moduleName</a> . </p>
  
  <p>var url = URL("<a href="https://test.xxx.com/test/test?test=moduleName" rel="nofollow noreferrer">https://test.xxx.com/test/test?test=moduleName</a>");
  console.log(url.pathName);</p>
  
  <p>The code gives the following exception "Error: not implemented" . 
  I also installed URL package from node . What am i missing ?</p>