CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop

Unable to Add Android Project-Level Plugin Dependencies to MAUI

Aperta
#83 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
249
Fork
48
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.