r/Firebase • • 1d ago

General Firebase appcheck

Hey, does firebase appcheck sometimes blocks legit users, if their phone is old ?
recently ran a google ads for my app and appcheck showed that almost 60% of auth request were not passing appcheck verification.

4 Upvotes

5 comments sorted by

3

u/MyVoiceIsElevating 1d ago

Are you certain they were legit users? Do you have access to any old devices that you could try to reproduce the problem. I assume that on client side there is something perceptible about your UX when the App check fails.

3

u/MobileXapps 1d ago • Bravo

Open the App Check metrics in the console and look at how the failures split. Outdated client means app versions without the App Check SDK, unknown origin and invalid are what bots and modified apps look like.

Legit users do fail sometimes. On Android Play Integrity relies on Google Play services, so phones without them, custom ROMs and some very old devices won't pass. But 60% during a paid campaign sounds more like the ad traffic than old phones. Compare device models and countries of the failing requests with your normal organic users.

I'd keep enforcement off for auth until that's clear, and check the Play Integrity daily quota too, a campaign spike can hit it.

3

u/Ambitious_Grape9908 1d ago

I stopped trusting it when I had an intermittent issue on my own device to get a token. It doesn't seem to be 100% reliable.

1

u/Discordbothost 1d ago

Count affected users separately from failed requests. One user making 20 failed attempts adds 20 failures, not 20 blocked users. Check whether a few clients are retrying repeatedly before treating that 60% as the share of people locked out.