react-native-device-info - v15.0.1
    Preparing search index...

    Function hasSystemFeature

    • Reports whether the requested Android system feature is available on the device.

      iOS ❌ Android ✅ Windows ❌ Web ❌ visionOS ❌

      Parameters

      • feature: string

      Returns Promise<boolean>

      const hasCamera = await hasSystemFeature('android.hardware.camera.any');