r/androiddev • • 14d ago

is there an iOS devicecheck equivalent for android?

im trying to make sure a user is using a real device and i want to be able to identify them for "account-less" functionality.

0 Upvotes

4 comments sorted by

2

u/tadfisher 14d ago

Play Integrity API. You don't get to identify devices though, because users can always reset any identifier you want to save.

1

u/ProofAppsAU 13d ago

Play Integrity covers the "is this a real device running my genuine app" part. for the identifier part, look at the Block Store API: you can save a random token you generate and it gets restored after reinstall or on a new device with the same google account, no sign in prompt. pair that with an integrity verdict checked on your server and it's about as close to DeviceCheck as android gets. there's no hardware id you can rely on anymore, so don't bother chasing one.

1

u/[deleted] 13d ago

[removed] — view removed comment

1

u/androiddev-ModTeam 13d ago

Use your own voice when writing. Posts and comments which appear to be generated, including those with excessive flourish, gushing or emojis, will be removed.