requestArCoreInstall static method

Future<bool> requestArCoreInstall()

Requests installation of ARCore on the device.

Only meaningful on Android when isVpsAvailable returns VPSAvailability.supportedNotInstalled. Shows an in-app install prompt.

Returns true if ARCore is already installed, false if the install was requested (download in progress). On iOS this is a no-op returning true.

Throws PlatformException if the user declines or an error occurs.

Implementation

static Future<bool> requestArCoreInstall() async {
  return await NativeSdkMethodChannel.requestArCoreInstall();
}