Skip to main content
Version: Next

Consent Module

aokplus_symptomcheck_consent_v1.0.0_c1.0.0    - adarsh -conset -yes
{
title: symptomchck consent
compliance : [
{
compliance : {
mandatory: true
},
compliance : {
mandatory: false
},
compliance : {
mandatory: false
}
}
]
}


aokplus_symptomcheck_consent_v1.0.1_c1.0.0 - adarsh - consent -no
{
title: symptomcheck consent
compliance : [
{
compliance : {
mandatory: true
},
compliance : {
mandatory: true
},
compliance : {
mandatory: false
}

}
]
}



Adarsh Symptomcheck v1.0.0 c1.0.0 yes
Adarsh Symptomcheck v1.0.0 c1.0.1 yes
Adarsh Symptomcheck v1.0.0 c1.0.12 yes
Adarsh Symptomcheck v1.0.1 (latest) c1.0.0 (latest) no



plugin : consent_Required ,
user already given consent ? (presnet in master data -> use it ) no -> - API call will return if the user gave consent to the latest consent version
no, we display latest consent and get the consent . -> API to store the agreement
master data -> (consent -latest version , user consent flag ) ,
symptom_check --pluginid--: v1.0.0 c1.0.0 - yes


plugin < honme > < deeplink > ->>>> authModule -> canActivate () -> consentModuke.isConsentGiven( <--pluginid-->) -> {

consent given ? -> yes return true ;
-> no return false ;

if false , return consent_needed.

}

Json

{

"consentID": "navida",

"consentVersion": "1.0",

"contentVersion": "1.0",

"consentIcon": "star",

"consentTitle": "<highlight>Wir bitten um Deine</highlight>\nBestätigung",

"consentDescription": "Bitte mache Dich mit unseren Bedingungen vertraut und stimme zu, um die App bestmöglich nutzen zu können.\nDu kannst Deine optionalen Zustimmungen jederzeit über das Einstellungsmenü widerrufen.",

"consentDeleteMessage" : "",

"isEditMode": true,

"compliances": [

{

"complianceID": "1",

"isMandatory": true,

"isChecked": false,

"isEnabled": true,

"title": "Datenschutzerklärung & Nutzungsbedingungen",

"description": "Ich akzeptiere die Nutzungsbedingungen der App und habe die Datenschutzerklärung zur Kenntnis genommen. (Pflichtfeld)",

"actions": [

{

"title": "Nutzungsbedingungen",

"deepLink": "Button 1 Deep Link"

}

]

},

{

"complianceID": "2",

"isMandatory": true,

"isChecked": false,

"isEnabled": true,

"title": "Datenschutzerklärung & Nutzungsbedingungen",

"description": "Ich akzeptiere die Nutzungsbedingungen der App und habe die Datenschutzerklärung zur Kenntnis genommen. (Pflichtfeld)",

"actions": [

{

"title": "Nutzungsbedingungen",

"deepLink": "Button 1 Deep Link"

}

]

},

{

"complianceID": "3",

"isMandatory": true,

"isChecked": false,

"isEnabled": true,

"title": "Datenschutzerklärung & Nutzungsbedingungen",

"description": "Ich akzeptiere die Nutzungsbedingungen der App und habe die Datenschutzerklärung zur Kenntnis genommen. (Pflichtfeld)",

"actions": [

{

"title": "Nutzungsbedingungen",

"deepLink": "Button 1 Deep Link"

}

]

}

]

}