I’m using the following code to check if a device is supported:
private void OnSystemStateChanged(ARSystemStateChangedEventArgs aRSystemStateChangedEventArgs)
{
ARSystemState = aRSystemStateChangedEventArgs.state;
if (IsSupported == false)
{
if ((int)aRSystemStateChangedEventArgs.state == (int)ARSystemState.Ready)
{
IsSupported = true;
if (PlayerPrefs.HasKey(GameConstants.AREnabled) == false)
{
ARSettingsChange(true);
}
}
}
}
It works on most devices however some Apple devices are passing the test yet are not supported.
Devices that passed that shouldn’t include:
iPad Mini 2.
iPod Touch (5th generation)