v2.1.1
gdpr_dialog
사용자로부터 개인 맞춤형 광고 및 비개인 맞춤형 광고를 위한 GDPR 대화 상자를 사용하기 위한 라이브러리입니다.
47좋아요 18730일 다운로드150Pub 점수
AndroidiOS
Flutter용 GDPR 대화상자
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
"showDialog()" calling: gets native request to android/ios Consent Form dialog and sets result as boolean:
Bool variable "isForTest" for testing library, set true to activate setDebugGeography. (works only for Android) In release build set false or delete this argument!
"testDeviceId" you can find in logs.
If user already chose one of Consent Form variants and call it a second time:
GdprDialog.instance.showDialog(isForTest: true, testDeviceId: 'xxxxxxxxxxxxxxx')
.then((onValue) {
print('result === $onValue');
});
In the release build, you only does not need a parameters.
GdprDialog.instance.getConsentStatus();
It will return string of consent status:
API, which depends on Android v2 Embedding, can not show you the real status of personalized ad.