title: How to check if device supports face authentication for BiometricPrompt
body: <p>In my project, we're adding this biometric authentication feature using BiometricPrompt. The biometric can be enabled in the app's settings but the app also needs to display if face biometric is supported on the user's device.</p>
  <p>Based on my research, the official way of checking if an android device has face biometric is through this code below:</p>
  <pre><code>val hasFaceBiometric = packageManager.hasSystemFeature(PackageManager.FEATURE_FACE)
  </code></pre>
  <p>However, this check seems to be unreliable as it only returns true on Google Pixel 4. I tested our app on Samsung Galaxy S9 and S10 and they both seem to support face biometric but the weird thing is, the code above returns false.</p>
  <p>With the current state of face biometric in android, is there really a reliable way to check face biometric support?</p>