Skip to content

Recommended way of calling Async Services like IAP Purchase #2418

Answered by roxk
TheJoeFin asked this question in Q&A
Discussion options

You must be logged in to vote

I haven't used the API, but since you are using WinUI 3 I bet you need to do the same thing desktop bridge app has to do with this API according to this doc. I reached this doc by looking at the exception section in the doc you linked.

If this fixes your issue, the reason why this is needed is that, essentially, the modal normally assumes it's in a UWP app and thus in a core window and can show the modal there. A WinUI 3 app has its own window and thus you need to tell the modal that it should display inside that WinUI 3 window instead.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TheJoeFin
Comment options

Answer selected by TheJoeFin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants