Skip to content

Trouble undersstanding how to use a specific version of ARCore in Unity project and relationship with the Google Play Services for AR #175

@tsoen

Description

@tsoen

Summarize your feature feedback
Hello,

I am trying to make use of the new Flash Torch management using ARCore introduced in v10.27.3.
I followed the instructions here (https://developer.vuforia.com/library/platform-support/using-arcore-vuforia-engine#manually-include-arcore), added the arcore_client.aar (v1.47.0) and unchecked Include ARCore Library

During Vuforia initialization, I got this error :

Found and imported ARCore library.
ARCore version installed on device: 1.38.231530493
ARCore is not available to Vuforia, it reports that the installed version is too old.

I checked for the Google Play Services for AR on the device, and indeed it was not up-to-date.
After updating it, everything works fine :

Found and imported ARCore library.
ARCore version installed on device: 1.47.243160293
ARCore Version: SDK build name: 1.47
ARCore Version: APK version code: 243160293

However this situation left me a little bit confused.

This means that if we include the latest ARCore library (.aar) into our app, but the user did not recently update the Google Play Services for AR on his tablet, Vuforia will be completely unusable ?
If that's the case, how can we "catch" this error and inform the user that he needs to update it himself ?
Or even, what would happen if the latest version of Google Play Services for AR is not supported on the device ? The user could not update it and Vuforia would not work because our app would be using an ARCore library that is too recent.

Also, when checking the Include ARCore Library in VuforiaConfiguration, we can see that used version is 1.36.0.
Why is the included version of the ARCore library 1.36.0 and not at least 1.45 (necessary for the new Flash Torch management) ?

Business impact
Vuforia would not work at all for some users with no clear indication on why, if we decide to specify a recent version of the ARCore library.

Workaround
No

Additional context
Also I hoped that adding the ARCore library manually would remove the need for the Google Play Services for AR application to be installed, but this is probably off-topic. (We have users using tablets under a very restricted network, and the Google Play Store is not available to download the Google Play Services for AR app, we have to manually add the APK to the private store of these tablets).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions