79749117

Date: 2025-08-28 12:59:36
Score: 0.5
Natty:
Report link

To use reCAPTCHA in Android apps, you need to use a reCAPTCHA v2 ("Checkbox") key from the reCAPTCHA Admin Console.

There is no separate "Android" key type — just create a v2 key (Checkbox type), and it works with SafetyNet.getClient(...).verifyWithRecaptcha(siteKey).

Steps:

  1. Go to reCAPTCHA Admin Console.

  2. Select reCAPTCHA v2 → "I'm not a robot" Checkbox.

  3. Leave domains blank (Android doesn’t use them).

  4. Use the site key in your app and the secret key on your backend.

Can I use a Web key?

Yes. The v2 Checkbox key works for both web and Android (via SafetyNet).

Note:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Hysen Stublla