Closed borozcod closed 2 years ago
Yeah so the boxes only get created if a lat and long get detected, if not it just returns nothing. I believe it gives an error if it doesn't pick up a coordinate.
Try it out outside and see if it picks them up. We should probably share a session that we know picks those up.
Update
I added the needed configurations for location support and updated our anchors to be ARGeoAnchor.
How to test
There are 2 ways to test the app
Use your camera in a compatible area
Edit the project schema
Make sure that
ARKit [] Replay Data
is uncheckedUse a AR Session
An AR Session is a pre-recorded video of a location that supports geo anchors. Instead of opening your camera, the video will play. You are able to drop messages in the video. Edit the schema (as shown above). Check
ARKit [*] Replay Data
and select the .mov file from your computer.important The .mov file can not be added to github, it's too large. I added it to the gitignore. We can just share the .mov file between us.
Key notes
The app only adds the message if it's able to detect a coordinate system within the real world. So if you're tapping and tapping and nothing get's added, it's probably because it's not picking up any real-world coordinates or geo anchors are not supported in your area. I print on the console if it's supported.
Fixes: #21