expo-iap 3.1.8 → 3.1.9
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/ExpoIapHelper.kt +69 -2
- package/android/src/main/java/expo/modules/iap/ExpoIapModule.kt +62 -4
- package/build/index.d.ts +32 -2
- package/build/index.d.ts.map +1 -1
- package/build/index.js +40 -15
- package/build/index.js.map +1 -1
- package/build/modules/android.d.ts +68 -0
- package/build/modules/android.d.ts.map +1 -1
- package/build/modules/android.js +74 -0
- package/build/modules/android.js.map +1 -1
- package/build/modules/ios.d.ts +23 -0
- package/build/modules/ios.d.ts.map +1 -1
- package/build/modules/ios.js +34 -3
- package/build/modules/ios.js.map +1 -1
- package/build/types.d.ts +116 -13
- package/build/types.d.ts.map +1 -1
- package/build/types.js.map +1 -1
- package/build/useIAP.d.ts +8 -0
- package/build/useIAP.d.ts.map +1 -1
- package/build/useIAP.js +11 -1
- package/build/useIAP.js.map +1 -1
- package/bun.lockb +0 -0
- package/coverage/clover.xml +258 -234
- package/coverage/coverage-final.json +3 -3
- package/coverage/lcov-report/index.html +27 -27
- 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 +19 -19
- package/coverage/lcov-report/src/index.ts.html +136 -31
- package/coverage/lcov-report/src/modules/android.ts.html +257 -8
- package/coverage/lcov-report/src/modules/index.html +23 -23
- package/coverage/lcov-report/src/modules/ios.ts.html +137 -11
- package/coverage/lcov-report/src/utils/debug.ts.html +1 -1
- 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 +473 -429
- package/ios/ExpoIapHelper.swift +4 -0
- package/ios/ExpoIapModule.swift +33 -1
- package/openiap-versions.json +3 -3
- package/package.json +1 -1
- package/plugin/build/withIAP.d.ts +26 -0
- package/plugin/build/withIAP.js +67 -3
- package/plugin/build/withLocalOpenIAP.d.ts +2 -0
- package/plugin/build/withLocalOpenIAP.js +7 -0
- package/plugin/src/withIAP.ts +141 -3
- package/plugin/src/withLocalOpenIAP.ts +14 -4
- package/src/index.ts +49 -14
- package/src/modules/android.ts +83 -0
- package/src/modules/ios.ts +45 -3
- package/src/types.ts +124 -13
- package/src/useIAP.ts +26 -1
package/coverage/clover.xml
CHANGED
|
@@ -1,199 +1,203 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1759579088329" clover="3.2.0">
|
|
3
|
+
<project timestamp="1759579088329" name="All files">
|
|
4
|
+
<metrics statements="510" coveredstatements="482" conditionals="286" coveredconditionals="249" methods="99" coveredmethods="78" elements="895" coveredelements="809" complexity="0" loc="510" ncloc="510" packages="4" files="6" classes="6"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="192" coveredstatements="186" conditionals="93" coveredconditionals="83" methods="41" 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="192" coveredstatements="186" conditionals="93" coveredconditionals="83" methods="41" 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
13
|
<line num="13" count="1" type="stmt"/>
|
|
14
14
|
<line num="18" count="1" type="stmt"/>
|
|
15
|
-
<line num="41" count="1" type="stmt"/>
|
|
16
15
|
<line num="42" count="1" type="stmt"/>
|
|
17
|
-
<line num="
|
|
16
|
+
<line num="43" count="1" type="stmt"/>
|
|
18
17
|
<line num="46" count="1" type="stmt"/>
|
|
19
18
|
<line num="47" count="1" type="stmt"/>
|
|
20
|
-
<line num="
|
|
19
|
+
<line num="48" count="1" type="stmt"/>
|
|
21
20
|
<line num="51" count="1" type="stmt"/>
|
|
22
21
|
<line num="52" count="1" type="stmt"/>
|
|
23
|
-
<line num="
|
|
24
|
-
<line num="57" count="1" type="
|
|
22
|
+
<line num="53" count="1" type="stmt"/>
|
|
23
|
+
<line num="57" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
25
24
|
<line num="58" count="1" type="stmt"/>
|
|
26
25
|
<line num="59" count="1" type="stmt"/>
|
|
27
|
-
<line num="
|
|
28
|
-
<line num="
|
|
29
|
-
<line num="
|
|
30
|
-
<line num="
|
|
31
|
-
<line num="
|
|
32
|
-
<line num="
|
|
33
|
-
<line num="
|
|
34
|
-
<line num="
|
|
35
|
-
<line num="
|
|
36
|
-
<line num="
|
|
37
|
-
<line num="
|
|
26
|
+
<line num="60" count="1" type="stmt"/>
|
|
27
|
+
<line num="61" count="1" type="stmt"/>
|
|
28
|
+
<line num="87" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
29
|
+
<line num="95" count="1" type="stmt"/>
|
|
30
|
+
<line num="96" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
31
|
+
<line num="97" count="1" type="stmt"/>
|
|
32
|
+
<line num="102" count="18" type="cond" truecount="4" falsecount="0"/>
|
|
33
|
+
<line num="103" count="9" type="stmt"/>
|
|
34
|
+
<line num="108" count="9" type="cond" truecount="1" falsecount="0"/>
|
|
35
|
+
<line num="109" count="5" type="stmt"/>
|
|
36
|
+
<line num="114" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
37
|
+
<line num="115" count="3" type="stmt"/>
|
|
38
38
|
<line num="120" count="1" type="stmt"/>
|
|
39
|
-
<line num="
|
|
40
|
-
<line num="
|
|
41
|
-
<line num="
|
|
42
|
-
<line num="126" count="
|
|
43
|
-
<line num="
|
|
44
|
-
<line num="
|
|
45
|
-
<line num="131" count="
|
|
46
|
-
<line num="134" count="
|
|
47
|
-
<line num="135" count="7" type="stmt"/>
|
|
39
|
+
<line num="123" count="1" type="stmt"/>
|
|
40
|
+
<line num="124" count="7" type="stmt"/>
|
|
41
|
+
<line num="125" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
42
|
+
<line num="126" count="5" type="stmt"/>
|
|
43
|
+
<line num="129" count="2" type="stmt"/>
|
|
44
|
+
<line num="130" count="2" type="cond" truecount="2" falsecount="2"/>
|
|
45
|
+
<line num="131" count="0" type="stmt"/>
|
|
46
|
+
<line num="134" count="2" type="stmt"/>
|
|
48
47
|
<line num="137" count="1" type="stmt"/>
|
|
48
|
+
<line num="138" count="7" type="stmt"/>
|
|
49
49
|
<line num="140" count="1" type="stmt"/>
|
|
50
|
-
<line num="
|
|
51
|
-
<line num="142" count="1" type="stmt"/>
|
|
50
|
+
<line num="143" count="1" type="stmt"/>
|
|
52
51
|
<line num="144" count="1" type="stmt"/>
|
|
53
|
-
<line num="
|
|
52
|
+
<line num="145" count="1" type="stmt"/>
|
|
53
|
+
<line num="147" count="1" type="stmt"/>
|
|
54
54
|
<line num="151" count="1" type="stmt"/>
|
|
55
55
|
<line num="154" count="1" type="stmt"/>
|
|
56
|
-
<line num="155" count="1" type="stmt"/>
|
|
57
56
|
<line num="157" count="1" type="stmt"/>
|
|
58
|
-
<line num="
|
|
59
|
-
<line num="
|
|
60
|
-
<line num="
|
|
61
|
-
<line num="
|
|
57
|
+
<line num="158" count="1" type="stmt"/>
|
|
58
|
+
<line num="160" count="1" type="stmt"/>
|
|
59
|
+
<line num="164" count="1" type="stmt"/>
|
|
60
|
+
<line num="187" count="1" type="stmt"/>
|
|
61
|
+
<line num="190" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
62
62
|
<line num="191" count="1" type="stmt"/>
|
|
63
|
-
<line num="
|
|
63
|
+
<line num="194" count="1" type="stmt"/>
|
|
64
64
|
<line num="196" count="1" type="stmt"/>
|
|
65
|
-
<line num="
|
|
66
|
-
<line num="
|
|
67
|
-
<line num="
|
|
68
|
-
<line num="
|
|
69
|
-
<line num="
|
|
70
|
-
<line num="
|
|
71
|
-
<line num="
|
|
72
|
-
<line num="214" count="1" type="stmt"/>
|
|
73
|
-
<line num="220" count="5" type="stmt"/>
|
|
74
|
-
<line num="223" count="5" type="stmt"/>
|
|
75
|
-
<line num="225" count="5" type="stmt"/>
|
|
76
|
-
<line num="228" count="3" type="stmt"/>
|
|
77
|
-
<line num="229" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
78
|
-
<line num="230" count="1" type="stmt"/>
|
|
79
|
-
<line num="232" count="5" type="stmt"/>
|
|
80
|
-
<line num="233" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
81
|
-
<line num="236" count="5" type="stmt"/>
|
|
65
|
+
<line num="224" count="1" type="stmt"/>
|
|
66
|
+
<line num="227" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
67
|
+
<line num="228" count="0" type="stmt"/>
|
|
68
|
+
<line num="231" count="0" type="stmt"/>
|
|
69
|
+
<line num="233" count="0" type="stmt"/>
|
|
70
|
+
<line num="236" count="1" type="stmt"/>
|
|
71
|
+
<line num="237" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
82
72
|
<line num="239" count="1" type="stmt"/>
|
|
83
|
-
<line num="240" count="
|
|
84
|
-
<line num="
|
|
85
|
-
<line num="
|
|
86
|
-
<line num="
|
|
87
|
-
<line num="
|
|
88
|
-
<line num="250" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
89
|
-
<line num="251" count="2" type="stmt"/>
|
|
90
|
-
<line num="253" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
73
|
+
<line num="240" count="1" type="stmt"/>
|
|
74
|
+
<line num="249" count="1" type="stmt"/>
|
|
75
|
+
<line num="250" count="6" type="stmt"/>
|
|
76
|
+
<line num="251" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
77
|
+
<line num="253" count="6" type="cond" truecount="3" falsecount="0"/>
|
|
91
78
|
<line num="254" count="1" type="stmt"/>
|
|
92
|
-
<line num="
|
|
93
|
-
<line num="
|
|
94
|
-
<line num="
|
|
95
|
-
<line num="
|
|
96
|
-
<line num="
|
|
97
|
-
<line num="
|
|
98
|
-
<line num="
|
|
99
|
-
<line num="
|
|
100
|
-
<line num="
|
|
101
|
-
<line num="
|
|
102
|
-
<line num="
|
|
103
|
-
<line num="
|
|
104
|
-
<line num="
|
|
105
|
-
<line num="
|
|
106
|
-
<line num="
|
|
107
|
-
<line num="
|
|
108
|
-
<line num="
|
|
109
|
-
<line num="
|
|
110
|
-
<line num="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="299" count="
|
|
113
|
-
<line num="
|
|
114
|
-
<line num="
|
|
115
|
-
<line num="
|
|
116
|
-
<line num="
|
|
117
|
-
<line num="
|
|
118
|
-
<line num="
|
|
119
|
-
<line num="
|
|
120
|
-
<line num="
|
|
121
|
-
<line num="
|
|
122
|
-
<line num="
|
|
123
|
-
<line num="
|
|
124
|
-
<line num="
|
|
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="
|
|
153
|
-
<line num="
|
|
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="
|
|
164
|
-
<line num="
|
|
165
|
-
<line num="
|
|
79
|
+
<line num="260" count="5" type="stmt"/>
|
|
80
|
+
<line num="263" count="5" type="stmt"/>
|
|
81
|
+
<line num="265" count="5" type="stmt"/>
|
|
82
|
+
<line num="268" count="3" type="stmt"/>
|
|
83
|
+
<line num="269" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
84
|
+
<line num="270" count="1" type="stmt"/>
|
|
85
|
+
<line num="272" count="5" type="stmt"/>
|
|
86
|
+
<line num="273" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
87
|
+
<line num="276" count="5" type="stmt"/>
|
|
88
|
+
<line num="279" count="1" type="stmt"/>
|
|
89
|
+
<line num="280" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
90
|
+
<line num="281" count="1" type="stmt"/>
|
|
91
|
+
<line num="283" count="2" type="stmt"/>
|
|
92
|
+
<line num="284" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
93
|
+
<line num="287" count="5" type="stmt"/>
|
|
94
|
+
<line num="290" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
95
|
+
<line num="291" count="2" type="stmt"/>
|
|
96
|
+
<line num="293" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
97
|
+
<line num="294" count="1" type="stmt"/>
|
|
98
|
+
<line num="296" count="1" type="stmt"/>
|
|
99
|
+
<line num="299" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
100
|
+
<line num="300" count="3" type="stmt"/>
|
|
101
|
+
<line num="301" count="3" type="stmt"/>
|
|
102
|
+
<line num="304" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
103
|
+
<line num="305" count="1" type="stmt"/>
|
|
104
|
+
<line num="306" count="1" type="stmt"/>
|
|
105
|
+
<line num="309" count="1" type="stmt"/>
|
|
106
|
+
<line num="312" count="1" type="stmt"/>
|
|
107
|
+
<line num="314" count="1" type="stmt"/>
|
|
108
|
+
<line num="315" count="4" type="stmt"/>
|
|
109
|
+
<line num="322" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
110
|
+
<line num="324" count="2" type="stmt"/>
|
|
111
|
+
<line num="328" count="1" type="stmt"/>
|
|
112
|
+
<line num="329" count="1" type="stmt"/>
|
|
113
|
+
<line num="331" count="4" type="stmt"/>
|
|
114
|
+
<line num="332" count="4" type="stmt"/>
|
|
115
|
+
<line num="335" count="1" type="stmt"/>
|
|
116
|
+
<line num="336" count="2" type="cond" truecount="2" falsecount="1"/>
|
|
117
|
+
<line num="337" count="0" type="stmt"/>
|
|
118
|
+
<line num="339" count="2" type="stmt"/>
|
|
119
|
+
<line num="368" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
120
|
+
<line num="402" count="1" type="stmt"/>
|
|
121
|
+
<line num="405" count="13" type="stmt"/>
|
|
122
|
+
<line num="406" count="13" type="stmt"/>
|
|
123
|
+
<line num="407" count="12" type="stmt"/>
|
|
124
|
+
<line num="409" count="12" type="cond" truecount="1" falsecount="0"/>
|
|
125
|
+
<line num="410" count="6" type="stmt"/>
|
|
126
|
+
<line num="412" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
127
|
+
<line num="413" count="1" type="stmt"/>
|
|
128
|
+
<line num="418" count="5" type="cond" truecount="3" falsecount="0"/>
|
|
129
|
+
<line num="419" count="1" type="stmt"/>
|
|
130
|
+
<line num="422" count="4" type="stmt"/>
|
|
131
|
+
<line num="428" count="4" type="stmt"/>
|
|
132
|
+
<line num="433" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
133
|
+
<line num="434" count="1" type="stmt"/>
|
|
134
|
+
<line num="437" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
135
|
+
<line num="438" count="2" type="stmt"/>
|
|
136
|
+
<line num="441" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
137
|
+
<line num="444" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
138
|
+
<line num="445" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
139
|
+
<line num="446" count="2" type="stmt"/>
|
|
140
|
+
<line num="451" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
141
|
+
<line num="452" count="1" type="stmt"/>
|
|
142
|
+
<line num="462" count="1" type="stmt"/>
|
|
143
|
+
<line num="464" count="1" type="stmt"/>
|
|
144
|
+
<line num="475" count="1" type="stmt"/>
|
|
145
|
+
<line num="478" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
146
|
+
<line num="479" count="2" type="stmt"/>
|
|
147
|
+
<line num="484" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
148
|
+
<line num="485" count="1" type="stmt"/>
|
|
149
|
+
<line num="498" count="1" type="stmt"/>
|
|
150
|
+
<line num="500" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
151
|
+
<line num="501" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
152
|
+
<line num="502" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
153
|
+
<line num="504" count="1" type="stmt"/>
|
|
154
|
+
<line num="512" count="1" type="stmt"/>
|
|
155
|
+
<line num="518" count="1" type="stmt"/>
|
|
166
156
|
<line num="521" count="1" type="stmt"/>
|
|
167
|
-
<line num="
|
|
168
|
-
<line num="
|
|
169
|
-
<line num="
|
|
170
|
-
<line num="
|
|
157
|
+
<line num="526" count="1" type="stmt"/>
|
|
158
|
+
<line num="529" count="1" type="stmt"/>
|
|
159
|
+
<line num="533" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
160
|
+
<line num="534" count="2" type="stmt"/>
|
|
161
|
+
<line num="535" count="2" type="stmt"/>
|
|
162
|
+
<line num="538" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
163
|
+
<line num="539" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
164
|
+
<line num="541" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
171
165
|
<line num="542" count="1" type="stmt"/>
|
|
172
|
-
<line num="
|
|
173
|
-
<line num="
|
|
174
|
-
<line num="
|
|
175
|
-
<line num="
|
|
176
|
-
<line num="
|
|
177
|
-
<line num="
|
|
178
|
-
<line num="
|
|
179
|
-
<line num="
|
|
180
|
-
<line num="
|
|
181
|
-
<line num="
|
|
182
|
-
<line num="
|
|
183
|
-
<line num="
|
|
184
|
-
<line num="
|
|
185
|
-
<line num="
|
|
186
|
-
<line num="600" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
166
|
+
<line num="550" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
167
|
+
<line num="551" count="1" type="stmt"/>
|
|
168
|
+
<line num="552" count="1" type="stmt"/>
|
|
169
|
+
<line num="555" count="1" type="stmt"/>
|
|
170
|
+
<line num="556" count="1" type="stmt"/>
|
|
171
|
+
<line num="559" count="1" type="stmt"/>
|
|
172
|
+
<line num="572" count="1" type="stmt"/>
|
|
173
|
+
<line num="573" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
174
|
+
<line num="574" count="1" type="stmt"/>
|
|
175
|
+
<line num="577" count="1" type="stmt"/>
|
|
176
|
+
<line num="601" count="1" type="stmt"/>
|
|
177
|
+
<line num="603" count="1" type="stmt"/>
|
|
178
|
+
<line num="604" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
179
|
+
<line num="605" count="1" type="stmt"/>
|
|
187
180
|
<line num="606" count="1" type="stmt"/>
|
|
188
|
-
<line num="
|
|
189
|
-
<line num="
|
|
190
|
-
<line num="
|
|
191
|
-
<line num="
|
|
192
|
-
<line num="624" count="1" type="stmt"/>
|
|
181
|
+
<line num="609" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
182
|
+
<line num="610" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
183
|
+
<line num="611" count="1" type="stmt"/>
|
|
184
|
+
<line num="614" count="1" type="stmt"/>
|
|
193
185
|
<line num="625" count="1" type="stmt"/>
|
|
194
|
-
<line num="
|
|
195
|
-
<line num="
|
|
196
|
-
<line num="
|
|
186
|
+
<line num="628" count="4" type="stmt"/>
|
|
187
|
+
<line num="630" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
188
|
+
<line num="631" count="1" type="stmt"/>
|
|
189
|
+
<line num="634" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
190
|
+
<line num="635" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
191
|
+
<line num="641" count="1" type="stmt"/>
|
|
192
|
+
<line num="645" count="1" type="stmt"/>
|
|
193
|
+
<line num="654" count="1" type="stmt"/>
|
|
194
|
+
<line num="657" count="1" type="stmt"/>
|
|
195
|
+
<line num="658" count="1" type="stmt"/>
|
|
196
|
+
<line num="659" count="1" type="stmt"/>
|
|
197
|
+
<line num="660" count="1" type="stmt"/>
|
|
198
|
+
<line num="661" count="1" type="stmt"/>
|
|
199
|
+
<line num="662" count="1" type="stmt"/>
|
|
200
|
+
<line num="668" count="1" type="stmt"/>
|
|
197
201
|
</file>
|
|
198
202
|
</package>
|
|
199
203
|
<package name="src.helpers">
|
|
@@ -260,9 +264,9 @@
|
|
|
260
264
|
</file>
|
|
261
265
|
</package>
|
|
262
266
|
<package name="src.modules">
|
|
263
|
-
<metrics statements="
|
|
267
|
+
<metrics statements="136" coveredstatements="128" conditionals="55" coveredconditionals="54" methods="30" coveredmethods="24"/>
|
|
264
268
|
<file name="android.ts" path="/home/runner/work/expo-iap/expo-iap/src/modules/android.ts">
|
|
265
|
-
<metrics statements="
|
|
269
|
+
<metrics statements="45" coveredstatements="42" conditionals="22" coveredconditionals="21" methods="8" coveredmethods="5"/>
|
|
266
270
|
<line num="2" count="2" type="stmt"/>
|
|
267
271
|
<line num="5" count="2" type="stmt"/>
|
|
268
272
|
<line num="22" count="2" type="stmt"/>
|
|
@@ -299,89 +303,109 @@
|
|
|
299
303
|
<line num="153" count="1" type="stmt"/>
|
|
300
304
|
<line num="163" count="2" type="stmt"/>
|
|
301
305
|
<line num="164" count="1" type="stmt"/>
|
|
306
|
+
<line num="184" count="2" type="stmt"/>
|
|
307
|
+
<line num="186" count="2" type="stmt"/>
|
|
308
|
+
<line num="187" count="0" type="stmt"/>
|
|
309
|
+
<line num="214" count="2" type="stmt"/>
|
|
310
|
+
<line num="216" count="2" type="stmt"/>
|
|
311
|
+
<line num="217" count="0" type="stmt"/>
|
|
312
|
+
<line num="244" count="2" type="stmt"/>
|
|
313
|
+
<line num="246" count="2" type="stmt"/>
|
|
314
|
+
<line num="247" count="0" type="stmt"/>
|
|
302
315
|
</file>
|
|
303
316
|
<file name="ios.ts" path="/home/runner/work/expo-iap/expo-iap/src/modules/ios.ts">
|
|
304
|
-
<metrics statements="
|
|
317
|
+
<metrics statements="91" coveredstatements="86" conditionals="33" coveredconditionals="33" methods="22" coveredmethods="19"/>
|
|
305
318
|
<line num="5" count="2" type="stmt"/>
|
|
306
|
-
<line num="
|
|
307
|
-
<line num="
|
|
308
|
-
<line num="
|
|
309
|
-
<line num="
|
|
310
|
-
<line num="
|
|
311
|
-
<line num="64" count="2" type="stmt"/>
|
|
319
|
+
<line num="21" count="2" type="stmt"/>
|
|
320
|
+
<line num="31" count="2" type="stmt"/>
|
|
321
|
+
<line num="34" count="11" type="stmt"/>
|
|
322
|
+
<line num="53" count="2" type="stmt"/>
|
|
323
|
+
<line num="54" count="1" type="stmt"/>
|
|
312
324
|
<line num="66" count="2" type="stmt"/>
|
|
313
|
-
<line num="
|
|
314
|
-
<line num="
|
|
315
|
-
<line num="70" count="
|
|
316
|
-
<line num="
|
|
325
|
+
<line num="68" count="2" type="stmt"/>
|
|
326
|
+
<line num="69" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
327
|
+
<line num="70" count="1" type="stmt"/>
|
|
328
|
+
<line num="72" count="6" type="stmt"/>
|
|
317
329
|
<line num="84" count="2" type="stmt"/>
|
|
318
|
-
<line num="
|
|
319
|
-
<line num="
|
|
320
|
-
<line num="88" count="
|
|
321
|
-
<line num="
|
|
322
|
-
<line num="
|
|
330
|
+
<line num="86" count="2" type="stmt"/>
|
|
331
|
+
<line num="87" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
332
|
+
<line num="88" count="1" type="stmt"/>
|
|
333
|
+
<line num="90" count="2" type="stmt"/>
|
|
334
|
+
<line num="91" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
323
335
|
<line num="103" count="2" type="stmt"/>
|
|
324
|
-
<line num="
|
|
325
|
-
<line num="
|
|
326
|
-
<line num="107" count="
|
|
327
|
-
<line num="
|
|
328
|
-
<line num="
|
|
329
|
-
<line num="
|
|
330
|
-
<line num="
|
|
331
|
-
<line num="126" count="
|
|
332
|
-
<line num="
|
|
333
|
-
<line num="
|
|
336
|
+
<line num="105" count="2" type="stmt"/>
|
|
337
|
+
<line num="106" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
338
|
+
<line num="107" count="1" type="stmt"/>
|
|
339
|
+
<line num="109" count="2" type="stmt"/>
|
|
340
|
+
<line num="110" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
341
|
+
<line num="122" count="2" type="stmt"/>
|
|
342
|
+
<line num="125" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
343
|
+
<line num="126" count="1" type="stmt"/>
|
|
344
|
+
<line num="128" count="2" type="stmt"/>
|
|
345
|
+
<line num="129" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
334
346
|
<line num="141" count="2" type="stmt"/>
|
|
335
|
-
<line num="
|
|
336
|
-
<line num="
|
|
337
|
-
<line num="145" count="
|
|
338
|
-
<line num="
|
|
339
|
-
<line num="
|
|
347
|
+
<line num="143" count="2" type="stmt"/>
|
|
348
|
+
<line num="144" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
349
|
+
<line num="145" count="1" type="stmt"/>
|
|
350
|
+
<line num="147" count="2" type="stmt"/>
|
|
351
|
+
<line num="148" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
340
352
|
<line num="160" count="2" type="stmt"/>
|
|
341
|
-
<line num="
|
|
342
|
-
<line num="
|
|
343
|
-
<line num="
|
|
344
|
-
<line num="
|
|
345
|
-
<line num="
|
|
346
|
-
<line num="
|
|
353
|
+
<line num="162" count="2" type="stmt"/>
|
|
354
|
+
<line num="163" count="2" type="stmt"/>
|
|
355
|
+
<line num="164" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
356
|
+
<line num="177" count="2" type="stmt"/>
|
|
357
|
+
<line num="178" count="1" type="stmt"/>
|
|
358
|
+
<line num="181" count="2" type="stmt"/>
|
|
347
359
|
<line num="193" count="2" type="stmt"/>
|
|
348
|
-
<line num="
|
|
349
|
-
<line num="
|
|
360
|
+
<line num="195" count="2" type="stmt"/>
|
|
361
|
+
<line num="196" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
350
362
|
<line num="197" count="1" type="stmt"/>
|
|
351
|
-
<line num="
|
|
352
|
-
<line num="
|
|
353
|
-
<line num="
|
|
354
|
-
<line num="216" count="
|
|
355
|
-
<line num="
|
|
356
|
-
<line num="
|
|
357
|
-
<line num="
|
|
358
|
-
<line num="241" count="4" type="cond" truecount="
|
|
359
|
-
<line num="
|
|
360
|
-
<line num="
|
|
361
|
-
<line num="
|
|
362
|
-
<line num="
|
|
363
|
+
<line num="199" count="1" type="stmt"/>
|
|
364
|
+
<line num="212" count="2" type="stmt"/>
|
|
365
|
+
<line num="215" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
366
|
+
<line num="216" count="1" type="stmt"/>
|
|
367
|
+
<line num="218" count="2" type="stmt"/>
|
|
368
|
+
<line num="219" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
369
|
+
<line num="237" count="2" type="stmt"/>
|
|
370
|
+
<line num="241" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
371
|
+
<line num="243" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
372
|
+
<line num="244" count="1" type="stmt"/>
|
|
373
|
+
<line num="247" count="3" type="stmt"/>
|
|
374
|
+
<line num="252" count="2" type="stmt"/>
|
|
363
375
|
<line num="266" count="2" type="stmt"/>
|
|
364
|
-
<line num="
|
|
365
|
-
<line num="
|
|
376
|
+
<line num="268" count="2" type="stmt"/>
|
|
377
|
+
<line num="269" count="1" type="stmt"/>
|
|
366
378
|
<line num="286" count="2" type="stmt"/>
|
|
367
|
-
<line num="
|
|
368
|
-
<line num="
|
|
379
|
+
<line num="288" count="2" type="stmt"/>
|
|
380
|
+
<line num="289" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
369
381
|
<line num="302" count="2" type="stmt"/>
|
|
370
|
-
<line num="
|
|
371
|
-
<line num="
|
|
372
|
-
<line num="
|
|
382
|
+
<line num="304" count="2" type="stmt"/>
|
|
383
|
+
<line num="305" count="2" type="stmt"/>
|
|
384
|
+
<line num="306" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
373
385
|
<line num="318" count="2" type="stmt"/>
|
|
374
|
-
<line num="
|
|
375
|
-
<line num="
|
|
376
|
-
<line num="
|
|
386
|
+
<line num="320" count="2" type="stmt"/>
|
|
387
|
+
<line num="321" count="1" type="stmt"/>
|
|
388
|
+
<line num="322" count="1" type="stmt"/>
|
|
377
389
|
<line num="331" count="2" type="stmt"/>
|
|
378
|
-
<line num="
|
|
379
|
-
<line num="
|
|
380
|
-
<line num="
|
|
390
|
+
<line num="333" count="2" type="stmt"/>
|
|
391
|
+
<line num="334" count="2" type="stmt"/>
|
|
392
|
+
<line num="335" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
381
393
|
<line num="344" count="2" type="stmt"/>
|
|
382
|
-
<line num="
|
|
383
|
-
<line num="
|
|
384
|
-
<line num="
|
|
394
|
+
<line num="346" count="2" type="stmt"/>
|
|
395
|
+
<line num="347" count="2" type="stmt"/>
|
|
396
|
+
<line num="356" count="2" type="stmt"/>
|
|
397
|
+
<line num="357" count="1" type="stmt"/>
|
|
398
|
+
<line num="365" count="2" type="stmt"/>
|
|
399
|
+
<line num="367" count="2" type="stmt"/>
|
|
400
|
+
<line num="368" count="0" type="stmt"/>
|
|
401
|
+
<line num="378" count="2" type="stmt"/>
|
|
402
|
+
<line num="380" count="2" type="stmt"/>
|
|
403
|
+
<line num="381" count="0" type="stmt"/>
|
|
404
|
+
<line num="382" count="0" type="stmt"/>
|
|
405
|
+
<line num="392" count="2" type="stmt"/>
|
|
406
|
+
<line num="394" count="2" type="stmt"/>
|
|
407
|
+
<line num="395" count="0" type="stmt"/>
|
|
408
|
+
<line num="396" count="0" type="stmt"/>
|
|
385
409
|
</file>
|
|
386
410
|
</package>
|
|
387
411
|
<package name="src.utils">
|