-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble undersstanding how to use a specific version of ARCore in Unity project and relationship with the Google Play Services for AR #175
Comments
hi @tsoen thanks for the inquiry, your issue is somewhat related to this other one. I will try to clarify a few points:
|
Hello @ptc-emaggio Thank you for the clarifications. I was able to use the ARCore API to detect if ARCore needed to be installed or updated on the device, if supported. There is one last case that I have trouble supporting: As I said before, on one platform we have to sideload the ARCore APK to our private store. I have seen in the Vuforia / LogCat logs that you managed to get the actual ARCore version installed on the device (or 0 if not installed) : Could you please tell me how you got that information ? Regards |
Following up on previous comment, what I would need is :
This way I could compare the 2 versions manually (if ARCore cannot do it itself because of the reasons listed above) and inform the user if necessary. I believe this is something that you aare already doing :
Thanks |
Hi @tsoen We get the installed ARCore information from the PackageManager (https://developer.android.com/reference/android/content/pm/PackageManager) retrieving the PackageInfo for the ARCore package. Regarding the version bundled with the app we do not have access to the version but we only report a hash computed from the |
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 :
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 :
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
inVuforiaConfiguration
, we can see thatused 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).
The text was updated successfully, but these errors were encountered: