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

198
Views
Error de navegación: Null no es un objeto (evaluando '_navigation$getParam.id')

No sé por qué mi navegación no funciona correctamente, me arroja el siguiente error cada vez que quiero navegar de regreso a mi pantalla EventAssistants desde mi pantalla UserProfile :

TypeError: Null is not an object (evaluating '_navigation$getParam.id')

Tengo mis navegadores de pila definidos de la siguiente manera:

 const SearchStack = createStackNavigator( { Map: Map, Search: Search, SearchPeople: SearchPeople, FollowerProfile: Profile, // <- This is where I try to go back to the EventAssistants screen ... }, { initialRouteName: 'Map', ... }, ); const EventEditStack = createStackNavigator( { View: EventView, EditEvent: EditEventView, EventAssistants: EventAssistants, // <- This is where I try to go back ... }, { initialRouteName: 'EventView', ... }, );

Y aquí tengo el script del botón que debería navegar a la pantalla de EventAssistants, está definido en UserProfileScreen:

 const {returnToScreen, imHostOrCoHost} = eventAssistantsItem; item = itemEvent.id; navigation.navigate('EventAssistants', {item, returnToScreen, imHostOrCoHost});

Como puede ver, la pantalla EventAssistants toma algunos parámetros, y probar con console.log() s en EventAssistants me da los parámetros esperados cuando navego desde cualquier pantalla, incluido UserProfile . Entonces, ¿cómo puedo resolver esto?

about 4 years ago · Juan Pablo Isaza
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!