ar_core_new 0.0.1 copy "ar_core_new: ^0.0.1" to clipboard
ar_core_new: ^0.0.1 copied to clipboard

PlatformAndroid

Flutter plugin exposing ARCore Android SDK functionality.

ar_core_new #

Flutter plugin that exposes ARCore Android SDK APIs via method channels.

Platform Support #

  • Android only
  • Not supported on iOS, web, macOS, Linux, or Windows

Android Requirements #

  • Flutter 3.11+
  • Min SDK 24
  • ARCore SDK com.google.ar:core:1.52.0
  • Camera permission in merged manifest

Usage #

final arCore = ArCoreNew();
final availability = await arCore.checkAvailability();
final supported = await arCore.isSupported();

if (supported) {
  await arCore.createSession(
    config: const ArCoreSessionConfig(
      depthMode: ArCoreDepthMode.automatic,
      planeFindingMode: ArCorePlaneFindingMode.horizontalAndVertical,
      lightEstimationMode: ArCoreLightEstimationMode.environmentalHdr,
    ),
  );
  await arCore.resumeSession();
}

Available operations:

  • checkAvailability()
  • isSupported()
  • requestInstall()
  • createSession(...)
  • updateSessionConfig(...)
  • resumeSession()
  • pauseSession()
  • closeSession()
  • isDepthModeSupported(...)
0
likes
140
points
67
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin exposing ARCore Android SDK functionality.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on ar_core_new

Packages that implement ar_core_new