Comments (5)
@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.
@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.
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.
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 and product.price
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.
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)
- IOS Introductory Offers and Promotional Offers
- Functionalities not working in release mode HOT 43
- FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':react-native-adapty:compileDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction > Compilation error. See log for more details HOT 3
- Attempt to invoke virtual method 'java.lang.String com.google.gson..JsonElement.getAsString()' on a null object reference HOT 8
- (encodingFailed): Failed to find encoder for property "customerUserId"
- Calling adapty.identify(id) inserts last purchase record
- `adapty.activate()` function crashes the app when API key is invalid HOT 1
- Adapty prompts to sign in with Apple ID HOT 1
- iOS build fail HOT 8
- Firebase v19 and Adapty v2.9.6 Conflicts on Android HOT 2
- CocoaPods could not find compatible versions for pod "Adapty" HOT 1
- Issue about getProductsIntroductoryOfferEligibility HOT 3
- When __debugDeferActivation is true, get "The Adapty is not activated" !! 😤 HOT 2
- Purchase Failed in sandbox with Unknown Error HOT 3
- v2.6.0 requires @adapty/react-native-ui v1.1.0 which is not released yet HOT 1
- How do I verify subscription in Sandbox? HOT 2
- Ability to forward native logs to RN server
- activation error 2.7.0-canary.1 HOT 10
- [IOS 17] requestSubscripition infinite loop HOT 3
- [IOS] Error while fetching paywall products on real device and emulator HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adaptysdk-react-native.