Module Veery
userAgreement()
Requires Veery for React Native version 1.4.0
Get the last purpose version agreed by the user
Parameters
none
Returns
-1 if the user has never been asked for agreement
0 if the user has rejected agreement
version the Last purpose version agreed by the user (version > 0)
Usage / Example
Veery.userAgreement((rep) => { console.log('userAgreement--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
userAgreementAge
The number of seconds since the last purpose version agreed by the user