Testing the application
That's it! Now we can test the application.
If you have two devices, then you can test this out. Host the app on one device. On the other device, click Join, and this will open a new view in which you can select the Host
. Click on it. The host will get a notification telling you to Accept
or Decline
the connection. When they are connected, it will show Connected on the client device. Click Done
.
The client now waits for the host to send the map information. The client screen will be black until it receives the map information, so don't worry.
Now the host can map the surrounding. When the Send Map button is hit, it can send the data to the client.
The client device will take a second to receive the data, and the camera will have to refocus.
Now the host can tap the screen to create an anchor on his device and the anchor should show up on the client device. Also, the client can tap on the screen to create an anchor on his device and this will show up automatically...