Is there a sample MAUI application to call c/c++ libraries that can be built from Windows and used on Windows, iOS and Android?
I am trying to convert my Xamarin.Forms mobile applications to MAUI. My applications depend on C libraries developed by government agencies (NOAA and USNO). For Xamarin.Forms I found a very good example for building a NuGet package from C library code that worked for both Android and iOS. That example, however, was built using VS for Mac and VS Code for Mac. Both of these are now no longer supported. The NuGet packages I built for Xamarin.Forms do not work on MAUI - when used for the iOS build I get a DLL Not found exception when calling the library. That procedure is here: https://learn.microsoft.com/en-us/previous-versions/xamarin/cross-platform/cpp/
I found a great example do the same thing for MAUI on Windows here: https://github.com/whodges/bindingsample This example is exactly what I am looking for but unfortunately it is over 2 years old and also had a DLL problem when used on iOS.
Is there a working example similar to the bindingsample above that I can use for building the library code for use for Windows, iOS and Android?
Note that I have been here already https://learn.microsoft.com/en-us/cpp/cross-platform/visual-cpp-for-cross-platform-mobile-development?view=msvc-170 but the examples provided https://learn.microsoft.com/en-us/cpp/cross-platform/cross-platform-mobile-development-examples?view=msvc-170 are only Android specific.