Device Fraud Detection SDK FAQ

更新时间:
复制 MD 格式

Common questions about integrating the Device Fraud Detection SDK.

What is the SDK size?

The SDK size varies by platform:

  • Android: A single-architecture SO file is approximately 3.4 MB. The AAR package includes SO files for three architectures and totals around 10 MB. Because an APK packages only the SO file for the target architecture, the actual size increase is approximately 3.4 MB.

  • iOS: The single-architecture package is approximately 2.7 MB.

  • HarmonyOS: The package is approximately 3 MB.

The SDK uses extensive code obfuscation, packing, and encryption to prevent reverse engineering and protect data during network transmission, which contributes to the larger package size.

What is the validity period of a deviceToken? Can I reuse the same deviceToken for multiple server-side API calls?

A deviceToken is valid for 7 days and can be reused across multiple API calls.

Why must there be at least a 2-second interval between the initialization API and getDeviceToken?

The initialization API starts an asynchronous process that includes environment detection, fingerprint collection, and server handshake. This process typically takes about 2 seconds to complete. getDeviceToken depends on initialization being finished. If called too early, data collection may be incomplete, resulting in degraded token quality.

Which CPU architectures does the Device Fraud Detection SDK support?

  • Android: supports arm, armv7, and arm64 architectures.

  • HarmonyOS: supports arm64 architecture.

  • iOS: supports arm64 and x86_64 architectures.