搜尋套件、儲存庫與 APP 分類

套件詳情v2.1.1

gdpr_dialog

用於從使用者取得個人化廣告與非個人化廣告之GDPR對話方塊的程式庫。

AndroidiOS
近 30 天下載
80
喜歡數
47
Pub 分數
150

安裝套件

flutter pub add gdpr_dialog

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

gdpr_dialog 套件提供一個簡單且可自訂的對話方塊,以符合 GDPR 法規要求,讓使用者能在個人化廣告與非個人化廣告之間選擇。它能無縫整合至 Android 與 iOS 的 Flutter 應用程式中,提供一種簡便的方式來取得使用者對於廣告投放中資料使用的同意。該函式庫負責顯示同意對話方塊,並支援初始同意請求以及未來的更新。其設計旨在協助開發者滿足隱私相關的法律要求,同時維持流暢的使用者體驗。

適用情境

  • 遵守GDPR法規
  • 獲取使用者同意以進行個人化廣告
  • 在行動應用程式中顯示同意對話方塊
  • 管理廣告個性化設定
  • 支援注重隱私的應用程式設計

主要特色

  • 符合GDPR的同意對話框
  • 支援個人化與非個人化廣告選項
  • 與 Flutter 應用輕鬆整合
  • 跨平台支援(Android 和 iOS)
  • 可自定義的使用者介面元素

適合對象

  • 面向歐盟用戶的移動應用開發者
  • 使用需要同意的廣告網絡的應用程式
  • 需要快速合規GDPR的開發人員
  • 初創公司正在建立注重隱私的應用程式
  • 帶有廣告變現的 Flutter 項目

使用建議

  • 需要正確處理同意狀態
  • 可能需要額外的邏輯來整合廣告網絡
  • 不適用於非廣告用途
  • 使用者體驗取決於客製化
  • 必須根據不斷變化的隱私法規進行更新

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

GDPR dialog

"showDialog()" calling: gets native request to android/ios Consent Form dialog and sets result as boolean:

  • true = requested Consent Form loaded (but may not be shown);
  • false = error with Consent Form loading.

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:

  • in iOS form will be shown and the user can change their consent option;
  • in Android form will not be shown. To reset the choice user need to reinstall the app.
Usage
GdprDialog.instance.showDialog(isForTest: true, testDeviceId: 'xxxxxxxxxxxxxxx')
                      .then((onValue) {
                    print('result === $onValue');
                  });

In the release build, you only does not need a parameters.

Method getConsentStatus() that return consent status
Usage
GdprDialog.instance.getConsentStatus();

It will return string of consent status:

  • OBTAINED
  • REQUIRED
  • NOT_REQUIRED
  • UNKNOWN
Statuses explaining

API, which depends on Android v2 Embedding, can not show you the real status of personalized ad.

  • OBTAINED status means, that user already chose one of the variants ('Consent' or 'Do not consent');
  • REQUIRED status means, that form should be shown by user, because his location is at EEA or UK;
  • NOT_REQUIRED status means, that form would not be shown by user, because his location is not at EEA or UK;
  • UNKNOWN status means, that there is no information about user location.

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。