Closed marvpaul closed 2 months ago
Hi @marvpaul!
How can I display a paywall? Is Adapty.GetPaywall enough or do I need to explicitly call a "show" method afterwards?
Basically, you have to use the CreatePaywallView method first, and then call Present. You can find all the necessary information in our documentation.
Can we see the configured paywall in the Unity editor or is this only working on ios / android?
Unfortunately, since paywalls are rendered on the native layer, there is no way to preview paywalls within the Unity Editor.
Do the Adapty paywalls support landscape orientation (as in the browser while configuring them, I only can choose portrait mode preview screens)?
Our layouts will work in landscape orientation, but they were designed primarily for use in portrait mode.
Regarding the stack trace you have sent: please provide the exact SDK version. It would also be helpful if you could add a code snippet of how you are using the Adapty SDK in this context.
Basically, you have to use the CreatePaywallView method first, and then call Present. You can find all the necessary information in our documentation.
I checked the documentation but as far as I can see it misses the important part regarding "how to display a paywall". Can you let me know where I can find the documentation you're talking about? I checked this so far: https://docs.adapty.io/docs/displaying-products
Regarding the stack trace you have sent: please provide the exact SDK version. It would also be helpful if you could add a code snippet of how you are using the Adapty SDK in this context.
It is the latest SDK version AdaptySDK-Unity-2.9.0 2. I tested on iOS where it's working to fetch the paywall. I only get this error in the editor. To clarify: Is the basic functionality like fetching paywalls working in the Unity editor or is the hole SDK only working on native devices? If so, a small hint would be awesome to point dev's like me in the right direction.
I just copied the sample from the documentation and added my placement id (placement
):
Adapty.GetPaywall("placement", "en", (paywall, error) => {
if(error != null) {
// handle the error
return;
}
// paywall - the resulting object
});
Hi, @marvpaul, I apologize for the delay; your question went beyond my scope.
Can you let me know where I can find the documentation you're talking about?
You can find all the necessary documentation in the designated section for the Paywall Builder. It includes information about fetching and presenting:
Is the basic functionality like fetching paywalls working in the Unity editor or is the whole SDK only working on native devices?
The entire SDK is functional only on native devices. We currently do not support the Unity Editor. Apologies for any inconvenience this may cause.
For quicker responses to similar questions, I recommend reaching out to our customer support team. They can provide more immediate assistance.
Hi, @marvpaul, I apologize for the delay; your question went beyond my scope.
Can you let me know where I can find the documentation you're talking about?
You can find all the necessary documentation in the designated section for the Paywall Builder. It includes information about fetching and presenting:
- Fetching: https://docs.adapty.io/docs/paywall-builder-fetching
- Presenting: https://docs.adapty.io/docs/paywall-builder-presenting-unity
Is the basic functionality like fetching paywalls working in the Unity editor or is the whole SDK only working on native devices?
The entire SDK is functional only on native devices. We currently do not support the Unity Editor. Apologies for any inconvenience this may cause.
For quicker responses to similar questions, I recommend reaching out to our customer support team. They can provide more immediate assistance.
Thank you! It's working now on my iOS device.
I installed the SDK and trying to use within the Unity Editor. Three questions:
Adapty.GetPaywall
enough or do I need to explicitly call a "show" method afterwards?I get the following error when requesting a paywall: