meteor-react-native
meteor-react-native copied to clipboard
Application getting redirected to home screen(User dashboard, Initial landing page)
trafficstars
We have our application built using react native(version 0.63) and meteor(version 2.5). for connection we are using @meteorrn/core.
But these are the issues that we have been facing very frequently:
- When we go to a particular app flow through navigation all of a sudden we are redirected back to our home screen(initial screen after a small glitch: perhaps disconnection and reconnection)
- Inside withtracker we are calling meteor.subscribe but a particular publish is being called around 6-7 times instead of once(we are able to see this in the logs from backend publish method and UI code inside withtracker callback)
- When we navigate through a flow , going through multiple screens all of these screen components are getting saved in navigation stack. And most undesirable part is Meteor.subscribe for all of these screens are getting called multiple times even when we are not in that particular screen.
Able to reproduce this on android and iPhone
Hi @sujaykumardas16111993, sounds like these issues are not all related to the @meteorrn/core package (this package has nothing to do with navigation). For your second issue where the publication gets called multiple times could your provide the code or a reproduction?
Closing this issue due to no activity. Feel free to reopen.