iOS App Tracking Transparency

Last updated
const { ATTConsent } = window.WTN
ATTConsent.request({
callback:function(result){
if(result.granted){
//Permission Granted or ios version 14.4 or lower
}else{
//Permission Denied / not Determined due to some restrictions
}
}
})
import { request } from "webtonative/ATTConsent"
request({
callback:function(result){
if(result.granted){
//Permission Granted or ios version 14.4 or lower
}else{
//Permission Denied / not Determined due to some restrictions
}
}
})
const { ATTConsent } = window.WTN
ATTConsent.status({
callback:function(result){
if(result.granted){
//Permission Granted or ios version 14.4 or lower
}else{
//Permission Denied / not Determined due to some restrictions / not asked
}
}
})
import { status } from "webtonative/ATTConsent"
status({
callback:function(result){
if(result.granted){
//Permission Granted or ios version 14.4 or lower
}else{
//Permission Denied / not Determined due to some restrictions / not asked
}
}
})