Coder Social home page Coder Social logo

Comments (5)

x401om avatar x401om commented on May 23, 2024 1

@WrathChaos I would like to clarify one more thing. In order for the promotional offer to be attached to the product, you need to select the appropriate offer id from the list during paywall configuration. Note that in order for the offer to be available for selection, it is necessary to add it in the corresponding product page in advance.

Have you done this setup for your paywall?

from adaptysdk-react-native.

WrathChaos avatar WrathChaos commented on May 23, 2024 1

@x401om You're a life saver :)

Is this one new? I did setup only in the monthly one before.

Thank you :)

from adaptysdk-react-native.

x401om avatar x401om commented on May 23, 2024 1

No, it's not a new thing. You most likely made the decision to show the promo offer by yourself, while Adapty provides an interface for this (if the user is not allowed to have the offer, it will not apply).

from adaptysdk-react-native.

divanc avatar divanc commented on May 23, 2024

Hey, @WrathChaos, hope you're feeling better!
Is this data you've mentioned extracted from v2 SDK?

Basically, you just need to set a promo in your Adapty dashboard and it should be applied automatically as your purchase screen suggests. No extra builds or stuff.

Rendering prices however is on your side, you can check if discount list is not empty, then you can render product.price and discount.price nearby. Every discount is applied to a product inside native SDKs before buying popup appears. If you need a more comprehensive understanding I can learn from our iOS team and pass my knowledge 😄

About your issue... Can you specify Adapty library version?

from adaptysdk-react-native.

WrathChaos avatar WrathChaos commented on May 23, 2024

I am much better, thank you :)

This data is extracted from v2 SDK, we're using [v2.3.6] of react-native-adapty.

I did not change anything neither on Adapty dashboard or Apple side for discount prices. I can confirm that I can get discount prices and its identifier etc. I also checked Adapty dashboard inside Products -> Monthly Subscriptions -> Promotional Offers

Also, I can confirm that it works with the [v1.3.4] and I was sending the discount id to Adapty but it works differently with the v2 version as you can see on the screenshots.

If you can give me a guide, I can try it out for more detailed information :)

from adaptysdk-react-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.