-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sharing nearby not working properly #4905
Comments
Let's fix this:
and then re-evaluate this:
|
I was not able to reproduce such situation with iOS simulator, but found atleast one nearby issue. After one user A became nearby, another B sees him correctly, but A doesn't see B. cc @southerneer @toland As I understand the issue above happens because A doesn't receive 'nearby' start location (for B), but B - receives it normally (for A) |
Note: If user A leaves (2km) and returns to the nearby User B and User B has the app open. User B will see User A properly sharing but once User B does a kill/reload they no longer appear sharing location nearby. I was able to easily reproduce this. Steps to see user sharing:
Steps to see user with motion emoti after deep link but not sharing:
|
I think the issue has to do with this line: https://github.com/hippware/rn-chat/blob/master/src/model/Profile.ts#L127
|
Not yet he's not :) I'm going to talk to Pavel tonight (my time) and establish what exactly (if anything) is actually needed from the server because at this point it's not clear that the client doesn't have what it needs. |
Okey, we talked with Bernard and agreed that 'share nearby' start event is not good mechanism to use, so I changed the app to use location property - so a user is 'active' while the server sends location for him. So it works better now, but I found two issues:
|
@aksonov I've just merged some changes to the server that should address the two issues you mentioned. Those changes will be going to |
Codepush Staging- Pavel "4905 - sharing nearby" Issue 1: Issue 2: I'm also unable to get any push notifications to generate for nearby, when entering the radius. |
This is now working good for me after the server deploy. |
Users that are nearby each other do not dynamically show sharing on the header or map (Pink ring around avatar is missing). However if the users move the action emoti appears on the header.
The text was updated successfully, but these errors were encountered: