質問編集履歴

3

ロジック変更

2023/11/11 13:25

投稿

jun74
jun74

スコア338

test CHANGED
File without changes
test CHANGED
@@ -20,18 +20,23 @@
20
20
  ```java
21
21
  private void checkGDPRMessage(){
22
22
 
23
+ // Set tag for under age of consent. false means users are not under
24
+ // age.
25
+ ConsentRequestParameters params = new ConsentRequestParameters
26
+ .Builder()
27
+ .setTagForUnderAgeOfConsent(false)
28
+ .build();
29
+
23
30
  // デバッグモード設定
24
31
  ConsentDebugSettings debugSettings = new ConsentDebugSettings.Builder(this)
25
32
  .setDebugGeography(ConsentDebugSettings
26
33
  .DebugGeography
27
34
  .DEBUG_GEOGRAPHY_EEA)
28
35
  .build();
29
-
30
- // Set tag for under age of consent. false means users are not under
31
- // age.
32
- ConsentRequestParameters params = new ConsentRequestParameters
36
+ params = new ConsentRequestParameters
33
37
  .Builder()
34
38
  .setTagForUnderAgeOfConsent(false)
39
+ .setConsentDebugSettings(debugSettings)
35
40
  .build();
36
41
 
37
42
  consentInformation = UserMessagingPlatform.getConsentInformation(this);

2

補筆

2023/11/11 12:57

投稿

jun74
jun74

スコア338

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  admobで該当アプリのGDPRメッセージを作成し、本日公開した。
8
8
  公開して一時間経過している。
9
- デバッグモードもEEAに設定しているため、GDPR同意フォーム表示へ進むはずである。
9
+ デバッグモードもEEAに設定しEmulatorでテストしているため、GDPR同意フォーム表示へ進むはずである。
10
10
 
11
11
  ### 発生している問題
12
12
 

1

個人情報削除

2023/11/11 12:56

投稿

jun74
jun74

スコア338

test CHANGED
File without changes
test CHANGED
@@ -25,7 +25,6 @@
25
25
  .setDebugGeography(ConsentDebugSettings
26
26
  .DebugGeography
27
27
  .DEBUG_GEOGRAPHY_EEA)
28
- // .addTestDeviceHashedId("FC9C48E92DCA97F29DC61E08635286EA")
29
28
  .build();
30
29
 
31
30
  // Set tag for under age of consent. false means users are not under