If your game needs verification of user age, utilize adult verification feature, one of Hive functions. User data is required to prove adult, so ensure to authenticate users right after sign-in.

For adult verification, implement showAdultConfirm() method in the AuthV4 class.

Followings are sample codes to request adult verification to users.

Unity®

API Reference: hive.AuthV4.showAdultConfirm

C++

API Reference: AuthV4::showAdultConfirm

Kotlin

API Reference: AuthV4.showAdultConfirm

Java

API Reference: AuthV4.INSTANCE.showAdultConfirm

Swift

API Reference: AuthV4Interface.showAdultConfirm

Objective-C

API Reference: HIVEAuthV4:showAdultConfirm