Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

154
Views
Obtener URL y consulta del evento onNavigationStateChange de WebView

Actualmente puedo obtener la URL base de una página cuando se hace clic con la siguiente configuración de WebView

 const handleUrlChange = (url:string) => { if (url == videUrl) return; setVideoUrl(url); console.log(url); }; <WebView startInLoadingState={true} source={{ uri: 'https://m.youtube.com/'}} onError={err => console.warn(err)} originWhitelist={['https://m.youtube.com/']} onNavigationStateChange={({ url }) => { urlChangeHandler(url) }} />

El problema es que no se muestra la URL completa .

Cuando vaya a https://m.youtube.com/watch?v=aqz-KE-bpKQ , solo https://m.youtube.com/ regresa como url . Necesito poder leer watch?v=aqz-KE-bpKQ también para identificar a qué video ha navegado un usuario.

¿Cómo puedo recuperar la URL completa?

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!