expo-iap 2.8.3-rc.2 → 2.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/CLAUDE.md +8 -20
  3. package/CONTRIBUTING.md +4 -3
  4. package/build/helpers/subscription.d.ts.map +1 -1
  5. package/build/helpers/subscription.js +6 -3
  6. package/build/helpers/subscription.js.map +1 -1
  7. package/build/index.d.ts.map +1 -1
  8. package/build/index.js +1 -3
  9. package/build/index.js.map +1 -1
  10. package/build/modules/android.d.ts.map +1 -1
  11. package/build/modules/android.js.map +1 -1
  12. package/build/modules/ios.d.ts.map +1 -1
  13. package/build/modules/ios.js.map +1 -1
  14. package/build/types/ExpoIapAndroid.types.d.ts +2 -2
  15. package/build/types/ExpoIapAndroid.types.d.ts.map +1 -1
  16. package/build/types/ExpoIapAndroid.types.js.map +1 -1
  17. package/build/types/ExpoIapIOS.types.d.ts +3 -3
  18. package/build/types/ExpoIapIOS.types.d.ts.map +1 -1
  19. package/build/types/ExpoIapIOS.types.js.map +1 -1
  20. package/build/useIAP.d.ts +4 -0
  21. package/build/useIAP.d.ts.map +1 -1
  22. package/build/useIAP.js +4 -0
  23. package/build/useIAP.js.map +1 -1
  24. package/ios/ExpoIap.podspec +5 -5
  25. package/jest.config.js +17 -14
  26. package/package.json +1 -1
  27. package/plugin/build/withIAP.js +4 -17
  28. package/plugin/src/withIAP.ts +4 -23
  29. package/plugin/tsconfig.tsbuildinfo +1 -1
  30. package/src/helpers/subscription.ts +28 -21
  31. package/src/index.ts +5 -10
  32. package/src/modules/android.ts +7 -7
  33. package/src/modules/ios.ts +2 -7
  34. package/src/types/ExpoIapAndroid.types.ts +4 -3
  35. package/src/types/ExpoIapIOS.types.ts +3 -4
  36. package/src/useIAP.ts +7 -9
  37. package/coverage/clover.xml +0 -601
  38. package/coverage/coverage-final.json +0 -9
  39. package/coverage/lcov-report/base.css +0 -224
  40. package/coverage/lcov-report/block-navigation.js +0 -87
  41. package/coverage/lcov-report/favicon.png +0 -0
  42. package/coverage/lcov-report/index.html +0 -176
  43. package/coverage/lcov-report/prettify.css +0 -1
  44. package/coverage/lcov-report/prettify.js +0 -2
  45. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  46. package/coverage/lcov-report/sorter.js +0 -210
  47. package/coverage/lcov-report/src/ExpoIap.types.ts.html +0 -1243
  48. package/coverage/lcov-report/src/helpers/index.html +0 -116
  49. package/coverage/lcov-report/src/helpers/subscription.ts.html +0 -430
  50. package/coverage/lcov-report/src/index.html +0 -146
  51. package/coverage/lcov-report/src/index.ts.html +0 -2227
  52. package/coverage/lcov-report/src/modules/android.ts.html +0 -469
  53. package/coverage/lcov-report/src/modules/index.html +0 -131
  54. package/coverage/lcov-report/src/modules/ios.ts.html +0 -1411
  55. package/coverage/lcov-report/src/types/ExpoIapAndroid.types.ts.html +0 -487
  56. package/coverage/lcov-report/src/types/index.html +0 -116
  57. package/coverage/lcov-report/src/useIap.ts.html +0 -1483
  58. package/coverage/lcov-report/src/utils/errorMapping.ts.html +0 -349
  59. package/coverage/lcov-report/src/utils/index.html +0 -116
  60. package/coverage/lcov.info +0 -1115
  61. package/ios/expoiap.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  62. package/ios/expoiap.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
@@ -1,601 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1755525128881" clover="3.2.0">
3
- <project timestamp="1755525128881" name="All files">
4
- <metrics statements="556" coveredstatements="141" conditionals="205" coveredconditionals="9" methods="141" coveredmethods="19" elements="902" coveredelements="169" complexity="0" loc="556" ncloc="556" packages="5" files="8" classes="8"/>
5
- <package name="src">
6
- <metrics statements="365" coveredstatements="75" conditionals="131" coveredconditionals="5" methods="94" coveredmethods="2"/>
7
- <file name="ExpoIap.types.ts" path="/Users/hyo/Github/hyochan/expo-iap/src/ExpoIap.types.ts">
8
- <metrics statements="55" coveredstatements="29" conditionals="16" coveredconditionals="2" methods="8" coveredmethods="1"/>
9
- <line num="11" count="1" type="stmt"/>
10
- <line num="88" count="1" type="cond" truecount="2" falsecount="0"/>
11
- <line num="89" count="1" type="stmt"/>
12
- <line num="90" count="1" type="stmt"/>
13
- <line num="91" count="1" type="stmt"/>
14
- <line num="92" count="1" type="stmt"/>
15
- <line num="93" count="1" type="stmt"/>
16
- <line num="94" count="1" type="stmt"/>
17
- <line num="95" count="1" type="stmt"/>
18
- <line num="96" count="1" type="stmt"/>
19
- <line num="97" count="1" type="stmt"/>
20
- <line num="98" count="1" type="stmt"/>
21
- <line num="99" count="1" type="stmt"/>
22
- <line num="100" count="1" type="stmt"/>
23
- <line num="101" count="1" type="stmt"/>
24
- <line num="102" count="1" type="stmt"/>
25
- <line num="103" count="1" type="stmt"/>
26
- <line num="104" count="1" type="stmt"/>
27
- <line num="105" count="1" type="stmt"/>
28
- <line num="106" count="1" type="stmt"/>
29
- <line num="107" count="1" type="stmt"/>
30
- <line num="108" count="1" type="stmt"/>
31
- <line num="109" count="1" type="stmt"/>
32
- <line num="110" count="1" type="stmt"/>
33
- <line num="111" count="1" type="stmt"/>
34
- <line num="112" count="1" type="stmt"/>
35
- <line num="119" count="1" type="stmt"/>
36
- <line num="176" count="1" type="stmt"/>
37
- <line num="178" count="0" type="stmt"/>
38
- <line num="179" count="0" type="stmt"/>
39
- <line num="180" count="0" type="stmt"/>
40
- <line num="181" count="0" type="stmt"/>
41
- <line num="182" count="0" type="stmt"/>
42
- <line num="183" count="0" type="stmt"/>
43
- <line num="184" count="0" type="stmt"/>
44
- <line num="186" count="0" type="stmt"/>
45
- <line num="187" count="0" type="stmt"/>
46
- <line num="188" count="0" type="stmt"/>
47
- <line num="189" count="0" type="stmt"/>
48
- <line num="190" count="0" type="stmt"/>
49
- <line num="191" count="0" type="stmt"/>
50
- <line num="192" count="0" type="stmt"/>
51
- <line num="205" count="0" type="cond" truecount="0" falsecount="2"/>
52
- <line num="209" count="0" type="stmt"/>
53
- <line num="225" count="0" type="cond" truecount="0" falsecount="3"/>
54
- <line num="226" count="0" type="stmt"/>
55
- <line num="233" count="1" type="stmt"/>
56
- <line num="240" count="0" type="cond" truecount="0" falsecount="2"/>
57
- <line num="253" count="0" type="stmt"/>
58
- <line num="255" count="0" type="stmt"/>
59
- <line num="256" count="0" type="cond" truecount="0" falsecount="1"/>
60
- <line num="257" count="0" type="stmt"/>
61
- <line num="261" count="0" type="stmt"/>
62
- <line num="274" count="0" type="stmt"/>
63
- <line num="290" count="0" type="stmt"/>
64
- </file>
65
- <file name="index.ts" path="/Users/hyo/Github/hyochan/expo-iap/src/index.ts">
66
- <metrics statements="168" coveredstatements="41" conditionals="100" coveredconditionals="3" methods="50" coveredmethods="1"/>
67
- <line num="2" count="1" type="stmt"/>
68
- <line num="3" count="1" type="stmt"/>
69
- <line num="6" count="1" type="stmt"/>
70
- <line num="7" count="1" type="stmt"/>
71
- <line num="12" count="1" type="stmt"/>
72
- <line num="34" count="1" type="stmt"/>
73
- <line num="35" count="1" type="stmt"/>
74
- <line num="36" count="1" type="stmt"/>
75
- <line num="40" count="1" type="stmt"/>
76
- <line num="41" count="1" type="stmt"/>
77
- <line num="42" count="1" type="stmt"/>
78
- <line num="47" count="1" type="stmt"/>
79
- <line num="49" count="1" type="cond" truecount="2" falsecount="0"/>
80
- <line num="50" count="1" type="stmt"/>
81
- <line num="51" count="1" type="stmt"/>
82
- <line num="53" count="1" type="stmt"/>
83
- <line num="54" count="1" type="stmt"/>
84
- <line num="57" count="1" type="stmt"/>
85
- <line num="58" count="0" type="stmt"/>
86
- <line num="62" count="1" type="cond" truecount="1" falsecount="1"/>
87
- <line num="73" count="1" type="stmt"/>
88
- <line num="76" count="0" type="stmt"/>
89
- <line num="80" count="0" type="stmt"/>
90
- <line num="83" count="1" type="stmt"/>
91
- <line num="86" count="0" type="stmt"/>
92
- <line num="109" count="1" type="stmt"/>
93
- <line num="112" count="0" type="cond" truecount="0" falsecount="1"/>
94
- <line num="113" count="0" type="stmt"/>
95
- <line num="116" count="0" type="stmt"/>
96
- <line num="118" count="0" type="stmt"/>
97
- <line num="121" count="1" type="stmt"/>
98
- <line num="122" count="0" type="stmt"/>
99
- <line num="123" count="0" type="stmt"/>
100
- <line num="126" count="1" type="stmt"/>
101
- <line num="127" count="0" type="stmt"/>
102
- <line num="130" count="0" type="cond" truecount="0" falsecount="1"/>
103
- <line num="131" count="0" type="stmt"/>
104
- <line num="134" count="0" type="stmt"/>
105
- <line num="136" count="0" type="stmt"/>
106
- <line num="137" count="0" type="stmt"/>
107
- <line num="138" count="0" type="cond" truecount="0" falsecount="1"/>
108
- <line num="139" count="0" type="stmt"/>
109
- <line num="149" count="0" type="stmt"/>
110
- <line num="150" count="0" type="stmt"/>
111
- <line num="151" count="0" type="stmt"/>
112
- <line num="154" count="0" type="stmt"/>
113
- <line num="158" count="1" type="stmt"/>
114
- <line num="161" count="0" type="stmt"/>
115
- <line num="164" count="0" type="cond" truecount="0" falsecount="1"/>
116
- <line num="165" count="0" type="stmt"/>
117
- <line num="168" count="0" type="stmt"/>
118
- <line num="170" count="0" type="stmt"/>
119
- <line num="171" count="0" type="stmt"/>
120
- <line num="172" count="0" type="cond" truecount="0" falsecount="1"/>
121
- <line num="173" count="0" type="stmt"/>
122
- <line num="183" count="0" type="stmt"/>
123
- <line num="184" count="0" type="stmt"/>
124
- <line num="185" count="0" type="cond" truecount="0" falsecount="1"/>
125
- <line num="186" count="0" type="stmt"/>
126
- <line num="195" count="0" type="stmt"/>
127
- <line num="199" count="1" type="stmt"/>
128
- <line num="200" count="0" type="stmt"/>
129
- <line num="225" count="1" type="stmt"/>
130
- <line num="232" count="0" type="cond" truecount="0" falsecount="1"/>
131
- <line num="233" count="0" type="stmt"/>
132
- <line num="236" count="0" type="cond" truecount="0" falsecount="1"/>
133
- <line num="237" count="0" type="stmt"/>
134
- <line num="238" count="0" type="stmt"/>
135
- <line num="239" count="0" type="cond" truecount="0" falsecount="1"/>
136
- <line num="240" count="0" type="stmt"/>
137
- <line num="249" count="0" type="cond" truecount="0" falsecount="2"/>
138
- <line num="254" count="0" type="cond" truecount="0" falsecount="1"/>
139
- <line num="255" count="0" type="stmt"/>
140
- <line num="256" count="0" type="stmt"/>
141
- <line num="257" count="0" type="cond" truecount="0" falsecount="1"/>
142
- <line num="258" count="0" type="stmt"/>
143
- <line num="267" count="0" type="cond" truecount="0" falsecount="2"/>
144
- <line num="272" count="0" type="stmt"/>
145
- <line num="278" count="1" type="cond" truecount="0" falsecount="1"/>
146
- <line num="285" count="0" type="stmt"/>
147
- <line num="288" count="0" type="stmt"/>
148
- <line num="294" count="1" type="cond" truecount="0" falsecount="1"/>
149
- <line num="301" count="0" type="stmt"/>
150
- <line num="304" count="0" type="stmt"/>
151
- <line num="312" count="0" type="stmt"/>
152
- <line num="315" count="0" type="stmt"/>
153
- <line num="317" count="0" type="stmt"/>
154
- <line num="320" count="1" type="cond" truecount="0" falsecount="1"/>
155
- <line num="327" count="0" type="stmt"/>
156
- <line num="330" count="0" type="stmt"/>
157
- <line num="335" count="0" type="stmt"/>
158
- <line num="336" count="0" type="stmt"/>
159
- <line num="339" count="0" type="stmt"/>
160
- <line num="341" count="0" type="stmt"/>
161
- <line num="344" count="1" type="stmt"/>
162
- <line num="347" count="0" type="cond" truecount="0" falsecount="1"/>
163
- <line num="348" count="0" type="stmt"/>
164
- <line num="371" count="1" type="stmt"/>
165
- <line num="376" count="0" type="cond" truecount="0" falsecount="2"/>
166
- <line num="410" count="1" type="stmt"/>
167
- <line num="419" count="0" type="cond" truecount="0" falsecount="1"/>
168
- <line num="421" count="0" type="cond" truecount="0" falsecount="1"/>
169
- <line num="422" count="0" type="stmt"/>
170
- <line num="424" count="0" type="cond" truecount="0" falsecount="1"/>
171
- <line num="425" count="0" type="stmt"/>
172
- <line num="436" count="0" type="stmt"/>
173
- <line num="438" count="0" type="stmt"/>
174
- <line num="439" count="0" type="stmt"/>
175
- <line num="440" count="0" type="stmt"/>
176
- <line num="448" count="0" type="cond" truecount="0" falsecount="2"/>
177
- <line num="454" count="0" type="cond" truecount="0" falsecount="1"/>
178
- <line num="455" count="0" type="stmt"/>
179
- <line num="457" count="0" type="cond" truecount="0" falsecount="1"/>
180
- <line num="458" count="0" type="stmt"/>
181
- <line num="463" count="0" type="cond" truecount="0" falsecount="1"/>
182
- <line num="469" count="0" type="stmt"/>
183
- <line num="471" count="0" type="stmt"/>
184
- <line num="472" count="0" type="stmt"/>
185
- <line num="485" count="0" type="cond" truecount="0" falsecount="1"/>
186
- <line num="495" count="0" type="stmt"/>
187
- <line num="497" count="0" type="stmt"/>
188
- <line num="498" count="0" type="stmt"/>
189
- <line num="505" count="0" type="stmt"/>
190
- <line num="511" count="0" type="stmt"/>
191
- <line num="516" count="0" type="stmt"/>
192
- <line num="544" count="1" type="stmt"/>
193
- <line num="547" count="0" type="stmt"/>
194
- <line num="550" count="0" type="stmt"/>
195
- <line num="557" count="1" type="stmt"/>
196
- <line num="564" count="0" type="stmt"/>
197
- <line num="567" count="0" type="stmt"/>
198
- <line num="568" count="0" type="cond" truecount="0" falsecount="1"/>
199
- <line num="569" count="0" type="stmt"/>
200
- <line num="573" count="0" type="stmt"/>
201
- <line num="574" count="0" type="stmt"/>
202
- <line num="577" count="0" type="stmt"/>
203
- <line num="579" count="0" type="cond" truecount="0" falsecount="1"/>
204
- <line num="580" count="0" type="stmt"/>
205
- <line num="583" count="0" type="stmt"/>
206
- <line num="585" count="0" type="stmt"/>
207
- <line num="603" count="1" type="stmt"/>
208
- <line num="604" count="0" type="cond" truecount="0" falsecount="1"/>
209
- <line num="605" count="0" type="stmt"/>
210
- <line num="606" count="0" type="stmt"/>
211
- <line num="608" count="0" type="stmt"/>
212
- <line num="614" count="1" type="stmt"/>
213
- <line num="615" count="0" type="stmt"/>
214
- <line num="618" count="0" type="stmt"/>
215
- <line num="629" count="1" type="stmt"/>
216
- <line num="638" count="0" type="cond" truecount="0" falsecount="2"/>
217
- <line num="639" count="0" type="stmt"/>
218
- <line num="640" count="0" type="cond" truecount="0" falsecount="2"/>
219
- <line num="641" count="0" type="cond" truecount="0" falsecount="1"/>
220
- <line num="647" count="0" type="stmt"/>
221
- <line num="651" count="0" type="stmt"/>
222
- <line num="659" count="0" type="stmt"/>
223
- <line num="681" count="1" type="stmt"/>
224
- <line num="685" count="0" type="cond" truecount="0" falsecount="1"/>
225
- <line num="686" count="0" type="stmt"/>
226
- <line num="689" count="0" type="cond" truecount="0" falsecount="1"/>
227
- <line num="690" count="0" type="cond" truecount="0" falsecount="1"/>
228
- <line num="691" count="0" type="stmt"/>
229
- <line num="697" count="0" type="cond" truecount="0" falsecount="1"/>
230
- <line num="698" count="0" type="stmt"/>
231
- <line num="704" count="0" type="stmt"/>
232
- <line num="710" count="0" type="stmt"/>
233
- <line num="713" count="1" type="stmt"/>
234
- <line num="714" count="1" type="stmt"/>
235
- </file>
236
- <file name="useIap.ts" path="/Users/hyo/Github/hyochan/expo-iap/src/useIap.ts">
237
- <metrics statements="142" coveredstatements="5" conditionals="15" coveredconditionals="0" methods="36" coveredmethods="0"/>
238
- <line num="2" count="1" type="stmt"/>
239
- <line num="3" count="1" type="stmt"/>
240
- <line num="7" count="1" type="stmt"/>
241
- <line num="23" count="1" type="stmt"/>
242
- <line num="111" count="1" type="stmt"/>
243
- <line num="112" count="0" type="stmt"/>
244
- <line num="113" count="0" type="stmt"/>
245
- <line num="114" count="0" type="stmt"/>
246
- <line num="115" count="0" type="stmt"/>
247
- <line num="116" count="0" type="stmt"/>
248
- <line num="119" count="0" type="stmt"/>
249
- <line num="122" count="0" type="stmt"/>
250
- <line num="123" count="0" type="stmt"/>
251
- <line num="125" count="0" type="stmt"/>
252
- <line num="126" count="0" type="stmt"/>
253
- <line num="127" count="0" type="stmt"/>
254
- <line num="131" count="0" type="stmt"/>
255
- <line num="134" count="0" type="stmt"/>
256
- <line num="140" count="0" type="stmt"/>
257
- <line num="141" count="0" type="stmt"/>
258
- <line num="142" count="0" type="stmt"/>
259
- <line num="143" count="0" type="stmt"/>
260
- <line num="145" count="0" type="cond" truecount="0" falsecount="1"/>
261
- <line num="146" count="0" type="stmt"/>
262
- <line num="149" count="0" type="stmt"/>
263
- <line num="154" count="0" type="stmt"/>
264
- <line num="155" count="0" type="stmt"/>
265
- <line num="158" count="0" type="stmt"/>
266
- <line num="165" count="0" type="stmt"/>
267
- <line num="167" count="0" type="stmt"/>
268
- <line num="168" count="0" type="stmt"/>
269
- <line num="171" count="0" type="stmt"/>
270
- <line num="172" count="0" type="stmt"/>
271
- <line num="175" count="0" type="stmt"/>
272
- <line num="176" count="0" type="stmt"/>
273
- <line num="179" count="0" type="stmt"/>
274
- <line num="181" count="0" type="stmt"/>
275
- <line num="182" count="0" type="stmt"/>
276
- <line num="183" count="0" type="stmt"/>
277
- <line num="184" count="0" type="stmt"/>
278
- <line num="187" count="0" type="stmt"/>
279
- <line num="191" count="0" type="stmt"/>
280
- <line num="197" count="0" type="stmt"/>
281
- <line num="199" count="0" type="stmt"/>
282
- <line num="200" count="0" type="stmt"/>
283
- <line num="201" count="0" type="stmt"/>
284
- <line num="202" count="0" type="stmt"/>
285
- <line num="205" count="0" type="stmt"/>
286
- <line num="209" count="0" type="stmt"/>
287
- <line num="215" count="0" type="stmt"/>
288
- <line num="220" count="0" type="stmt"/>
289
- <line num="221" count="0" type="stmt"/>
290
- <line num="222" count="0" type="cond" truecount="0" falsecount="2"/>
291
- <line num="223" count="0" type="stmt"/>
292
- <line num="224" count="0" type="stmt"/>
293
- <line num="227" count="0" type="stmt"/>
294
- <line num="231" count="0" type="stmt"/>
295
- <line num="232" count="0" type="stmt"/>
296
- <line num="235" count="0" type="stmt"/>
297
- <line num="240" count="0" type="stmt"/>
298
- <line num="246" count="0" type="stmt"/>
299
- <line num="247" count="0" type="stmt"/>
300
- <line num="248" count="0" type="stmt"/>
301
- <line num="249" count="0" type="stmt"/>
302
- <line num="251" count="0" type="stmt"/>
303
- <line num="255" count="0" type="stmt"/>
304
- <line num="257" count="0" type="stmt"/>
305
- <line num="258" count="0" type="stmt"/>
306
- <line num="259" count="0" type="stmt"/>
307
- <line num="260" count="0" type="stmt"/>
308
- <line num="262" count="0" type="stmt"/>
309
- <line num="265" count="0" type="stmt"/>
310
- <line num="271" count="0" type="stmt"/>
311
- <line num="273" count="0" type="stmt"/>
312
- <line num="274" count="0" type="stmt"/>
313
- <line num="276" count="0" type="stmt"/>
314
- <line num="277" count="0" type="stmt"/>
315
- <line num="283" count="0" type="stmt"/>
316
- <line num="284" count="0" type="stmt"/>
317
- <line num="287" count="0" type="stmt"/>
318
- <line num="295" count="0" type="stmt"/>
319
- <line num="296" count="0" type="stmt"/>
320
- <line num="301" count="0" type="stmt"/>
321
- <line num="303" count="0" type="cond" truecount="0" falsecount="1"/>
322
- <line num="304" count="0" type="stmt"/>
323
- <line num="306" count="0" type="cond" truecount="0" falsecount="1"/>
324
- <line num="307" count="0" type="stmt"/>
325
- <line num="319" count="0" type="stmt"/>
326
- <line num="321" count="0" type="stmt"/>
327
- <line num="322" count="0" type="stmt"/>
328
- <line num="324" count="0" type="stmt"/>
329
- <line num="325" count="0" type="stmt"/>
330
- <line num="327" count="0" type="stmt"/>
331
- <line num="333" count="0" type="stmt"/>
332
- <line num="335" count="0" type="stmt"/>
333
- <line num="336" count="0" type="cond" truecount="0" falsecount="1"/>
334
- <line num="337" count="0" type="stmt"/>
335
- <line num="338" count="0" type="stmt"/>
336
- <line num="341" count="0" type="stmt"/>
337
- <line num="347" count="0" type="stmt"/>
338
- <line num="348" count="0" type="stmt"/>
339
- <line num="349" count="0" type="cond" truecount="0" falsecount="1"/>
340
- <line num="350" count="0" type="stmt"/>
341
- <line num="351" count="0" type="cond" truecount="0" falsecount="2"/>
342
- <line num="352" count="0" type="stmt"/>
343
- <line num="354" count="0" type="stmt"/>
344
- <line num="358" count="0" type="stmt"/>
345
- <line num="360" count="0" type="stmt"/>
346
- <line num="364" count="0" type="stmt"/>
347
- <line num="374" count="0" type="stmt"/>
348
- <line num="379" count="0" type="stmt"/>
349
- <line num="380" count="0" type="stmt"/>
350
- <line num="381" count="0" type="stmt"/>
351
- <line num="383" count="0" type="cond" truecount="0" falsecount="1"/>
352
- <line num="384" count="0" type="stmt"/>
353
- <line num="386" count="0" type="stmt"/>
354
- <line num="387" count="0" type="stmt"/>
355
- <line num="389" count="0" type="cond" truecount="0" falsecount="1"/>
356
- <line num="390" count="0" type="stmt"/>
357
- <line num="393" count="0" type="cond" truecount="0" falsecount="1"/>
358
- <line num="394" count="0" type="stmt"/>
359
- <line num="399" count="0" type="stmt"/>
360
- <line num="401" count="0" type="stmt"/>
361
- <line num="402" count="0" type="stmt"/>
362
- <line num="404" count="0" type="cond" truecount="0" falsecount="1"/>
363
- <line num="405" count="0" type="stmt"/>
364
- <line num="410" count="0" type="cond" truecount="0" falsecount="1"/>
365
- <line num="412" count="0" type="stmt"/>
366
- <line num="414" count="0" type="stmt"/>
367
- <line num="416" count="0" type="cond" truecount="0" falsecount="1"/>
368
- <line num="417" count="0" type="stmt"/>
369
- <line num="424" count="0" type="stmt"/>
370
- <line num="425" count="0" type="stmt"/>
371
- <line num="426" count="0" type="stmt"/>
372
- <line num="428" count="0" type="stmt"/>
373
- <line num="429" count="0" type="stmt"/>
374
- <line num="430" count="0" type="stmt"/>
375
- <line num="431" count="0" type="stmt"/>
376
- <line num="432" count="0" type="stmt"/>
377
- <line num="433" count="0" type="stmt"/>
378
- <line num="434" count="0" type="stmt"/>
379
- <line num="438" count="0" type="stmt"/>
380
- </file>
381
- </package>
382
- <package name="src.helpers">
383
- <metrics statements="46" coveredstatements="4" conditionals="28" coveredconditionals="0" methods="3" coveredmethods="0"/>
384
- <file name="subscription.ts" path="/Users/hyo/Github/hyochan/expo-iap/src/helpers/subscription.ts">
385
- <metrics statements="46" coveredstatements="4" conditionals="28" coveredconditionals="0" methods="3" coveredmethods="0"/>
386
- <line num="1" count="1" type="stmt"/>
387
- <line num="2" count="1" type="stmt"/>
388
- <line num="19" count="1" type="stmt"/>
389
- <line num="22" count="0" type="stmt"/>
390
- <line num="23" count="0" type="stmt"/>
391
- <line num="24" count="0" type="stmt"/>
392
- <line num="25" count="0" type="stmt"/>
393
- <line num="28" count="0" type="stmt"/>
394
- <line num="30" count="0" type="cond" truecount="0" falsecount="3"/>
395
- <line num="31" count="0" type="cond" truecount="0" falsecount="1"/>
396
- <line num="32" count="0" type="stmt"/>
397
- <line num="38" count="0" type="cond" truecount="0" falsecount="3"/>
398
- <line num="41" count="0" type="cond" truecount="0" falsecount="1"/>
399
- <line num="42" count="0" type="stmt"/>
400
- <line num="46" count="0" type="cond" truecount="0" falsecount="2"/>
401
- <line num="47" count="0" type="cond" truecount="0" falsecount="3"/>
402
- <line num="48" count="0" type="stmt"/>
403
- <line num="50" count="0" type="cond" truecount="0" falsecount="3"/>
404
- <line num="51" count="0" type="stmt"/>
405
- <line num="52" count="0" type="cond" truecount="0" falsecount="3"/>
406
- <line num="53" count="0" type="stmt"/>
407
- <line num="56" count="0" type="cond" truecount="0" falsecount="1"/>
408
- <line num="58" count="0" type="stmt"/>
409
- <line num="61" count="0" type="stmt"/>
410
- <line num="65" count="0" type="stmt"/>
411
- <line num="66" count="0" type="stmt"/>
412
- <line num="72" count="0" type="cond" truecount="0" falsecount="2"/>
413
- <line num="73" count="0" type="cond" truecount="0" falsecount="3"/>
414
- <line num="74" count="0" type="stmt"/>
415
- <line num="75" count="0" type="stmt"/>
416
- <line num="78" count="0" type="stmt"/>
417
- <line num="81" count="0" type="stmt"/>
418
- <line num="82" count="0" type="stmt"/>
419
- <line num="85" count="0" type="cond" truecount="0" falsecount="1"/>
420
- <line num="86" count="0" type="stmt"/>
421
- <line num="88" count="0" type="cond" truecount="0" falsecount="1"/>
422
- <line num="89" count="0" type="cond" truecount="0" falsecount="1"/>
423
- <line num="90" count="0" type="stmt"/>
424
- <line num="92" count="0" type="stmt"/>
425
- <line num="96" count="0" type="stmt"/>
426
- <line num="99" count="0" type="stmt"/>
427
- <line num="101" count="0" type="stmt"/>
428
- <line num="102" count="0" type="stmt"/>
429
- <line num="111" count="1" type="stmt"/>
430
- <line num="114" count="0" type="stmt"/>
431
- <line num="115" count="0" type="stmt"/>
432
- </file>
433
- </package>
434
- <package name="src.modules">
435
- <metrics statements="100" coveredstatements="57" conditionals="18" coveredconditionals="4" methods="37" coveredmethods="17"/>
436
- <file name="android.ts" path="/Users/hyo/Github/hyochan/expo-iap/src/modules/android.ts">
437
- <metrics statements="19" coveredstatements="7" conditionals="8" coveredconditionals="0" methods="5" coveredmethods="0"/>
438
- <line num="2" count="1" type="stmt"/>
439
- <line num="5" count="1" type="stmt"/>
440
- <line num="12" count="1" type="stmt"/>
441
- <line num="15" count="0" type="stmt"/>
442
- <line num="38" count="1" type="stmt"/>
443
- <line num="45" count="0" type="cond" truecount="0" falsecount="1"/>
444
- <line num="46" count="0" type="stmt"/>
445
- <line num="49" count="0" type="stmt"/>
446
- <line num="66" count="1" type="stmt"/>
447
- <line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
448
- <line num="82" count="0" type="stmt"/>
449
- <line num="86" count="0" type="stmt"/>
450
- <line num="94" count="0" type="cond" truecount="0" falsecount="1"/>
451
- <line num="95" count="0" type="stmt"/>
452
- <line num="100" count="0" type="stmt"/>
453
- <line num="109" count="1" type="stmt"/>
454
- <line num="114" count="0" type="stmt"/>
455
- <line num="124" count="1" type="stmt"/>
456
- <line num="125" count="0" type="stmt"/>
457
- </file>
458
- <file name="ios.ts" path="/Users/hyo/Github/hyochan/expo-iap/src/modules/ios.ts">
459
- <metrics statements="81" coveredstatements="50" conditionals="10" coveredconditionals="4" methods="32" coveredmethods="17"/>
460
- <line num="4" count="1" type="stmt"/>
461
- <line num="5" count="1" type="stmt"/>
462
- <line num="18" count="1" type="stmt"/>
463
- <line num="39" count="1" type="stmt"/>
464
- <line num="42" count="0" type="stmt"/>
465
- <line num="43" count="0" type="stmt"/>
466
- <line num="53" count="0" type="stmt"/>
467
- <line num="57" count="0" type="cond" truecount="0" falsecount="1"/>
468
- <line num="58" count="0" type="stmt"/>
469
- <line num="64" count="0" type="stmt"/>
470
- <line num="69" count="0" type="stmt"/>
471
- <line num="71" count="0" type="stmt"/>
472
- <line num="72" count="0" type="stmt"/>
473
- <line num="77" count="1" type="stmt"/>
474
- <line num="80" count="5" type="stmt"/>
475
- <line num="98" count="1" type="stmt"/>
476
- <line num="99" count="1" type="stmt"/>
477
- <line num="111" count="1" type="stmt"/>
478
- <line num="114" count="6" type="stmt"/>
479
- <line num="126" count="1" type="stmt"/>
480
- <line num="129" count="1" type="stmt"/>
481
- <line num="141" count="1" type="stmt"/>
482
- <line num="144" count="1" type="stmt"/>
483
- <line num="156" count="1" type="stmt"/>
484
- <line num="157" count="1" type="stmt"/>
485
- <line num="170" count="1" type="stmt"/>
486
- <line num="173" count="1" type="stmt"/>
487
- <line num="186" count="1" type="stmt"/>
488
- <line num="187" count="1" type="stmt"/>
489
- <line num="200" count="1" type="stmt"/>
490
- <line num="201" count="1" type="stmt"/>
491
- <line num="214" count="1" type="stmt"/>
492
- <line num="215" count="1" type="stmt"/>
493
- <line num="228" count="1" type="stmt"/>
494
- <line num="229" count="1" type="stmt"/>
495
- <line num="247" count="1" type="stmt"/>
496
- <line num="255" count="1" type="stmt"/>
497
- <line num="256" count="1" type="stmt"/>
498
- <line num="270" count="1" type="stmt"/>
499
- <line num="271" count="1" type="stmt"/>
500
- <line num="288" count="1" type="stmt"/>
501
- <line num="289" count="2" type="stmt"/>
502
- <line num="301" count="1" type="stmt"/>
503
- <line num="302" count="1" type="stmt"/>
504
- <line num="314" count="1" type="stmt"/>
505
- <line num="315" count="1" type="stmt"/>
506
- <line num="324" count="1" type="stmt"/>
507
- <line num="325" count="1" type="stmt"/>
508
- <line num="333" count="1" type="stmt"/>
509
- <line num="334" count="0" type="stmt"/>
510
- <line num="337" count="0" type="stmt"/>
511
- <line num="343" count="1" type="stmt"/>
512
- <line num="344" count="0" type="stmt"/>
513
- <line num="347" count="0" type="stmt"/>
514
- <line num="353" count="1" type="stmt"/>
515
- <line num="356" count="0" type="stmt"/>
516
- <line num="359" count="0" type="stmt"/>
517
- <line num="365" count="1" type="stmt"/>
518
- <line num="366" count="0" type="stmt"/>
519
- <line num="369" count="0" type="stmt"/>
520
- <line num="375" count="1" type="stmt"/>
521
- <line num="376" count="0" type="stmt"/>
522
- <line num="379" count="0" type="stmt"/>
523
- <line num="385" count="1" type="stmt"/>
524
- <line num="388" count="0" type="stmt"/>
525
- <line num="391" count="0" type="stmt"/>
526
- <line num="397" count="1" type="stmt"/>
527
- <line num="398" count="0" type="stmt"/>
528
- <line num="401" count="0" type="stmt"/>
529
- <line num="407" count="1" type="stmt"/>
530
- <line num="408" count="0" type="stmt"/>
531
- <line num="411" count="0" type="stmt"/>
532
- <line num="417" count="1" type="stmt"/>
533
- <line num="418" count="0" type="stmt"/>
534
- <line num="421" count="0" type="stmt"/>
535
- <line num="427" count="1" type="stmt"/>
536
- <line num="428" count="0" type="stmt"/>
537
- <line num="431" count="0" type="stmt"/>
538
- <line num="437" count="1" type="stmt"/>
539
- <line num="438" count="0" type="stmt"/>
540
- <line num="441" count="0" type="stmt"/>
541
- </file>
542
- </package>
543
- <package name="src.types">
544
- <metrics statements="17" coveredstatements="0" conditionals="6" coveredconditionals="0" methods="3" coveredmethods="0"/>
545
- <file name="ExpoIapAndroid.types.ts" path="/Users/hyo/Github/hyochan/expo-iap/src/types/ExpoIapAndroid.types.ts">
546
- <metrics statements="17" coveredstatements="0" conditionals="6" coveredconditionals="0" methods="3" coveredmethods="0"/>
547
- <line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
548
- <line num="57" count="0" type="stmt"/>
549
- <line num="58" count="0" type="stmt"/>
550
- <line num="59" count="0" type="stmt"/>
551
- <line num="60" count="0" type="stmt"/>
552
- <line num="61" count="0" type="stmt"/>
553
- <line num="62" count="0" type="stmt"/>
554
- <line num="100" count="0" type="cond" truecount="0" falsecount="2"/>
555
- <line num="102" count="0" type="stmt"/>
556
- <line num="104" count="0" type="stmt"/>
557
- <line num="106" count="0" type="stmt"/>
558
- <line num="108" count="0" type="stmt"/>
559
- <line num="110" count="0" type="stmt"/>
560
- <line num="113" count="0" type="cond" truecount="0" falsecount="2"/>
561
- <line num="114" count="0" type="stmt"/>
562
- <line num="115" count="0" type="stmt"/>
563
- <line num="116" count="0" type="stmt"/>
564
- </file>
565
- </package>
566
- <package name="src.utils">
567
- <metrics statements="28" coveredstatements="5" conditionals="22" coveredconditionals="0" methods="4" coveredmethods="0"/>
568
- <file name="errorMapping.ts" path="/Users/hyo/Github/hyochan/expo-iap/src/utils/errorMapping.ts">
569
- <metrics statements="28" coveredstatements="5" conditionals="22" coveredconditionals="0" methods="4" coveredmethods="0"/>
570
- <line num="6" count="1" type="stmt"/>
571
- <line num="13" count="1" type="stmt"/>
572
- <line num="14" count="0" type="cond" truecount="0" falsecount="1"/>
573
- <line num="15" count="0" type="stmt"/>
574
- <line num="18" count="0" type="cond" truecount="0" falsecount="3"/>
575
- <line num="19" count="0" type="stmt"/>
576
- <line num="22" count="0" type="stmt"/>
577
- <line num="30" count="1" type="stmt"/>
578
- <line num="31" count="0" type="stmt"/>
579
- <line num="37" count="0" type="cond" truecount="0" falsecount="2"/>
580
- <line num="38" count="0" type="stmt"/>
581
- <line num="46" count="1" type="stmt"/>
582
- <line num="47" count="0" type="stmt"/>
583
- <line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
584
- <line num="55" count="0" type="stmt"/>
585
- <line num="63" count="1" type="stmt"/>
586
- <line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
587
- <line num="66" count="0" type="cond" truecount="0" falsecount="10"/>
588
- <line num="68" count="0" type="stmt"/>
589
- <line num="70" count="0" type="stmt"/>
590
- <line num="72" count="0" type="stmt"/>
591
- <line num="74" count="0" type="stmt"/>
592
- <line num="76" count="0" type="stmt"/>
593
- <line num="78" count="0" type="stmt"/>
594
- <line num="80" count="0" type="stmt"/>
595
- <line num="82" count="0" type="stmt"/>
596
- <line num="84" count="0" type="stmt"/>
597
- <line num="86" count="0" type="cond" truecount="0" falsecount="2"/>
598
- </file>
599
- </package>
600
- </project>
601
- </coverage>