Skip to content

Commit 9e9ff11

Browse files
committed
Added fallback file
1 parent a556806 commit 9e9ff11

2 files changed

Lines changed: 173 additions & 8 deletions

File tree

example/ios/QonversionExample.xcodeproj/project.pbxproj

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/* Begin PBXBuildFile section */
1010
0C80B921A6F3F58F76C31292 /* libPods-QonversionExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-QonversionExample.a */; };
1111
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
12+
706AC1C82E67D2ED00ADA6CB /* qonversion_ios_fallbacks.json in Resources */ = {isa = PBXBuildFile; fileRef = 706AC1C72E67D2ED00ADA6CB /* qonversion_ios_fallbacks.json */; };
1213
74E0385952FD1D0B9E5AC42C /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
1314
761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; };
1415
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
@@ -22,6 +23,7 @@
2223
3B4392A12AC88292D35C810B /* Pods-QonversionExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-QonversionExample.debug.xcconfig"; path = "Target Support Files/Pods-QonversionExample/Pods-QonversionExample.debug.xcconfig"; sourceTree = "<group>"; };
2324
5709B34CF0A7D63546082F79 /* Pods-QonversionExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-QonversionExample.release.xcconfig"; path = "Target Support Files/Pods-QonversionExample/Pods-QonversionExample.release.xcconfig"; sourceTree = "<group>"; };
2425
5DCACB8F33CDC322A6C60F78 /* libPods-QonversionExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-QonversionExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
26+
706AC1C72E67D2ED00ADA6CB /* qonversion_ios_fallbacks.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = qonversion_ios_fallbacks.json; sourceTree = "<group>"; };
2527
761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = QonversionExample/AppDelegate.swift; sourceTree = "<group>"; };
2628
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = QonversionExample/LaunchScreen.storyboard; sourceTree = "<group>"; };
2729
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
@@ -42,6 +44,7 @@
4244
13B07FAE1A68108700A75B9A /* QonversionExample */ = {
4345
isa = PBXGroup;
4446
children = (
47+
706AC1C72E67D2ED00ADA6CB /* qonversion_ios_fallbacks.json */,
4548
13B07FB51A68108700A75B9A /* Images.xcassets */,
4649
761780EC2CA45674006654EE /* AppDelegate.swift */,
4750
13B07FB61A68108700A75B9A /* Info.plist */,
@@ -159,6 +162,7 @@
159162
buildActionMask = 2147483647;
160163
files = (
161164
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
165+
706AC1C82E67D2ED00ADA6CB /* qonversion_ios_fallbacks.json in Resources */,
162166
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
163167
74E0385952FD1D0B9E5AC42C /* PrivacyInfo.xcprivacy in Resources */,
164168
);
@@ -191,10 +195,14 @@
191195
inputFileListPaths = (
192196
"${PODS_ROOT}/Target Support Files/Pods-QonversionExample/Pods-QonversionExample-frameworks-${CONFIGURATION}-input-files.xcfilelist",
193197
);
198+
inputPaths = (
199+
);
194200
name = "[CP] Embed Pods Frameworks";
195201
outputFileListPaths = (
196202
"${PODS_ROOT}/Target Support Files/Pods-QonversionExample/Pods-QonversionExample-frameworks-${CONFIGURATION}-output-files.xcfilelist",
197203
);
204+
outputPaths = (
205+
);
198206
runOnlyForDeploymentPostprocessing = 0;
199207
shellPath = /bin/sh;
200208
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-QonversionExample/Pods-QonversionExample-frameworks.sh\"\n";
@@ -230,10 +238,14 @@
230238
inputFileListPaths = (
231239
"${PODS_ROOT}/Target Support Files/Pods-QonversionExample/Pods-QonversionExample-resources-${CONFIGURATION}-input-files.xcfilelist",
232240
);
241+
inputPaths = (
242+
);
233243
name = "[CP] Copy Pods Resources";
234244
outputFileListPaths = (
235245
"${PODS_ROOT}/Target Support Files/Pods-QonversionExample/Pods-QonversionExample-resources-${CONFIGURATION}-output-files.xcfilelist",
236246
);
247+
outputPaths = (
248+
);
237249
runOnlyForDeploymentPostprocessing = 0;
238250
shellPath = /bin/sh;
239251
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-QonversionExample/Pods-QonversionExample-resources.sh\"\n";
@@ -380,10 +392,7 @@
380392
"-DFOLLY_CFG_NO_COROUTINES=1",
381393
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
382394
);
383-
OTHER_LDFLAGS = (
384-
"$(inherited)",
385-
" ",
386-
);
395+
OTHER_LDFLAGS = "$(inherited) ";
387396
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
388397
SDKROOT = iphoneos;
389398
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
@@ -452,10 +461,7 @@
452461
"-DFOLLY_CFG_NO_COROUTINES=1",
453462
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
454463
);
455-
OTHER_LDFLAGS = (
456-
"$(inherited)",
457-
" ",
458-
);
464+
OTHER_LDFLAGS = "$(inherited) ";
459465
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
460466
SDKROOT = iphoneos;
461467
USE_HERMES = true;
Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
{
2+
"products": [
3+
{
4+
"id": "weekly",
5+
"duration": 0,
6+
"store_id": "io.qonversion.weekly",
7+
"type": 1
8+
},
9+
{
10+
"id": "consumable",
11+
"duration": null,
12+
"store_id": "io.qonversion.consumable",
13+
"type": 2
14+
},
15+
{
16+
"id": "subs_plus_trial",
17+
"duration": 1,
18+
"store_id": "io.qonversion.subs.monthly.plus.trial",
19+
"type": 0
20+
},
21+
{
22+
"id": "annual",
23+
"duration": 4,
24+
"store_id": "io.qonversion.subs.annual",
25+
"type": 0
26+
},
27+
{
28+
"id": "in_app",
29+
"duration": null,
30+
"store_id": "io.qonversion.nonconsumable",
31+
"type": 2
32+
}
33+
],
34+
"offerings": [
35+
{
36+
"id": "main",
37+
"tag": 1,
38+
"products": [
39+
{
40+
"id": "weekly",
41+
"duration": 0,
42+
"store_id": "io.qonversion.weekly",
43+
"type": 1
44+
},
45+
{
46+
"id": "annual",
47+
"duration": 4,
48+
"store_id": "io.qonversion.subs.annual",
49+
"type": 0
50+
},
51+
{
52+
"id": "consumable",
53+
"duration": null,
54+
"store_id": "io.qonversion.consumable",
55+
"type": 2
56+
}
57+
]
58+
},
59+
{
60+
"id": "discounted_offer",
61+
"tag": 0,
62+
"products": []
63+
}
64+
],
65+
"products_permissions": {
66+
"weekly": [
67+
"plus"
68+
],
69+
"consumable": [],
70+
"subs_plus_trial": [
71+
"standart"
72+
],
73+
"annual": [
74+
"standart",
75+
"sample"
76+
],
77+
"in_app": [
78+
"Premium Movies"
79+
]
80+
},
81+
"remote_config_list": [
82+
{
83+
"experiment": null,
84+
"payload": {
85+
"CTA": "Start Trial",
86+
"CTA_color": "#307BF6",
87+
"main_image": "[IMAGE_URL]",
88+
"product_id": "prod_7d_trial_5.99",
89+
"show_close_button": true
90+
},
91+
"source": {
92+
"assignment_type": "auto",
93+
"context_key": "main_paywall",
94+
"name": "default paywall",
95+
"type": "remote_configuration",
96+
"uid": "0dcb1bd9-9bc3-4668-84aa-4540d1042c5d"
97+
}
98+
},
99+
{
100+
"experiment": null,
101+
"payload": {
102+
"CTA": "Start you trial",
103+
"CTA_color": "red",
104+
"main_image": "111",
105+
"product_id": "123123123123123",
106+
"show_close_button": true
107+
},
108+
"source": {
109+
"assignment_type": "auto",
110+
"context_key": "",
111+
"name": "Default settings",
112+
"type": "remote_configuration",
113+
"uid": "12feb1dd-8096-47bc-a5a1-443fd2828ecc"
114+
}
115+
},
116+
{
117+
"experiment": null,
118+
"payload": {
119+
"test_key": "test_value"
120+
},
121+
"source": {
122+
"assignment_type": "auto",
123+
"context_key": "test_context_key",
124+
"name": "Test with context key1",
125+
"type": "remote_configuration",
126+
"uid": "c5077ec4-acf4-41ea-8b43-05114be5d7ce"
127+
}
128+
},
129+
{
130+
"experiment": null,
131+
"payload": {
132+
"test_key_2": "test_value_2"
133+
},
134+
"source": {
135+
"assignment_type": "auto",
136+
"context_key": "test_context_key_2",
137+
"name": "Test with context key2 - copy",
138+
"type": "remote_configuration",
139+
"uid": "1c000f2a-2f4b-4736-b5dd-75b13bf73deb"
140+
}
141+
},
142+
{
143+
"experiment": null,
144+
"payload": {
145+
"bool": true,
146+
"json": {
147+
"key": "value"
148+
}
149+
},
150+
"source": {
151+
"assignment_type": "auto",
152+
"context_key": "swift_key ",
153+
"name": "Swift",
154+
"type": "remote_configuration",
155+
"uid": "9f85d738-56d8-4f6c-b54a-c08658be2cb4"
156+
}
157+
}
158+
]
159+
}

0 commit comments

Comments
 (0)