Releases: qonversion/react-native-sdk
Release list
2.4.2
What's new
- Minor improvements
- Fixed product trial duration bug
2.4.1
What's new
- Fixed Android dependencies
- Added missed
localizedDescriptionfield to SKProduct - Added missed
pricefield to SKProductDiscount - Added
userCanceledflag to purchase product error
2.4.0
What's new
Price field
Added price field to Product
Currency code
Added currencyCode field to Product
Cache
From now SDK will return all requested info (products/offerings/permissions) even in case of an internet connection error, the server problem, etc if cached data is not outdated.
2.3.0
What's new
Intro eligibility
You can check if a user is eligible for an introductory offer, including a free trial. On the Apple platform, users who have not previously used an introductory offer for any products in the same subscription group are eligible for an introductory offer. Use this method to determine eligibility.
You can show only a regular price for users who are not eligible for an introductory offer.
try {
const eligibilityStatuses = await Qonversion.checkTrialIntroEligibilityForProductIds(['main', 'secondary']);
const mainProductEligibility = eligibilityStatuses.get('main');
if (mainProductEligibility && mainProductEligibility === IntroEligibilityStatus.ELIGIBLE) {
// handle result here
}
} catch (error) {
// handle error here
}Trial duration
From now you can check the product’s trial duration using TrialDuration Enum.
const product: Product = products.get('main');
product.trialDuration // handle trial duration hereIf the duration is not from enum range we will return TrialDuration.OTHER then you can check trial duration directly from the product's skuDetails or skProduct depends on OS.
2.2.0
What's new
Offerings
An offering is a group of products that you can offer to a user on a given paywall based on your business logic. For example, you can offer one set of products on a paywall immediately after onboarding and another set of products with discounts later on if a user has not converted.
Offerings allow changing the products offered remotely without releasing app updates.
We strongly recommend switching to Qonversion Offerings. This allows to:
- Change products offered to your users without app release
- Run A/B tests
- Store products and experiment results in one place with aggregated data on them
See more info in the documentation
2.1.0
2.0.2
We have rethought our approach to working with subscriptions and prepared our largest update that includes Product Center – our major feature for working with any type in-app purchases.
2.0.0
What's new
Product Center
- Application calls the purchase method to initialize Qonversion SDK.
- Qonversion SDK communicates with StoreKit or Google Billing Client to make a purchase.
- If a purchase is successful, the SDK sends a request to Qonversion API for server-to-server validation of purchase. Qonversion server unlocks permissions associated with the product.
- SDK returns control to the application with a processing state
2.0.1
We have rethought our approach to working with subscriptions and prepared our largest update that includes Product Center – our major feature for working with any type in-app purchases.
2.0.0
What's new
Product Center
- Application calls the purchase method to initialize Qonversion SDK.
- Qonversion SDK communicates with StoreKit or Google Billing Client to make a purchase.
- If a purchase is successful, the SDK sends a request to Qonversion API for server-to-server validation of purchase. Qonversion server unlocks permissions associated with the product.
- SDK returns control to the application with a processing state
2.0.0
We have rethought our approach to working with subscriptions and prepared our largest update that includes Product Center – our major feature for working with any type in-app purchases.
2.0.0
What's new
Product Center
- Application calls the purchase method to initialize Qonversion SDK.
- Qonversion SDK communicates with StoreKit or Google Billing Client to make a purchase.
- If a purchase is successful, the SDK sends a request to Qonversion API for server-to-server validation of purchase. Qonversion server unlocks permissions associated with the product.
- SDK returns control to the application with a processing state
