I've implemented an app that is based on safety purposes. This app is for the two roles i.e A and B. Both users can track the location of each other. For user A, I've implemented the Mapbox and for user B I've implemented the Google Map.
For A, Mapbox provides the default real-time navigation and for B, I've used signal R which provides the location of user A. So I can navigate marker to that particular location of the A.
It's perfect working fine when User A & B are nearby. When I'm going to test with long-distance at that time signal R connection is breaking. I've created the BaseActivity for reconnecting the signal R when it'll break & it'll reconnect. But it'll take time to reconnect.
Basically this app is for security purposes so, we can not wait for reconnecting the signal R because it takes time to reconnect.
Can you pls suggest what should I do? Help will be appreciated.