expo-iap 3.1.4 → 3.1.6
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.
- package/android/src/main/java/expo/modules/iap/ExpoIapModule.kt +5 -5
- package/build/index.d.ts +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +3 -7
- package/build/index.js.map +1 -1
- package/build/modules/android.d.ts.map +1 -1
- package/build/modules/android.js +3 -2
- package/build/modules/android.js.map +1 -1
- package/build/modules/ios.d.ts +0 -15
- package/build/modules/ios.d.ts.map +1 -1
- package/build/modules/ios.js +1 -22
- package/build/modules/ios.js.map +1 -1
- package/build/types.d.ts +7 -1
- package/build/types.d.ts.map +1 -1
- package/build/types.js.map +1 -1
- package/build/useIAP.d.ts.map +1 -1
- package/build/useIAP.js +25 -2
- package/build/useIAP.js.map +1 -1
- package/coverage/clover.xml +236 -242
- package/coverage/coverage-final.json +3 -3
- package/coverage/lcov-report/index.html +22 -22
- package/coverage/lcov-report/src/helpers/index.html +1 -1
- package/coverage/lcov-report/src/helpers/subscription.ts.html +1 -1
- package/coverage/lcov-report/src/index.html +15 -15
- package/coverage/lcov-report/src/index.ts.html +13 -28
- package/coverage/lcov-report/src/modules/android.ts.html +36 -6
- package/coverage/lcov-report/src/modules/index.html +12 -12
- package/coverage/lcov-report/src/modules/ios.ts.html +7 -73
- package/coverage/lcov-report/src/utils/errorMapping.ts.html +1 -1
- package/coverage/lcov-report/src/utils/index.html +1 -1
- package/coverage/lcov.info +414 -422
- package/ios/ExpoIapModule.swift +3 -3
- package/openiap-versions.json +3 -3
- package/package.json +1 -1
- package/src/index.ts +3 -8
- package/src/modules/android.ts +12 -2
- package/src/modules/ios.ts +1 -23
- package/src/types.ts +7 -1
- package/src/useIAP.ts +39 -6
package/coverage/clover.xml
CHANGED
|
@@ -1,199 +1,197 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1758997865020" clover="3.2.0">
|
|
3
|
+
<project timestamp="1758997865020" name="All files">
|
|
4
|
+
<metrics statements="467" coveredstatements="458" conditionals="273" coveredconditionals="242" methods="83" coveredmethods="73" elements="823" coveredelements="773" complexity="0" loc="467" ncloc="467" packages="4" files="5" classes="5"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="186" coveredstatements="184" conditionals="89" coveredconditionals="80" methods="38" coveredmethods="30"/>
|
|
7
7
|
<file name="index.ts" path="/home/runner/work/expo-iap/expo-iap/src/index.ts">
|
|
8
|
-
<metrics statements="
|
|
8
|
+
<metrics statements="186" coveredstatements="184" conditionals="89" coveredconditionals="80" methods="38" coveredmethods="30"/>
|
|
9
9
|
<line num="2" count="1" type="stmt"/>
|
|
10
10
|
<line num="3" count="1" type="stmt"/>
|
|
11
11
|
<line num="6" count="1" type="stmt"/>
|
|
12
12
|
<line num="7" count="1" type="stmt"/>
|
|
13
|
-
<line num="
|
|
13
|
+
<line num="13" count="1" type="stmt"/>
|
|
14
|
+
<line num="40" count="1" type="stmt"/>
|
|
14
15
|
<line num="41" count="1" type="stmt"/>
|
|
15
|
-
<line num="
|
|
16
|
+
<line num="44" count="1" type="stmt"/>
|
|
16
17
|
<line num="45" count="1" type="stmt"/>
|
|
17
18
|
<line num="46" count="1" type="stmt"/>
|
|
18
|
-
<line num="
|
|
19
|
+
<line num="49" count="1" type="stmt"/>
|
|
19
20
|
<line num="50" count="1" type="stmt"/>
|
|
20
21
|
<line num="51" count="1" type="stmt"/>
|
|
21
|
-
<line num="
|
|
22
|
-
<line num="56" count="1" type="
|
|
22
|
+
<line num="55" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
23
|
+
<line num="56" count="1" type="stmt"/>
|
|
23
24
|
<line num="57" count="1" type="stmt"/>
|
|
24
25
|
<line num="58" count="1" type="stmt"/>
|
|
25
|
-
<line num="
|
|
26
|
-
<line num="
|
|
27
|
-
<line num="92" count="
|
|
28
|
-
<line num="93" count="
|
|
29
|
-
<line num="
|
|
30
|
-
<line num="99" count="
|
|
31
|
-
<line num="
|
|
32
|
-
<line num="105" count="
|
|
33
|
-
<line num="
|
|
34
|
-
<line num="111" count="
|
|
35
|
-
<line num="
|
|
36
|
-
<line num="
|
|
37
|
-
<line num="120" count="
|
|
38
|
-
<line num="121" count="7" type="
|
|
39
|
-
<line num="122" count="
|
|
40
|
-
<line num="
|
|
41
|
-
<line num="126" count="2" type="
|
|
42
|
-
<line num="127" count="
|
|
43
|
-
<line num="
|
|
44
|
-
<line num="
|
|
45
|
-
<line num="134" count="
|
|
46
|
-
<line num="
|
|
47
|
-
<line num="
|
|
26
|
+
<line num="83" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
27
|
+
<line num="91" count="1" type="stmt"/>
|
|
28
|
+
<line num="92" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
29
|
+
<line num="93" count="1" type="stmt"/>
|
|
30
|
+
<line num="98" count="18" type="cond" truecount="4" falsecount="0"/>
|
|
31
|
+
<line num="99" count="9" type="stmt"/>
|
|
32
|
+
<line num="104" count="9" type="cond" truecount="1" falsecount="0"/>
|
|
33
|
+
<line num="105" count="5" type="stmt"/>
|
|
34
|
+
<line num="110" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
35
|
+
<line num="111" count="3" type="stmt"/>
|
|
36
|
+
<line num="116" count="1" type="stmt"/>
|
|
37
|
+
<line num="119" count="1" type="stmt"/>
|
|
38
|
+
<line num="120" count="7" type="stmt"/>
|
|
39
|
+
<line num="121" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
40
|
+
<line num="122" count="5" type="stmt"/>
|
|
41
|
+
<line num="125" count="2" type="stmt"/>
|
|
42
|
+
<line num="126" count="2" type="cond" truecount="2" falsecount="2"/>
|
|
43
|
+
<line num="127" count="0" type="stmt"/>
|
|
44
|
+
<line num="130" count="2" type="stmt"/>
|
|
45
|
+
<line num="133" count="1" type="stmt"/>
|
|
46
|
+
<line num="134" count="7" type="stmt"/>
|
|
47
|
+
<line num="136" count="1" type="stmt"/>
|
|
48
|
+
<line num="139" count="1" type="stmt"/>
|
|
48
49
|
<line num="140" count="1" type="stmt"/>
|
|
49
50
|
<line num="141" count="1" type="stmt"/>
|
|
50
|
-
<line num="
|
|
51
|
-
<line num="
|
|
52
|
-
<line num="
|
|
53
|
-
<line num="
|
|
51
|
+
<line num="143" count="1" type="stmt"/>
|
|
52
|
+
<line num="147" count="1" type="stmt"/>
|
|
53
|
+
<line num="150" count="1" type="stmt"/>
|
|
54
|
+
<line num="153" count="1" type="stmt"/>
|
|
54
55
|
<line num="154" count="1" type="stmt"/>
|
|
55
|
-
<line num="
|
|
56
|
-
<line num="
|
|
57
|
-
<line num="
|
|
58
|
-
<line num="
|
|
59
|
-
<line num="187" count="
|
|
60
|
-
<line num="
|
|
61
|
-
<line num="
|
|
62
|
-
<line num="
|
|
56
|
+
<line num="156" count="1" type="stmt"/>
|
|
57
|
+
<line num="160" count="1" type="stmt"/>
|
|
58
|
+
<line num="183" count="1" type="stmt"/>
|
|
59
|
+
<line num="186" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
60
|
+
<line num="187" count="1" type="stmt"/>
|
|
61
|
+
<line num="190" count="1" type="stmt"/>
|
|
62
|
+
<line num="192" count="1" type="stmt"/>
|
|
63
|
+
<line num="195" count="1" type="stmt"/>
|
|
63
64
|
<line num="196" count="1" type="stmt"/>
|
|
64
|
-
<line num="
|
|
65
|
+
<line num="198" count="1" type="stmt"/>
|
|
65
66
|
<line num="199" count="1" type="stmt"/>
|
|
66
|
-
<line num="
|
|
67
|
-
<line num="209" count="
|
|
68
|
-
<line num="210" count="6" type="
|
|
69
|
-
<line num="
|
|
70
|
-
<line num="213" count="
|
|
71
|
-
<line num="
|
|
72
|
-
<line num="
|
|
73
|
-
<line num="
|
|
74
|
-
<line num="
|
|
75
|
-
<line num="228" count="
|
|
76
|
-
<line num="229" count="
|
|
77
|
-
<line num="
|
|
78
|
-
<line num="232" count="5" type="
|
|
79
|
-
<line num="
|
|
80
|
-
<line num="
|
|
81
|
-
<line num="239" count="
|
|
82
|
-
<line num="240" count="
|
|
83
|
-
<line num="
|
|
84
|
-
<line num="243" count="2" type="
|
|
85
|
-
<line num="
|
|
86
|
-
<line num="
|
|
87
|
-
<line num="250" count="
|
|
88
|
-
<line num="
|
|
89
|
-
<line num="253" count="
|
|
90
|
-
<line num="
|
|
91
|
-
<line num="
|
|
92
|
-
<line num="259" count="
|
|
67
|
+
<line num="208" count="1" type="stmt"/>
|
|
68
|
+
<line num="209" count="6" type="stmt"/>
|
|
69
|
+
<line num="210" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
70
|
+
<line num="212" count="6" type="cond" truecount="3" falsecount="0"/>
|
|
71
|
+
<line num="213" count="1" type="stmt"/>
|
|
72
|
+
<line num="219" count="5" type="stmt"/>
|
|
73
|
+
<line num="222" count="5" type="stmt"/>
|
|
74
|
+
<line num="224" count="5" type="stmt"/>
|
|
75
|
+
<line num="227" count="3" type="stmt"/>
|
|
76
|
+
<line num="228" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
77
|
+
<line num="229" count="1" type="stmt"/>
|
|
78
|
+
<line num="231" count="5" type="stmt"/>
|
|
79
|
+
<line num="232" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
80
|
+
<line num="235" count="5" type="stmt"/>
|
|
81
|
+
<line num="238" count="1" type="stmt"/>
|
|
82
|
+
<line num="239" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
83
|
+
<line num="240" count="1" type="stmt"/>
|
|
84
|
+
<line num="242" count="2" type="stmt"/>
|
|
85
|
+
<line num="243" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
86
|
+
<line num="246" count="5" type="stmt"/>
|
|
87
|
+
<line num="249" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
88
|
+
<line num="250" count="2" type="stmt"/>
|
|
89
|
+
<line num="252" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
90
|
+
<line num="253" count="1" type="stmt"/>
|
|
91
|
+
<line num="255" count="1" type="stmt"/>
|
|
92
|
+
<line num="258" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
93
|
+
<line num="259" count="3" type="stmt"/>
|
|
93
94
|
<line num="260" count="3" type="stmt"/>
|
|
94
|
-
<line num="
|
|
95
|
-
<line num="264" count="
|
|
95
|
+
<line num="263" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
96
|
+
<line num="264" count="1" type="stmt"/>
|
|
96
97
|
<line num="265" count="1" type="stmt"/>
|
|
97
|
-
<line num="
|
|
98
|
-
<line num="
|
|
99
|
-
<line num="
|
|
100
|
-
<line num="274" count="
|
|
101
|
-
<line num="
|
|
102
|
-
<line num="
|
|
103
|
-
<line num="
|
|
98
|
+
<line num="268" count="1" type="stmt"/>
|
|
99
|
+
<line num="271" count="1" type="stmt"/>
|
|
100
|
+
<line num="273" count="1" type="stmt"/>
|
|
101
|
+
<line num="274" count="4" type="stmt"/>
|
|
102
|
+
<line num="281" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
103
|
+
<line num="283" count="2" type="stmt"/>
|
|
104
|
+
<line num="287" count="1" type="stmt"/>
|
|
104
105
|
<line num="288" count="1" type="stmt"/>
|
|
105
|
-
<line num="
|
|
106
|
+
<line num="290" count="4" type="stmt"/>
|
|
106
107
|
<line num="291" count="4" type="stmt"/>
|
|
107
|
-
<line num="
|
|
108
|
-
<line num="295" count="
|
|
109
|
-
<line num="
|
|
110
|
-
<line num="298" count="2" type="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="
|
|
113
|
-
<line num="
|
|
114
|
-
<line num="
|
|
115
|
-
<line num="366" count="
|
|
116
|
-
<line num="
|
|
117
|
-
<line num="
|
|
118
|
-
<line num="371" count="
|
|
119
|
-
<line num="
|
|
120
|
-
<line num="
|
|
121
|
-
<line num="
|
|
122
|
-
<line num="
|
|
123
|
-
<line num="383" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
108
|
+
<line num="294" count="1" type="stmt"/>
|
|
109
|
+
<line num="295" count="2" type="cond" truecount="2" falsecount="1"/>
|
|
110
|
+
<line num="296" count="0" type="stmt"/>
|
|
111
|
+
<line num="298" count="2" type="stmt"/>
|
|
112
|
+
<line num="327" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
113
|
+
<line num="361" count="1" type="stmt"/>
|
|
114
|
+
<line num="364" count="13" type="stmt"/>
|
|
115
|
+
<line num="365" count="13" type="stmt"/>
|
|
116
|
+
<line num="366" count="12" type="stmt"/>
|
|
117
|
+
<line num="368" count="12" type="cond" truecount="1" falsecount="0"/>
|
|
118
|
+
<line num="369" count="6" type="stmt"/>
|
|
119
|
+
<line num="371" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
120
|
+
<line num="372" count="1" type="stmt"/>
|
|
121
|
+
<line num="378" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
122
|
+
<line num="379" count="2" type="stmt"/>
|
|
123
|
+
<line num="383" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
124
124
|
<line num="384" count="2" type="stmt"/>
|
|
125
|
-
<line num="
|
|
126
|
-
<line num="
|
|
127
|
-
<line num="
|
|
128
|
-
<line num="
|
|
129
|
-
<line num="
|
|
130
|
-
<line num="
|
|
131
|
-
<line num="
|
|
132
|
-
<line num="
|
|
133
|
-
<line num="
|
|
134
|
-
<line num="
|
|
135
|
-
<line num="
|
|
136
|
-
<line num="
|
|
137
|
-
<line num="
|
|
138
|
-
<line num="
|
|
139
|
-
<line num="
|
|
140
|
-
<line num="
|
|
141
|
-
<line num="
|
|
142
|
-
<line num="
|
|
143
|
-
<line num="
|
|
144
|
-
<line num="
|
|
145
|
-
<line num="
|
|
146
|
-
<line num="
|
|
147
|
-
<line num="
|
|
148
|
-
<line num="
|
|
149
|
-
<line num="
|
|
150
|
-
<line num="
|
|
151
|
-
<line num="
|
|
152
|
-
<line num="487" count="1" type="stmt"/>
|
|
125
|
+
<line num="389" count="1" type="stmt"/>
|
|
126
|
+
<line num="392" count="4" type="stmt"/>
|
|
127
|
+
<line num="397" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
128
|
+
<line num="398" count="1" type="stmt"/>
|
|
129
|
+
<line num="401" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
130
|
+
<line num="402" count="2" type="stmt"/>
|
|
131
|
+
<line num="405" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
132
|
+
<line num="408" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
133
|
+
<line num="409" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
134
|
+
<line num="410" count="2" type="stmt"/>
|
|
135
|
+
<line num="415" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
136
|
+
<line num="416" count="1" type="stmt"/>
|
|
137
|
+
<line num="426" count="1" type="stmt"/>
|
|
138
|
+
<line num="428" count="1" type="stmt"/>
|
|
139
|
+
<line num="439" count="1" type="stmt"/>
|
|
140
|
+
<line num="442" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
141
|
+
<line num="443" count="2" type="stmt"/>
|
|
142
|
+
<line num="448" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
143
|
+
<line num="449" count="1" type="stmt"/>
|
|
144
|
+
<line num="462" count="1" type="stmt"/>
|
|
145
|
+
<line num="464" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
146
|
+
<line num="465" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
147
|
+
<line num="466" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
148
|
+
<line num="468" count="1" type="stmt"/>
|
|
149
|
+
<line num="476" count="1" type="stmt"/>
|
|
150
|
+
<line num="482" count="1" type="stmt"/>
|
|
151
|
+
<line num="485" count="1" type="stmt"/>
|
|
153
152
|
<line num="490" count="1" type="stmt"/>
|
|
154
|
-
<line num="
|
|
155
|
-
<line num="
|
|
156
|
-
<line num="
|
|
157
|
-
<line num="
|
|
158
|
-
<line num="
|
|
159
|
-
<line num="
|
|
160
|
-
<line num="
|
|
161
|
-
<line num="
|
|
162
|
-
<line num="
|
|
163
|
-
<line num="
|
|
153
|
+
<line num="493" count="1" type="stmt"/>
|
|
154
|
+
<line num="497" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
155
|
+
<line num="498" count="2" type="stmt"/>
|
|
156
|
+
<line num="499" count="2" type="stmt"/>
|
|
157
|
+
<line num="502" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
158
|
+
<line num="503" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
159
|
+
<line num="505" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
160
|
+
<line num="506" count="1" type="stmt"/>
|
|
161
|
+
<line num="514" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
162
|
+
<line num="515" count="1" type="stmt"/>
|
|
163
|
+
<line num="516" count="1" type="stmt"/>
|
|
164
|
+
<line num="519" count="1" type="stmt"/>
|
|
164
165
|
<line num="520" count="1" type="stmt"/>
|
|
165
|
-
<line num="
|
|
166
|
-
<line num="
|
|
167
|
-
<line num="
|
|
168
|
-
<line num="
|
|
166
|
+
<line num="523" count="1" type="stmt"/>
|
|
167
|
+
<line num="536" count="1" type="stmt"/>
|
|
168
|
+
<line num="537" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
169
|
+
<line num="538" count="1" type="stmt"/>
|
|
169
170
|
<line num="541" count="1" type="stmt"/>
|
|
170
|
-
<line num="
|
|
171
|
-
<line num="
|
|
172
|
-
<line num="
|
|
171
|
+
<line num="565" count="1" type="stmt"/>
|
|
172
|
+
<line num="567" count="1" type="stmt"/>
|
|
173
|
+
<line num="568" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
174
|
+
<line num="569" count="1" type="stmt"/>
|
|
173
175
|
<line num="570" count="1" type="stmt"/>
|
|
174
|
-
<line num="
|
|
175
|
-
<line num="
|
|
176
|
-
<line num="574" count="1" type="stmt"/>
|
|
176
|
+
<line num="573" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
177
|
+
<line num="574" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
177
178
|
<line num="575" count="1" type="stmt"/>
|
|
178
|
-
<line num="578" count="
|
|
179
|
-
<line num="
|
|
180
|
-
<line num="
|
|
181
|
-
<line num="
|
|
182
|
-
<line num="
|
|
183
|
-
<line num="
|
|
184
|
-
<line num="599" count="
|
|
185
|
-
<line num="
|
|
186
|
-
<line num="
|
|
187
|
-
<line num="
|
|
188
|
-
<line num="
|
|
189
|
-
<line num="
|
|
179
|
+
<line num="578" count="1" type="stmt"/>
|
|
180
|
+
<line num="589" count="1" type="stmt"/>
|
|
181
|
+
<line num="592" count="4" type="stmt"/>
|
|
182
|
+
<line num="594" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
183
|
+
<line num="595" count="1" type="stmt"/>
|
|
184
|
+
<line num="598" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
185
|
+
<line num="599" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
186
|
+
<line num="605" count="1" type="stmt"/>
|
|
187
|
+
<line num="609" count="1" type="stmt"/>
|
|
188
|
+
<line num="618" count="1" type="stmt"/>
|
|
189
|
+
<line num="621" count="1" type="stmt"/>
|
|
190
|
+
<line num="622" count="1" type="stmt"/>
|
|
190
191
|
<line num="623" count="1" type="stmt"/>
|
|
192
|
+
<line num="624" count="1" type="stmt"/>
|
|
193
|
+
<line num="625" count="1" type="stmt"/>
|
|
191
194
|
<line num="626" count="1" type="stmt"/>
|
|
192
|
-
<line num="627" count="1" type="stmt"/>
|
|
193
|
-
<line num="628" count="1" type="stmt"/>
|
|
194
|
-
<line num="629" count="1" type="stmt"/>
|
|
195
|
-
<line num="630" count="1" type="stmt"/>
|
|
196
|
-
<line num="631" count="1" type="stmt"/>
|
|
197
195
|
</file>
|
|
198
196
|
</package>
|
|
199
197
|
<package name="src.helpers">
|
|
@@ -259,47 +257,48 @@
|
|
|
259
257
|
</file>
|
|
260
258
|
</package>
|
|
261
259
|
<package name="src.modules">
|
|
262
|
-
<metrics statements="
|
|
260
|
+
<metrics statements="116" coveredstatements="116" conditionals="55" coveredconditionals="54" methods="24" coveredmethods="24"/>
|
|
263
261
|
<file name="android.ts" path="/home/runner/work/expo-iap/expo-iap/src/modules/android.ts">
|
|
264
|
-
<metrics statements="
|
|
262
|
+
<metrics statements="36" coveredstatements="36" conditionals="22" coveredconditionals="21" methods="5" coveredmethods="5"/>
|
|
265
263
|
<line num="2" count="2" type="stmt"/>
|
|
266
264
|
<line num="5" count="2" type="stmt"/>
|
|
267
|
-
<line num="
|
|
268
|
-
<line num="
|
|
269
|
-
<line num="
|
|
270
|
-
<line num="
|
|
271
|
-
<line num="
|
|
272
|
-
<line num="
|
|
273
|
-
<line num="
|
|
274
|
-
<line num="
|
|
275
|
-
<line num="
|
|
276
|
-
<line num="
|
|
277
|
-
<line num="
|
|
278
|
-
<line num="
|
|
279
|
-
<line num="
|
|
280
|
-
<line num="
|
|
281
|
-
<line num="
|
|
282
|
-
<line num="
|
|
283
|
-
<line num="
|
|
284
|
-
<line num="
|
|
285
|
-
<line num="
|
|
286
|
-
<line num="
|
|
287
|
-
<line num="
|
|
288
|
-
<line num="
|
|
289
|
-
<line num="
|
|
290
|
-
<line num="
|
|
291
|
-
<line num="
|
|
292
|
-
<line num="
|
|
293
|
-
<line num="
|
|
294
|
-
<line num="
|
|
295
|
-
<line num="
|
|
296
|
-
<line num="
|
|
297
|
-
<line num="
|
|
298
|
-
<line num="153" count="
|
|
299
|
-
<line num="
|
|
265
|
+
<line num="22" count="2" type="stmt"/>
|
|
266
|
+
<line num="25" count="2" type="stmt"/>
|
|
267
|
+
<line num="28" count="8" type="stmt"/>
|
|
268
|
+
<line num="52" count="2" type="stmt"/>
|
|
269
|
+
<line num="55" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
270
|
+
<line num="56" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
271
|
+
<line num="59" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
272
|
+
<line num="60" count="1" type="stmt"/>
|
|
273
|
+
<line num="67" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
274
|
+
<line num="68" count="3" type="stmt"/>
|
|
275
|
+
<line num="72" count="1" type="stmt"/>
|
|
276
|
+
<line num="75" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
277
|
+
<line num="76" count="1" type="stmt"/>
|
|
278
|
+
<line num="91" count="2" type="stmt"/>
|
|
279
|
+
<line num="104" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
280
|
+
<line num="107" count="2" type="stmt"/>
|
|
281
|
+
<line num="111" count="2" type="stmt"/>
|
|
282
|
+
<line num="119" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
283
|
+
<line num="120" count="1" type="stmt"/>
|
|
284
|
+
<line num="125" count="1" type="stmt"/>
|
|
285
|
+
<line num="134" count="2" type="stmt"/>
|
|
286
|
+
<line num="136" count="2" type="stmt"/>
|
|
287
|
+
<line num="137" count="5" type="stmt"/>
|
|
288
|
+
<line num="139" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
289
|
+
<line num="140" count="1" type="stmt"/>
|
|
290
|
+
<line num="143" count="4" type="cond" truecount="3" falsecount="0"/>
|
|
291
|
+
<line num="144" count="3" type="stmt"/>
|
|
292
|
+
<line num="145" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
293
|
+
<line num="146" count="1" type="stmt"/>
|
|
294
|
+
<line num="148" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
295
|
+
<line num="149" count="2" type="stmt"/>
|
|
296
|
+
<line num="153" count="1" type="stmt"/>
|
|
297
|
+
<line num="163" count="2" type="stmt"/>
|
|
298
|
+
<line num="164" count="1" type="stmt"/>
|
|
300
299
|
</file>
|
|
301
300
|
<file name="ios.ts" path="/home/runner/work/expo-iap/expo-iap/src/modules/ios.ts">
|
|
302
|
-
<metrics statements="
|
|
301
|
+
<metrics statements="80" coveredstatements="80" conditionals="33" coveredconditionals="33" methods="19" coveredmethods="19"/>
|
|
303
302
|
<line num="5" count="2" type="stmt"/>
|
|
304
303
|
<line num="19" count="2" type="stmt"/>
|
|
305
304
|
<line num="29" count="2" type="stmt"/>
|
|
@@ -341,50 +340,45 @@
|
|
|
341
340
|
<line num="175" count="2" type="stmt"/>
|
|
342
341
|
<line num="176" count="1" type="stmt"/>
|
|
343
342
|
<line num="179" count="2" type="stmt"/>
|
|
344
|
-
<line num="
|
|
345
|
-
<line num="
|
|
343
|
+
<line num="191" count="2" type="stmt"/>
|
|
344
|
+
<line num="193" count="2" type="stmt"/>
|
|
345
|
+
<line num="194" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
346
|
+
<line num="195" count="1" type="stmt"/>
|
|
346
347
|
<line num="197" count="1" type="stmt"/>
|
|
347
|
-
<line num="
|
|
348
|
-
<line num="
|
|
349
|
-
<line num="
|
|
350
|
-
<line num="
|
|
351
|
-
<line num="
|
|
352
|
-
<line num="
|
|
353
|
-
<line num="
|
|
354
|
-
<line num="
|
|
355
|
-
<line num="
|
|
356
|
-
<line num="
|
|
357
|
-
<line num="
|
|
358
|
-
<line num="
|
|
359
|
-
<line num="
|
|
360
|
-
<line num="
|
|
361
|
-
<line num="
|
|
362
|
-
<line num="264" count="1" type="stmt"/>
|
|
363
|
-
<line num="267" count="3" type="stmt"/>
|
|
364
|
-
<line num="272" count="2" type="stmt"/>
|
|
348
|
+
<line num="210" count="2" type="stmt"/>
|
|
349
|
+
<line num="213" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
350
|
+
<line num="214" count="1" type="stmt"/>
|
|
351
|
+
<line num="216" count="2" type="stmt"/>
|
|
352
|
+
<line num="217" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
353
|
+
<line num="235" count="2" type="stmt"/>
|
|
354
|
+
<line num="239" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
355
|
+
<line num="241" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
356
|
+
<line num="242" count="1" type="stmt"/>
|
|
357
|
+
<line num="245" count="3" type="stmt"/>
|
|
358
|
+
<line num="250" count="2" type="stmt"/>
|
|
359
|
+
<line num="264" count="2" type="stmt"/>
|
|
360
|
+
<line num="266" count="2" type="stmt"/>
|
|
361
|
+
<line num="267" count="1" type="stmt"/>
|
|
362
|
+
<line num="284" count="2" type="stmt"/>
|
|
365
363
|
<line num="286" count="2" type="stmt"/>
|
|
366
|
-
<line num="
|
|
367
|
-
<line num="
|
|
368
|
-
<line num="
|
|
369
|
-
<line num="
|
|
370
|
-
<line num="
|
|
371
|
-
<line num="
|
|
372
|
-
<line num="
|
|
373
|
-
<line num="
|
|
374
|
-
<line num="
|
|
375
|
-
<line num="
|
|
376
|
-
<line num="
|
|
377
|
-
<line num="
|
|
378
|
-
<line num="
|
|
379
|
-
<line num="
|
|
380
|
-
<line num="
|
|
364
|
+
<line num="287" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
365
|
+
<line num="300" count="2" type="stmt"/>
|
|
366
|
+
<line num="302" count="2" type="stmt"/>
|
|
367
|
+
<line num="303" count="2" type="stmt"/>
|
|
368
|
+
<line num="304" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
369
|
+
<line num="316" count="2" type="stmt"/>
|
|
370
|
+
<line num="318" count="2" type="stmt"/>
|
|
371
|
+
<line num="319" count="1" type="stmt"/>
|
|
372
|
+
<line num="320" count="1" type="stmt"/>
|
|
373
|
+
<line num="329" count="2" type="stmt"/>
|
|
374
|
+
<line num="331" count="2" type="stmt"/>
|
|
375
|
+
<line num="332" count="2" type="stmt"/>
|
|
376
|
+
<line num="333" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
377
|
+
<line num="342" count="2" type="stmt"/>
|
|
378
|
+
<line num="344" count="2" type="stmt"/>
|
|
379
|
+
<line num="345" count="2" type="stmt"/>
|
|
381
380
|
<line num="354" count="2" type="stmt"/>
|
|
382
|
-
<line num="355" count="
|
|
383
|
-
<line num="364" count="2" type="stmt"/>
|
|
384
|
-
<line num="366" count="2" type="stmt"/>
|
|
385
|
-
<line num="367" count="2" type="stmt"/>
|
|
386
|
-
<line num="376" count="2" type="stmt"/>
|
|
387
|
-
<line num="377" count="1" type="stmt"/>
|
|
381
|
+
<line num="355" count="1" type="stmt"/>
|
|
388
382
|
</file>
|
|
389
383
|
</package>
|
|
390
384
|
<package name="src.utils">
|