Module Veery

userAgreementAge()

Requires Veery for React Native version 1.4.0

Get the number of seconds since the last call to Veery.userAgreedPurpose

Parameters

none

Returns

-1 if Veery.userAgreedPurpose was never called

Double The number of seconds since the Last purpose version agreed by the user

Usage / Example

Veery.userAgreementAge((rep) => {
    console.log('userAgreementAge--rep', rep);
});

User interaction

none

See also

userAgreedPurpose

Let Veery know if the user has agreed on a specific application purpose to collect geolocations This is historized on the Veery Backend for GDPR compliance

userAgreement

Get the last purpose version agreed by the user