In-App-Purchase API-Wrapper for Desktop Bridge
Перейти к файлу
microsoft-github-policy-service[bot] 12197ac635
Microsoft mandatory file
2023-06-02 19:08:36 +00:00
.vs/IAPWrapper/v15 add IAP UWP plugin 2018-06-11 14:09:12 +08:00
Dummy add IAP UWP plugin 2018-06-11 14:09:12 +08:00
FormsDotNet2 add IAP UWP plugin 2018-06-11 14:09:12 +08:00
IAPShow Update IAPCaller.cs 2018-06-11 14:32:00 +08:00
IAPUWPDLL Update IAPWrapper.cs 2018-06-11 15:11:42 +08:00
IAPWrapper add IAP UWP plugin 2018-06-11 14:09:12 +08:00
Win32Project add IAP UWP plugin 2018-06-11 14:09:12 +08:00
WpfDotNet46 add IAP UWP plugin 2018-06-11 14:09:12 +08:00
packages/DllExport.1.6.0 update DLLExport to 1.6, and keep one export function 2018-03-12 19:50:43 +08:00
x64/Debug add IAP UWP plugin 2018-06-11 14:09:12 +08:00
.gitignore Update .gitignore 2018-06-11 14:51:41 +08:00
DllExport.bat update DLLExport to 1.6, and keep one export function 2018-03-12 19:50:43 +08:00
DllExport_Configure.bat update DLLExport to 1.6, and keep one export function 2018-03-12 19:50:43 +08:00
IAPWrapper.sln add IAP UWP plugin 2018-06-11 14:09:12 +08:00
LICENSE Initial commit 2018-04-12 09:32:22 -07:00
README.md Update README.md 2018-06-11 20:27:36 +08:00
SECURITY.md Microsoft mandatory file 2023-06-02 19:08:36 +00:00

README.md

Update

Add IAPUWPDLL UWP Plugin to enable Unity UWP built to call IAP. For details, refer to IAPUWPDLL/readme

IAPShow is the Unity project, now with IAPUWPDLL and IAPWraper, Win Store IAP call works in below Unity built/running mode:

Unity Editor

Win32

UWP

IAPWRAPPER

Desktop Bridge helps developers gradually migrate traditional apps to the Universal Windows Platform (UWP). The In-App Purchase (IAP) in Windows Store is an important scenario to monetize the converted apps. When working with developers on this scenario, I notice certain obstacles are in commonfor example:

a. Porting old .Net or unmanaged applications to use the IAP UWP APIs.

b. Didnt use async calls properly in UI apps and caused hang/deadlock

c. Default purchase windows failed to popup

d. Need accurate guide to follow IAP testing with current Windows Store APIs

Here I would like to explain a general solution to solve above issues, and also show four samples to use the IAPWrapper quickly:

a. WinForm in old .Net version

b. WPF app

c. Win32 App in C++

d. Unity App in old .Net version

Refer to: http://flwe.azurewebsites.net/2018/05/03/enable-in-app-product-purchases-for-desktop-bridge-converted-applications/

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.