Replies: 4 comments 13 replies
-
Here is my general plan for Windows: https://techcommunity.microsoft.com/t5/windows-dev-appconsult/enable-in-app-product-purchases-for-desktop-bridge-converted/ba-p/316901. Avalonia is essentially a classic .net or Win32 app in this case. Microsoft does allow desktop bridge apps to access these API's. It's going to take some work though and there is no drop-in library I've found yet. macOS is TBD but someone else may know more. There must be a way to do this with native code interop though. This type of thing is ideal for a Toolkit. Or adding Avalonia support to other projects like: https://github.com/jamesmontemagno/InAppBillingPlugin which you already found (and is recommended by Microsoft here dotnet/maui#1461) |
Beta Was this translation helpful? Give feedback.
-
Greate news. I have tried your input on both Mac and Windows. The plugin by James Montemagno can connect to app store on both platforms. Thanks. I haven't tested further the plugin by James but it looks now it would work. |
Beta Was this translation helpful? Give feedback.
-
After further investigation, it looks the plugin from James doesn't support |
Beta Was this translation helpful? Give feedback.
-
@lanyusan I'm also trying to get this working currently (subscription in app purchasing using windows.services.store api). I'm running into an issue which I've described in detail here: https://stackoverflow.com/questions/76096700/in-app-purchasing-with-microsoft-store-in-an-avalonia-app?noredirect=1#comment134206671_76096700 I'm wondering if you got your implementation working in the end? |
Beta Was this translation helpful? Give feedback.
-
Hello,
Is there some in app purchase controls / library for mac app store / windows app store for Avalonia?
There is an In-App Billing Plugin for .NET MAUI, Xamarin, and Windows:
https://github.com/jamesmontemagno/InAppBillingPlugin
Unfortunately it doesn't support avalonia.
Does anyone know if there is anything similar for Avalonia out there, or could anyone share some insights/blogs etc. about implementing iap with Avalonia?
Beta Was this translation helpful? Give feedback.
All reactions