Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UMP SDK cannot retrieve consent info and form on Android #678

Closed
c0ffeec0der opened this issue Oct 25, 2022 · 13 comments
Closed

UMP SDK cannot retrieve consent info and form on Android #678

c0ffeec0der opened this issue Oct 25, 2022 · 13 comments
Labels
bug Something isn't working e3-weeks Effort: < 4 weeks p2-medium platform-android Android applications specifically solved issue is closed as solved

Comments

@c0ffeec0der
Copy link

Hello,

I am trying to implement EU consent as this documentation

The current condition is:

  1. Admob account approved
  2. App status in review
  3. GDPR message created
  4. method isConsentFormAvailable() return false

I had earlier conversation with mobileadssdk team and they refer to this channel.

According to them that it should work with App status in review. But why isConsentFormAvailable() return false?

Kindly advise

Thank you

Plugin Version

2.1.0

Steps to Reproduce

Create as per documentation

Expected results: GDPR message shown

Actual results: isConsentFormAvailable() return false

@huycozy huycozy added the in triage Issue currently being evaluated label Oct 25, 2022
@huycozy
Copy link
Collaborator

huycozy commented Oct 25, 2022

Hi @c0ffeec0der This is a known issue being tracked at #660.
Closing this issue as a duplicate, so please follow up on it for further updates.

@huycozy huycozy closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2022
@huycozy huycozy added duplicate This issue or pull request already exists and removed in triage Issue currently being evaluated labels Oct 25, 2022
@c0ffeec0der
Copy link
Author

Yes, its similar but the one in #660 dialog box appear for Ios. In this case for android, dialog box does not appear. I just update the comments in #660

@huycozy
Copy link
Collaborator

huycozy commented Oct 27, 2022

Hi @c0ffeec0der
From our discussion at #660 (comment), I reopen this issue as it's reproducible on Android. Labeling the issue for further investigation. Thank you!

D/UserMessagingPlatform( 4936): Stored info not exists: IDFA_freqCapNumViews
D/UserMessagingPlatform( 4936): Stored info not exists: IABTCF_TCString
D/UserMessagingPlatform( 4936): Stored info not exists: IABTCF_AddtlConsent
...
AAT error: Invalid response from server.

@huycozy huycozy reopened this Oct 27, 2022
@huycozy huycozy added bug Something isn't working p2-medium e3-weeks Effort: < 4 weeks platform-android Android applications specifically and removed duplicate This issue or pull request already exists labels Oct 27, 2022
@huycozy huycozy changed the title UMP SDK cannot retrieve consent info and form UMP SDK cannot retrieve consent info and form on Android Oct 27, 2022
@c0ffeec0der
Copy link
Author

@huycozy While this is being fixed, How do we go about getting EU consent for production? Please advise, Thank you

@jjliu15
Copy link
Collaborator

jjliu15 commented Nov 11, 2022

Hi @c0ffeec0der, does the form get shown if you use ConsentDebugSettings with DebugGeography. debugGeographyEea?

My understanding is that you won't get shouldn't get shown a GDPR form unless you're in EU, unless you override using DebugGeography.

@c0ffeec0der
Copy link
Author

Hi @jjliu15

The form does not get shown with DebugGeography. debugGeographyEea

I have added you to repo example

That's why it's confusing why it is not working..

@jjliu15
Copy link
Collaborator

jjliu15 commented Nov 11, 2022

Can you try adding ConsentInformation.instance.reset(); before calling ConsentInformation.instance.requestConsentInfoUpdate()?

@jjliu15
Copy link
Collaborator

jjliu15 commented Nov 11, 2022

And also share the logcat?

@c0ffeec0der
Copy link
Author

c0ffeec0der commented Nov 12, 2022

I tried ConsentInformation.instance.reset();; still the same, no dialog box

Yep, just added the logcat

@jjliu15
Copy link
Collaborator

jjliu15 commented Nov 14, 2022

I see the error message:

11-13 12:29:56.787  5910  5948 I flutter : AAT error: Instance of 'FormError'

Could you print out the errorCode and message of the FormError?

@c0ffeec0der
Copy link
Author

Hi @jjliu15 It's,

'11-15 23:16:02.923 6475 6507 I flutter : AAT error: 1 - Invalid response from server.'

Doesn't give much info unfortunately.. Here's the latest log

Question, are you seeing the same result on your end with another dummy live account?

@c0ffeec0der
Copy link
Author

@jjliu15, just wondering if you are seeing the same error on your end using the sample repo? But you need to use your live admob dummy app to test

I think @huycozy might have test it and see the same error in this thread

Please advise. Thanks

@c0ffeec0der
Copy link
Author

@jjliu15 @huycozy It's working now. I think the issue is caused by admob account not approved yet. I just tested it once again after approved and its working :) Thank you :)

@huycozy huycozy added the solved issue is closed as solved label May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working e3-weeks Effort: < 4 weeks p2-medium platform-android Android applications specifically solved issue is closed as solved
Projects
None yet
Development

No branches or pull requests

3 participants