Arcore-android-sdk: Need API to detect whether devices supports ARCore

Created on 6 Feb 2018  路  9Comments  路  Source: google-ar/arcore-android-sdk

Apps that wish to run on both ARCore supported and ARCore unsupported device need a runtime API to be able to determine whether the current device supports ARCore.

bug feature request fixed in upcoming release

Most helpful comment

Any update on the China 'situation'?

All 9 comments

The 1.0 release today introduces a new API for detecting device compatability (reference docs).

@eAi Thanks! Fixed it.

Isn't this just a check to see whether ARCore app is installed on the device ?. But how do we detect whether ARCore is supported on the devices without installing the ARCore apk ?

Because i tried using the check availability method on a device that supports ARCore but doesn't have the Arcore app. It gives a device unsupported status. And when i install the ARCore apk then it shows device supported.

At the moment the checkAvailability test works by asking the Google Play Store if the device can download ARCore. This obviously won't work in cases where the device cannot access the Google Play Store, such as networks with aggressive egress firewalls. In these cases, the only way for a device to be deemed "supported" is if some version of ARCore is present on the device.

In the case of devices in China, we're working on improving this situation.

Any update on the China 'situation'?

I've tested this feature and gives me a false positive in Nvidia shield device. I will release this to production but I'm afraid of this false positives cases.

hi guys i faced a situation that my device is api level 24 so the api checkAvailability returns supported but not installed but actually the device is not supported in the list of devices in arcore supported list how can id check this ???

my device is sumsung note5

at runtime returns supported but not installed so user is guided to google play services for arcore page in app store but because of unsupported version says its not compatible with this version of your device and when user press back button it throws user decline exception but actually device is not supported and not exists in arcore supported devices just because of api level it passes the conditon !!!!

how can i control this situation and find out device is not actually supported ?????????

Was this page helpful?
0 / 5 - 0 ratings