Skip to content

Commit 03eaee7

Browse files
authored
Merge pull request #459 from qonversion/release/10.10.0
Release 10.10.0
2 parents 9760a09 + 5f3140a commit 03eaee7

15 files changed

Lines changed: 34 additions & 215 deletions

File tree

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def kotlin_version = getExtOrDefault("kotlinVersion")
8080
dependencies {
8181
implementation "com.facebook.react:react-android"
8282
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
83-
implementation "io.qonversion:sandwich:7.10.1"
83+
implementation "io.qonversion:sandwich:7.11.0"
8484
}
8585

8686
if (isNewArchitectureEnabled()) {

example/src/App.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import ProductsScreen from './screens/ProductsScreen';
2424
import ProductDetailScreen from './screens/ProductDetailScreen';
2525
import EntitlementsScreen from './screens/EntitlementsScreen';
2626
import EntitlementDetailScreen from './screens/EntitlementDetailScreen';
27-
import OfferingsScreen from './screens/OfferingsScreen';
2827
import RemoteConfigsScreen from './screens/RemoteConfigsScreen';
2928
import UserScreen from './screens/UserScreen';
3029
import NoCodesScreen from './screens/NoCodesScreen';
@@ -113,8 +112,6 @@ const App: React.FC = () => {
113112
) : (
114113
<EntitlementsScreen />
115114
);
116-
case 'offerings':
117-
return <OfferingsScreen />;
118115
case 'remoteConfigs':
119116
return <RemoteConfigsScreen />;
120117
case 'user':

example/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export { default as SkeletonLoader } from './components/SkeletonLoader';
1414
export { default as MainScreen } from './screens/MainScreen';
1515
export { default as ProductsScreen } from './screens/ProductsScreen';
1616
export { default as EntitlementsScreen } from './screens/EntitlementsScreen';
17-
export { default as OfferingsScreen } from './screens/OfferingsScreen';
1817
export { default as RemoteConfigsScreen } from './screens/RemoteConfigsScreen';
1918
export { default as UserScreen } from './screens/UserScreen';
2019
export { default as NoCodesScreen } from './screens/NoCodesScreen';

example/src/screens/MainScreen/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ const MainScreen: React.FC = () => {
2121
const menuItems = [
2222
{ id: 'products', title: 'Products' },
2323
{ id: 'entitlements', title: 'Entitlements' },
24-
{ id: 'offerings', title: 'Offerings' },
2524
{ id: 'remoteConfigs', title: 'Remote Configs' },
2625
{ id: 'user', title: 'User' },
2726
{ id: 'noCodes', title: 'No-Codes' },

example/src/screens/OfferingsScreen/index.tsx

Lines changed: 0 additions & 82 deletions
This file was deleted.

example/src/screens/OfferingsScreen/styles.ts

Lines changed: 0 additions & 113 deletions
This file was deleted.

example/src/screens/ProductDetailScreen/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ const ProductDetailScreen: React.FC<ProductDetailScreenProps> = ({
101101
{renderField('Store ID', product.storeId)}
102102
{renderField('Base Plan ID', product.basePlanId)}
103103
{renderField('Type', product.type)}
104-
{renderField('Offering ID', product.offeringId)}
105104
</View>
106105

107106
<View style={styles.section}>

example/src/store/AppStore.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import {
3-
Offerings,
43
Product,
54
RemoteConfigList,
65
User,
@@ -10,7 +9,6 @@ import Entitlement from '../../../src/dto/Entitlement';
109
// Global Store (Redux-like pattern)
1110
export interface AppState {
1211
products: Map<string, Product> | null;
13-
offerings: Offerings | null;
1412
entitlements: Map<string, Entitlement> | null;
1513
remoteConfigs: RemoteConfigList | null;
1614
userInfo: User | null;
@@ -29,7 +27,6 @@ export interface AppState {
2927

3028
export type AppAction =
3129
| { type: 'SET_PRODUCTS'; payload: Map<string, Product> }
32-
| { type: 'SET_OFFERINGS'; payload: Offerings }
3330
| { type: 'SET_ENTITLEMENTS'; payload: Map<string, Entitlement> }
3431
| { type: 'SET_REMOTE_CONFIGS'; payload: RemoteConfigList }
3532
| { type: 'SET_USER_INFO'; payload: User }
@@ -48,7 +45,6 @@ export type AppAction =
4845

4946
export const initialState: AppState = {
5047
products: null,
51-
offerings: null,
5248
entitlements: null,
5349
remoteConfigs: null,
5450
userInfo: null,
@@ -65,8 +61,6 @@ export function appReducer(state: AppState, action: AppAction): AppState {
6561
switch (action.type) {
6662
case 'SET_PRODUCTS':
6763
return { ...state, products: action.payload };
68-
case 'SET_OFFERINGS':
69-
return { ...state, offerings: action.payload };
7064
case 'SET_ENTITLEMENTS':
7165
return { ...state, entitlements: action.payload };
7266
case 'SET_REMOTE_CONFIGS':

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.9.0",
4+
"version": "10.10.0",
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",

qonversion-react-native-sdk.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
1616
s.source_files = "ios/**/*.{h,m,mm,cpp,swift}"
1717
s.private_header_files = "ios/**/*.h"
1818

19-
s.dependency "QonversionSandwich", "7.10.1"
19+
s.dependency "QonversionSandwich", "7.11.0"
2020
install_modules_dependencies(s)
2121
end

0 commit comments

Comments
 (0)