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

Installing com.google.android.ump not working #2

Closed
JeroenMBooij opened this issue Jul 24, 2022 · 1 comment
Closed

Installing com.google.android.ump not working #2

JeroenMBooij opened this issue Jul 24, 2022 · 1 comment

Comments

@JeroenMBooij
Copy link

When I try to run my project I get an error saying package com.google.android.ump does not exist The readme does mention you might have to install some packages. So I tried installing Plugin.GoogleUserMessagingPlatform, but I am still getting the error. What I am suppose to do to resolve the error?

@marcojak
Copy link
Owner

Have a look at the sample project.

To fix the issue you are seeing, you need to add this to your csproj file:

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-android'">		
    <AndroidLibrary Include="Dependencies\user-messaging-platform-2.0.0.aar" Bind="false" />
</ItemGroup>

You can download the file online or you can find it in the sample project.
Create the Dependencies folder in your MAUI project and copy this file inside.

Then you'll project will compile again.

I'll update the readme with this info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants