Using Xamarin.Google.UserMessagingPlatform with MAUI for presenting a GDPR consent message

Costas Athan 46 Reputation points
2024-07-25T08:45:20.6933333+00:00

I am trying to present a GDPR consent message in a MAUI app using the Xamarin.Google.UserMessagingPlatform NuGet package.

I'm targeting Android 34 on .NET 8.

I have used both this: https://stackoverflow.com/a/71299843/7360423 and this: https://stackoverflow.com/a/69398471/7360423 suggested implementations, but nothing shows up. I get no errors, but also I don't get the expected consent message.

Has anyone succeeded presenting the GDPR consent message with MAUI? Is a different approach needed?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,232 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,654 questions
{count} votes