flutter_ra_availability 1.0.2-arcore-client copy "flutter_ra_availability: ^1.0.2-arcore-client" to clipboard
flutter_ra_availability: ^1.0.2-arcore-client copied to clipboard

PlatformAndroidiOS
outdated

Plugin to check if AR is available on android and ios devices.

Flutter AR Availability #

A flutter plugin that check if AR is available for Android and IOS. To check for android we use com.google.ar.core and to check for IOS we use ARKit.

Getting Started #

You have to put in your AndroidManifest.xml inside application <meta-data android:name="com.google.ar.core" android:value="required" /> or <meta-data android:name="com.google.ar.core" android:value="optional" />

Android #

If device supported RA and already have Google Play Services for RA installed, the method RaAvailability.isSupported returns true, if Google Play Services for RA isn't installed yet, we ask the user to install, open the Google Play Services for RA page at play store and RaAvailability.isSupported returns false.
After that, if the device is able to install and the user install, the RaAvailability.isSupported will return true. If the user dont install, the RaAvailability.isSupported will keep returning false.

IOS #

For Ios if device have IOS 11 or higher we check ARKit.isSupported, otherwise will return false.

Example #

See the example file.

3
likes
145
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

Plugin to check if AR is available on android and ios devices.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_ra_availability

Packages that implement flutter_ra_availability