Integrate native age verification gateways, ID document verification, and parental control compliance.
Integrate native age verification and parental control compliance. Nativine embeds native AgeSafety verification bridges, allowing regulated platforms (gaming, alcohol delivery, social media, adult content) to enforce age gates and ID document scanning.
Regulated mobile applications must comply with COPPA, UK Age Appropriate Design Code, and state age verification mandates. Nativine's AgeSafety module presents native verification overlays:
To launch the AgeSafety verification gateway from JavaScript, call nativine.ageSafety.verify():
nativine.ageSafety.verify({
minimumAge: 21,
requireIdScan: false,
callback: 'onAgeVerified',
onError: 'onAgeVerificationFailed'
});
function onAgeVerified(result) {
console.log("Verified User Age:", result.userAge);
console.log("Verification Token:", result.verificationToken);
}
| Parameter | Type | Description |
|---|---|---|
minimumAge | integer | Required. Minimum age required (e.g. 18, 21). |
requireIdScan | boolean | Optional. Set true to mandate government ID camera scan. |
Yes. Once verified, the cryptographic token is stored in device keychain so users are not prompted repeatedly.
Yes. AgeSafety handles parental gate requirements mandated by Apple for apps designed for children.