Instant App Support #52
-
I was trying fingerprintjs and fingerprintjs PRO to with a regular app and an Instant App. Does anyone have experience with that and can help me with that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey! I've tested the library on Instant apps, and what I found is that only GSF ID is unavailable. Get them with following code: val fingerprinter = FingerprinterFactory
.getInstance(applicationContext, Configuration(version = 3))
fingerprinter.getDeviceId { deviceIdResult ->
val androidId = deviceIdResult.androidId
val mediaDrmId = deviceIdResult.mediaDrmId
} You can match instances on one device by IDs, and distinguish regular app from instant app by some additional logic in instant-only modules. Hope it helps! |
Beta Was this translation helpful? Give feedback.
Hey! I've tested the library on Instant apps, and what I found is that only GSF ID is unavailable.
So you can use either Android ID or Media DRM ID for getting the ID, it will be the same.
Get them with following code:
You can match instances on one device by IDs, and distinguish regular app from instant app by some additional logic in instant-only modules.
Hope it helps!