How to pop data between pages

I am familiar with using navctrl.push to pass data between pages, but what is the syntax for achieving this with navctrl.pop? When using the the same syntax i get an error "argument of type x is not assignable to parameter of type Function.

1 Like

did you find an answer to this ?

It’s not a provided functionality. You could consider setting the data into a shared service, which you could fetch from the service when returning to the previous page.

2 Likes