CommunityToolkit / Maui.NativeLibraryInterop

Maui.NativeLibraryInterop is a community-created library of binding samples to help .NET MAUI developers interop with native libraries more easily
MIT License
179 stars 28 forks source link

android build results do not contain actually bound library #23

Closed thisisthekap closed 4 months ago

thisisthekap commented 5 months ago

The resulting nuget file of the facebook android binding consists of mauifacebook-Release.aar, but does not contain the referenced aar or jar files. Because of this, the nuget fails when being loaded on runtime (complaining that classes can not be found). This is reasonable, as these dependencies are not included in the nuget.

thisisthekap commented 4 months ago

Realized that this is by design. Native stuff can be added using the AndroidLibrary element.