Skip to content

Commit e7b4bf4

Browse files
committed
Merge remote-tracking branch 'origin/develop' into kamo/dev-275-noCodesInAnalytics
2 parents bebfab0 + 9b6d149 commit e7b4bf4

7 files changed

Lines changed: 29 additions & 16 deletions

File tree

.github/workflows/publish.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,35 @@
11
name: Publish
22

33
on:
4+
workflow_dispatch:
45
release:
56
types: [released]
67

8+
permissions:
9+
id-token: write
10+
contents: read
11+
712
jobs:
813
publish:
914
name: Upload archives
10-
runs-on: macos-latest
15+
runs-on: ubuntu-latest
16+
permissions:
17+
id-token: write # OIDC for npm trusted publishers
18+
contents: read
1119
steps:
1220
- name: Check out code
13-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
22+
23+
- name: Setup node
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: '22.x'
27+
registry-url: 'https://registry.npmjs.org'
1428

1529
- name: Build
1630
run: |
1731
yarn
1832
yarn prepare
1933
20-
- name: Setup node for publishing
21-
uses: actions/setup-node@v3
22-
with:
23-
node-version: '22.x'
24-
registry-url: 'https://registry.npmjs.org'
25-
2634
- name: Publish to npm
27-
run: npm publish
28-
env:
29-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
35+
run: npm publish

example/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PODS:
1010
- hermes-engine/Pre-built (0.80.1)
1111
- Qonversion (6.1.0):
1212
- Qonversion/Main (= 6.1.0)
13-
- qonversion-react-native-sdk (10.0.0):
13+
- qonversion-react-native-sdk (10.0.1):
1414
- boost
1515
- DoubleConversion
1616
- fast_float
@@ -2440,7 +2440,7 @@ SPEC CHECKSUMS:
24402440
glog: 5683914934d5b6e4240e497e0f4a3b42d1854183
24412441
hermes-engine: 4f07404533b808de66cf48ac4200463068d0e95a
24422442
Qonversion: 0b64e731cb59f94ab03c132cea2b70552b4dcc2b
2443-
qonversion-react-native-sdk: ce6463d62e5ea60ddf3bf7b4cce582f9415f1c01
2443+
qonversion-react-native-sdk: f4866555352a9eede1049a32679fcbb2ebc6691b
24442444
QonversionSandwich: 6aee2b128590545439041bb793a77eaf1d4b325e
24452445
RCT-Folly: 59ec0ac1f2f39672a0c6e6cecdd39383b764646f
24462446
RCTDeprecation: efa5010912100e944a7ac9a93a157e1def1988fe

ios/RNNoCodes.mm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#import "RNNoCodes.h"
2+
#if __has_include(<qonversion_react_native_sdk/qonversion_react_native_sdk-Swift.h>)
3+
#import <qonversion_react_native_sdk/qonversion_react_native_sdk-Swift.h>
4+
#else
25
#import "qonversion_react_native_sdk-Swift.h"
6+
#endif
37

48
@interface RNNoCodes () <NoCodesEventDelegate, NoCodesPurchaseDelegateProxy>
59

ios/RNQonversion.mm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#import "RNQonversion.h"
2+
#if __has_include(<qonversion_react_native_sdk/qonversion_react_native_sdk-Swift.h>)
3+
#import <qonversion_react_native_sdk/qonversion_react_native_sdk-Swift.h>
4+
#else
25
#import "qonversion_react_native_sdk-Swift.h"
6+
#endif
37

48
@interface RNQonversion () <QonversionEventDelegate>
59

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@qonversion/react-native-sdk",
33
"title": "React Native Qonversion",
4-
"version": "10.0.0",
4+
"version": "10.0.2",
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": "./lib/module/index.js",
77
"types": "./lib/typescript/src/index.d.ts",

src/QonversionApi.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export interface QonversionApi {
2424

2525
/**
2626
* iOS only
27-
* Contact us before you start using this function
2827
* Call this function to sync purchases if you are using StoreKit2 and our SDK in Analytics mode.
2928
*/
3029
syncStoreKit2Purchases(): void;

src/internal/QonversionInternal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import PromotionalOffer from '../dto/PromotionalOffer';
2323
import RNQonversion from './specs/NativeQonversionModule';
2424
import type { QPromoOfferDetails } from './specs/NativeQonversionModule';
2525

26-
export const sdkVersion = "10.0.0-RC2";
26+
export const sdkVersion = "10.0.2";
2727
export const sdkSource = "rn";
2828

2929
export default class QonversionInternal implements QonversionApi {

0 commit comments

Comments
 (0)