CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop

Unable to Add Android Project-Level Plugin Dependencies to MAUI

Open
#83 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
249
Forks
48
PR merge metrics
No merged PRs in 30d

Description

I have tried multiple approaches, but I’m unable to add project-level build.gradle plugin dependencies to MAUI. Specifically, I attempted to integrate the [Instana Android Agent](https://github.com/instana/android-agent) into a MAUI project. While I was able to include the runtime library, the plugin itself could not be integrated.

```
plugins {
id("com.android.application")
id("com.instana.android-agent-plugin")
}
```

The plugin is included in the .aar package but is not applied when running MAUI. It seems that only build.gradle libraries at the app level are successfully included, while project-level plugin dependencies are not being applied.

I’m looking for a way to support the integration of project-level plugins in MAUI, as this behavior seems to affect other plugin-level injections as well.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.