Skip to content

Commit 1600bc5

Browse files
authored
Merge pull request #331 from qonversion/release/8.1.4
Release 8.1.4
2 parents e20cfc0 + d7f6ba7 commit 1600bc5

13 files changed

+27
-74
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ See the [quick start guide documentation](https://documentation.qonversion.io/do
3838

3939
## Analytics
4040

41-
Qonversion provides advanced subscription analytics out-of-the-box. You can monitor real-time metrics from new users and trial-to-paid conversions to revenue, MRR, ARR, cohort retention and more. Understand your customers and make better decisions with precise subscription analytics.
41+
Qonversion provides advanced subscription analytics out of the box. You can monitor real-time metrics from new users and trial-to-paid conversions to revenue, MRR, ARR, cohort retention, and more. Understand your customers and make better decisions with precise subscription analytics.
4242

4343
<p align="center">
4444
<a href="https://documentation.qonversion.io/docs/analytics"><img width="90%" src="https://files.readme.io/9a4fdf6-Analytics.png">
@@ -89,10 +89,10 @@ Send user-level subscription data to your favorite platforms.
8989
* **Track and increase your revenue.** Qonversion provides detailed real-time revenue analytics including cohort analysis, trial conversion rates, country segmentation, and much more.
9090
* **Integrations with the leading mobile platforms.** Qonversion allows sending data to platforms like AppsFlyer, Adjust, Branch, Tenjin, Facebook Ads, Amplitude, Mixpanel, and many others.
9191
* **Change promoted in-app products.** Change promoted in-app products anytime without app releases.
92-
* **A/B test** and identify winning in-app purchases, subscriptions or paywals.
92+
* **A/B test** and identify winning in-app purchases, subscriptions, or paywalls.
9393
* **Cross-device and cross-platform access management.** If you provide user authorization in your app, you can easily set Qonversion to provide premium access to authorized users across devices and operating systems.
94-
* **SDK caches the data.** Qonversion SDK caches purchase data including in-app products and entitlements, so the user experience is not affected even with the slow or interrupting network connection.
95-
* **Webhooks.** You can easily send all of the data to your server with Qonversion webhooks.
94+
* **SDK caches the data.** Qonversion SDK caches purchase data including in-app products and entitlements, so the user experience is not affected even with a slow or interrupted network connection.
95+
* **Webhooks.** You can easily send all the data to your server with Qonversion webhooks.
9696
* **Customer support.** You can always reach out to our customer support and get the help required.
9797

9898
Convinced? Let's go!
@@ -111,7 +111,7 @@ Whether you’re a core user or trying it out for the first time, you can make a
111111

112112
## Contributing
113113

114-
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
114+
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
115115

116116
1. Fork the Project
117117
2. Create your Feature Branch (`git checkout -b feature/SuperFeature`)
@@ -126,4 +126,4 @@ Contact us via [issues on GitHub](https://github.com/qonversion/react-native-sdk
126126

127127
## License
128128

129-
Qonversion SDK is available under the MIT license.
129+
Qonversion SDK is available under the MIT license.

android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ repositories {
6565
dependencies {
6666
//noinspection GradleDynamicVersion
6767
implementation 'com.facebook.react:react-native:+' // From node_modules
68-
implementation "io.qonversion.sandwich:sandwich:5.1.4"
68+
implementation "io.qonversion.sandwich:sandwich:5.1.6"
6969
}
7070

7171
afterEvaluate { project ->

example/App.js

-4
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ import Qonversion, {
1616
Environment,
1717
Entitlement,
1818
EntitlementsCacheLifetime,
19-
PurchaseModel,
2019
} from 'react-native-qonversion';
21-
import NotificationsManager from './notificationsManager';
22-
23-
NotificationsManager.init();
2420

2521
type StateType = {
2622
inAppButtonTitle: string;

example/ios/Podfile.lock

+10-10
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ PODS:
7575
- glog (0.3.5)
7676
- libevent (2.1.12)
7777
- OpenSSL-Universal (1.1.1100)
78-
- Qonversion (5.12.0):
79-
- Qonversion/Main (= 5.12.0)
80-
- Qonversion/Main (5.12.0)
81-
- QonversionSandwich (5.1.3):
82-
- Qonversion (= 5.12.0)
78+
- Qonversion (5.12.3):
79+
- Qonversion/Main (= 5.12.3)
80+
- Qonversion/Main (5.12.3)
81+
- QonversionSandwich (5.1.5):
82+
- Qonversion (= 5.12.3)
8383
- RCT-Folly (2021.07.22.00):
8484
- boost
8585
- DoubleConversion
@@ -289,8 +289,8 @@ PODS:
289289
- React-jsinspector (0.70.7)
290290
- React-logger (0.70.7):
291291
- glog
292-
- react-native-qonversion (8.1.1):
293-
- QonversionSandwich (= 5.1.3)
292+
- react-native-qonversion (8.1.3):
293+
- QonversionSandwich (= 5.1.5)
294294
- React
295295
- React-perflogger (0.70.7)
296296
- React-RCTActionSheet (0.70.7):
@@ -535,8 +535,8 @@ SPEC CHECKSUMS:
535535
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
536536
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
537537
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
538-
Qonversion: ac2da69e497cb1f01cea13d82513fde14f338ca3
539-
QonversionSandwich: 17c9b9db0af4f7810b2c57c8ca90c838c487ebf7
538+
Qonversion: d1a0c6aeff9ba9772ed5020899c2b13422f6aff1
539+
QonversionSandwich: 427599ed4e5c655a63eba1cf029647e49a12a457
540540
RCT-Folly: 0080d0a6ebf2577475bda044aa59e2ca1f909cda
541541
RCTRequired: 837880d26ec119e105317dc28a456f3016bf16d1
542542
RCTTypeSafety: 5c854c04c3383cab04f404e25d408ed52124b300
@@ -551,7 +551,7 @@ SPEC CHECKSUMS:
551551
React-jsiexecutor: e95cdd036e7947ddf87f3049319ac3064deb76b5
552552
React-jsinspector: 1c34fea1868136ecde647bc11fae9266d4143693
553553
React-logger: e9f407f9fdf3f3ce7749ae6f88affe63e8446019
554-
react-native-qonversion: 9433d0c60eadc033e2f55efcc68bad34112a82ec
554+
react-native-qonversion: c848653c8fd84f59b0a43f5ea871785fb919c145
555555
React-perflogger: 52a94f38c19a518d05726624b49bfc192639374d
556556
React-RCTActionSheet: 7b89fe64a852bc3ae39b91dbd142ef09931ef3f7
557557
React-RCTAnimation: ad84bfbf8c5f6f77e65092d0c2b0506b80b5cf99

example/notificationsManager.js

-43
This file was deleted.

example/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"babel-preset-react-native": "2.1.0",
1919
"react": "18.1.0",
2020
"react-native": "0.70.7",
21-
"react-native-push-notification": "^8.1.1",
2221
"react-native-qonversion": "file:../"
2322
},
2423
"devDependencies": {

example/yarn.lock

+1-6
Original file line numberDiff line numberDiff line change
@@ -6549,13 +6549,8 @@ react-native-gradle-plugin@^0.70.3:
65496549
resolved "https://registry.yarnpkg.com/react-native-gradle-plugin/-/react-native-gradle-plugin-0.70.3.tgz#cbcf0619cbfbddaa9128701aa2d7b4145f9c4fc8"
65506550
integrity sha512-oOanj84fJEXUg9FoEAQomA8ISG+DVIrTZ3qF7m69VQUJyOGYyDZmPqKcjvRku4KXlEH6hWO9i4ACLzNBh8gC0A==
65516551

6552-
react-native-push-notification@^8.1.1:
6553-
version "8.1.1"
6554-
resolved "https://registry.yarnpkg.com/react-native-push-notification/-/react-native-push-notification-8.1.1.tgz#a41d20c70ea5a7709417e96261b225461f8dc73a"
6555-
integrity sha512-XpBtG/w+a6WXTxu6l1dNYyTiHnbgnvjoc3KxPTxYkaIABRmvuJZkFxqruyGvfCw7ELAlZEAJO+dthdTabCe1XA==
6556-
65576552
"react-native-qonversion@file:..":
6558-
version "7.5.0"
6553+
version "8.1.1"
65596554

65606555
65616556
version "0.70.7"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-qonversion",
33
"title": "React Native Qonversion",
4-
"version": "8.1.3",
4+
"version": "8.1.4",
55
"description": "Qonversion provides full in-app purchases infrastructure, so you do not need to build your own server for receipt validation. Implement in-app subscriptions, validate user receipts, check subscription status, and provide access to your app features and content using our StoreKit wrapper and Google Play Billing wrapper.",
66
"main": "build/index.js",
77
"types": "build/index.d.ts",

react-native-qonversion.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ Pod::Spec.new do |s|
2222
s.requires_arc = true
2323

2424
s.dependency "React"
25-
s.dependency "QonversionSandwich", "5.1.4"
25+
s.dependency "QonversionSandwich", "5.1.6"
2626
end

src/AutomationsApi.ts

+3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ interface AutomationsApi {
1313
/**
1414
* Set push token to Qonversion to enable Qonversion push notifications
1515
*
16+
* @deprecated Consider removing this method calls. Qonversion is not working with push notifications anymore.
1617
* @param token Firebase device token for Android. APNs device token for iOS.
1718
*/
1819
setNotificationsToken(token: string): void;
1920

2021
/**
2122
* Call to handle push notifications sent by Qonversion Automations.
2223
*
24+
* @deprecated Consider removing this method calls. Qonversion is not working with push notifications anymore.
2325
* @param notificationData notification payload data
2426
* @returns true when a push notification was received from Qonversion. Otherwise, returns false, so you need to handle the notification yourself
2527
*
@@ -31,6 +33,7 @@ interface AutomationsApi {
3133
/**
3234
* Get parsed custom payload, which you added to the notification in the dashboard
3335
*
36+
@deprecated Consider removing this method calls. Qonversion is not working with push notifications anymore.
3437
* @param notificationData notification payload data
3538
* @returns a map with custom payload from the notification or null if it's not provided.
3639
*/

src/dto/enums.ts

+1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ export enum UserPropertyKey {
138138
APP_METRICA_USER_PROFILE_ID = "AppMetricaUserProfileId",
139139
PUSH_WOOSH_HW_ID = "PushWooshHwId",
140140
PUSH_WOOSH_USER_ID = "PushWooshUserId",
141+
TENJIN_ANALYTICS_INSTALLATION_ID = "TenjinAnalyticsInstallationId",
141142
CUSTOM = "Custom",
142143
}
143144

src/internal/Mapper.ts

+2
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,8 @@ class Mapper {
471471
return UserPropertyKey.PUSH_WOOSH_HW_ID;
472472
case "_q_pushwoosh_user_id":
473473
return UserPropertyKey.PUSH_WOOSH_USER_ID;
474+
case "_q_tenjin_aiid":
475+
return UserPropertyKey.TENJIN_ANALYTICS_INSTALLATION_ID;
474476
}
475477

476478
return UserPropertyKey.CUSTOM;

src/internal/QonversionInternal.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import PurchaseOptionsBuilder from "../dto/PurchaseOptionsBuilder";
2121

2222
const {RNQonversion} = NativeModules;
2323

24-
const sdkVersion = "8.1.3";
24+
const sdkVersion = "8.1.4";
2525

2626
const EVENT_ENTITLEMENTS_UPDATED = "entitlements_updated";
2727
const EVENT_PROMO_PURCHASE_RECEIVED = "promo_purchase_received";

0 commit comments

Comments
 (0)