I have .NET MAUI app where I want to use 3rd party payment processing library RevenueCat. There are 2 Xamarin bindings already for this lib:
- android: https://github.com/thisisthekap/Xamarin.RevenueCat.Android
- iOS: https://github.com/thisisthekap/Xamarin.RevenueCat.iOS
The Android one when referenced to .NET MAUI project works correctly, but the iOS one seems not to be supported by MAUI.
So I have decided to port it from original iOS Binding library (Xamarin)
to iOS binding library
on .NET7.
- I have copied all binding-related files as well as native
.framework
folder to the MAUI - I have adjusted attributes that werent supported by MAUI e.g.
Watch
,Mac
,iOS
orAutoGeneratedName
-> commit - I have added necessary things to
.csproj
and I was able to build it on my connected MAC M1 mini (from Windows).
But the output Nuget package was only a few KBs and the original nuget was ~7MB. After closer look I found out that my MAUI nuget doesnt contain the native .framework
resource and I have no idea why.
Do you know what am I missing?
Here is link to the repo of this nuget: https://github.com/Kebechet/Maui.RevenueCat.iOS