Replies: 15 comments 27 replies
-
This is a good question. I find it very difficult too. Making It easier will make Maui more reliable for sure. This point is also very important for me. |
Beta Was this translation helpful? Give feedback.
-
That's more of a .NET thing. We have this sample from @Redth proposing a simplified wrapper binding in order to reduce the complexity of binding an entire library. https://github.com/Redth/XamarinEncapsulateNativeSample I'd be interested to hear what anyone feels about the complexity of doing that approach, and especially what parts seem "hard". Sure, we'd all like to just point VS at a Swift/Java library and have it magically work. Short of that, let's talk about how we can make bindings easier. |
Beta Was this translation helpful? Give feedback.
-
Binding to Swift/Java library is easier by automatically building a C library that wraps over the Swift/Java library, and exposes C interface to .NET. |
Beta Was this translation helpful? Give feedback.
-
There should be tool or an easy way to bring all the dependencies of any library.Right now we need to create a seperate bindings of all the dependencies sometimes and include them as a refrence and for creating each bindings we have to solve numerous issues like fixing name ,type , return type,remove few nodes and all so it's really tedious and sometimes long process right now |
Beta Was this translation helpful? Give feedback.
-
The firebase libraries are the ones I will keep an eye. I am very interested into. |
Beta Was this translation helpful? Give feedback.
-
support gradle and cocoapod would be nice |
Beta Was this translation helpful? Give feedback.
-
If Microsoft wants MAUI to be successful as Flutter they need to make native binding creation as smooth as possible and needed to be updated as well |
Beta Was this translation helpful? Give feedback.
-
Is there any limitations for create bindings in MAUI? this is xamrin iOS binding project and I can't find any docs about buildings for MAUI. |
Beta Was this translation helpful? Give feedback.
-
So I can't find |
Beta Was this translation helpful? Give feedback.
-
Were binding tools for Swift discontinued after all? So, in theory, we're forever bound to Obj-C bridges to Swift, right? |
Beta Was this translation helpful? Give feedback.
-
There is a new concept in .NET MAUI called Platform Channels. It is still in preview, as everything else)) |
Beta Was this translation helpful? Give feedback.
-
I remember a programmer once answered me |
Beta Was this translation helpful? Give feedback.
-
@davidortinau @Redth This is a promising work https://github.com/Redth/Microsoft.Maui.Platform.Channels I think the most complex scenario is when the native library needs native views (like render them or interactive with them) and also when it needs to do callbacks to our Maui application. The most complex native library I struggled to bind and keep asking for Maui/Xamarin binding for, is |
Beta Was this translation helpful? Give feedback.
-
The so-called MAX_PATH error on Windows is a huge problem for NuGet packages of bindings for 3rd party SDKs, and especially for iOS versions using .xcframeworks. It seems to be a Visual Studio-specfic problem, and it may be a long time until that is fixed, if ever. |
Beta Was this translation helpful? Give feedback.
-
I don't know how to bind an aar, can you help me? |
Beta Was this translation helpful? Give feedback.
-
Will there be improvements for native library bindings in MAUI?
One of the main selling points of XF (at least for me) is that I can grab a native library and integrate it into the project. Are there going to be improvements in this process? It's quite daunting and buggy right now.
Beta Was this translation helpful? Give feedback.
All reactions