Add distance contact (new install)- then switch the internet off and connect via bluetooth
Settings location services are off on both devices, Briar app permissions settings for location = OFF wifi and internet connection on both devices is ON
Steps to Execute
- To add contact at a distance, share the code generated by Briar via sms, or mail or any other app.
- Paste the code received from the contact (on both devices)
- Verify that the newly created contacts see each other as online (the online indicator is green)
- Verify that they can send each other messages
- Then go to settings in Briar app, and switch the internet and wifi and bluetooth off in one device
- Perform the 'connect via BT'
- Both devices request the location services to be turned on and then successfully make the connection
- The online indicator turns green
- Both contacts receive success notifications: successfully connected via BT
- Contacts can send each other messages
Only one device connects via BT
- When internet connetion is lost, then device 1 can try to connct to device 2 via BT
- The insturctions on the screen say that both devices have to go through the process simultaneously, but actually that is not the case
- If dvice 1 tries to reconnect to device 2 via BT (the contacts were created at a distance between these two originally), then if device 2's BT setting within the Briar app is ON, device 1 can reconnect to it, even if device 2 doesn't do anything.
- This means that device 2 doesn't have to give consent to device 1 to connect to it via BT.
- This is as expected, as the feature was not designed for every user to be obliged to give consent for every BT reconnection - mattermost, Friday 21/1/2022 "we don't intend that the user should have to consent to every bt connection. if the devices have never connected before then it may be necessary for both users to use the connect-via-bt feature at the same time in order to connect. but if a connection is possible without the users both needing to do that, isn't that a good thing?"
- This also means that the device 1 user gets a toast message that says "UNable to connect via BT", when in reality they have successfully connected. In this way the users actual experience does not match the toast message. This is not a bug, according to mattermost of 21/1/2022 "yes, i think we already encountered this problem while developing the feature. the problem is that we have to decide at some point that our connection attempt hasn't (yet) succeeded, so that we can give the user a status update. and it's always possible that a connection will be opened shortly after that point. maybe there's some other way we could design the ux so this doesn't seem like a bug, but i don't know what that would be"