Creates a device detection function that initializes FingerprintJS Pro with the given API key. The FingerprintJS agent is lazily loaded on first call.
When no API key is provided (e.g. in test/development environments), returns a fake result to avoid hitting the FingerprintJS API.
Creates a device detection function that initializes FingerprintJS Pro with the given API key. The FingerprintJS agent is lazily loaded on first call.
When no API key is provided (e.g. in test/development environments), returns a fake result to avoid hitting the FingerprintJS API.