raavailability 0.1.6
raavailability: ^0.1.6

Flutter Android iOS

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

raavailability #

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.

0
likes
90
pub points
55%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

gabrielbum@gmail.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on raavailability