Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subclassing SKStoreProductViewController breakes the loadProductWithParameters #19

Open
federicocappelli opened this issue Mar 13, 2024 · 0 comments

Comments

@federicocappelli
Copy link

In iOS: 17.4 the SKStoreProductViewController loadProductWithParameters always fail with an error code 0 and Invalid configuration for loading product log in console.
The solution is to not subclass SKStoreProductViewController in the AdController but use it as it is.

From Apple documentation:
The SKStoreProductViewController class doesn’t support subclassing or embedding, and must be used as-is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant