ARCore SDK for iOS v1.20.0
Breaking & behavioral changes
- Beginning in December 2020, AR-enabled apps built using ARCore SDK 1.11.0 or earlier will no longer be able to host or resolve Cloud Anchors. Apps built with ARCore SDK 1.12.0 or later are unaffected. To learn more about this breaking change, and for instructions on how to update your app, see the Cloud Anchors deprecation policy.
New APIs and capabilities
- Added persistent Cloud Anchors, which let you increase the time-to-live (TTL) of Cloud Anchors to 365 days. With the Cloud Anchor Management API, you can also extend the lifetime of a Cloud Anchor. Use of persistent Cloud Anchors is covered by the new Cloud Anchors deprecation policy.
- Use
sessionWithError:
to replacesessionWithAPIKey:
to create a Cloud Anchor with a TTL longer than 24 hours. setAuthToken:
passes a token (generated for Persistent Cloud Anchors) to your ARCore session.hostCloudAnchor:TTLDays:error:
assigns the number of days for a Cloud Anchor's lifetime.estimateFeatureMapQualityForHosting:
returns the estimated quality of the visual features seen by the camera in the preceding seconds.
- Use
Deprecations
None.
Other changes
None.
Bug fixes
None.