Azure / azure-spatial-anchors-samples

Azure Spatial Anchors sample code
Other
293 stars 139 forks source link

ASA SDK 2.7.0 is the Minimum Version #232

Open msftradford opened 3 years ago

msftradford commented 3 years ago

As is referenced in our release notes for the ASA SDK, version 2.7.0 will become the minimum version on February 3, 2021. Starting on that date, any client application using earlier versions of the ASA SDK will not be able to connect to the ASA service. Client applications that are using prior versions of the SDK will receive an error message when attempting to connect to the service.

msftradford commented 3 years ago

The relevant error messages to be on the lookout for are given below:

Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.
Service unavailable or unspecified error found
bilalseh commented 3 years ago

Hello, Is there a way to know what SDK version our application is using from the Azure portal? If not, how to check the version from the application (Unity Android/IOS) using the SDK (SpatialAnchorManager for example)? Note: We installed 2.7.1 from the package manager but we need to make sure the old SDK is totally deleted and not used anymore.

msftradford commented 3 years ago

Hi @bilalseh, thanks for the question. If you are using the SpatialAnchorManager in Unity, you'll want to bump the "Log Level" of the SpatialAnchorManager inside the Inspector to at least "Information". Then, once you create a new ASA session, you should see the relevant information in your logs. It should look something like the following:

AzureSpatialAnchors - Session Identifier: ...
AzureSpatialAnchors - AnchorServiceUrl: https://manage.sa.mixedreality.azure.com/
AzureSpatialAnchors - AuthServiceUrl: https://sts.mixedreality.azure.com/
AzureSpatialAnchors - AccountId: ...
AzureSpatialAnchors - DeviceOsVersion: 14.3
AzureSpatialAnchors - SdkPackageType: 
AzureSpatialAnchors - SdkVersion: 2.7.1
ghostravenstorm commented 3 years ago

Is this version going to get LTS? My team is currently struggling to get our ASA apps working again.

msftradford commented 3 years ago

Hi @ghostravenstorm, thanks for the question! ASA tries to avoid breaking changes as much as possible. ASA SDK 2.7.0 has become the minimum version because of an Azure-wide certificate change. In the rare scenario where we will be implementing breaking changes, we send out communications to the email tied to the ASA account. I would make sure that you keep that email address up-to-date in your account settings.

jasimmj commented 3 years ago

Is it required to add SPATIALALIGNMENT_ASA preprocessor directive for 2.7 and above versions? I am getting error in unity when i add the preprocessor directive.

shreya-sharma commented 3 years ago

Hi @jasimmj, we do not expect any preprocessor directives to be set by the user in Unity. Could your issue be related to this tool: Spatial Alignment?