@@ -50,6 +50,7 @@ jest.mock('react-native-device-info', () => ({
50
50
51
51
getBrand : ( ) => '__DeviceInfoBrand__' ,
52
52
getDeviceId : ( ) => '__DeviceInfoDeviceId__' ,
53
+ getVersion : ( ) => '__VersionNumber__' ,
53
54
} ,
54
55
} ) , { virtual : true } ) ;
55
56
@@ -102,6 +103,7 @@ test('regular mode', async () => {
102
103
+ '&d=__NativeAdvertisingId__'
103
104
+ '&idfv=__DeviceInfoUniqueId__'
104
105
+ '&appid=__DeviceInfoBundleId__'
106
+ + '&appver=__VersionNumber__'
105
107
+ '&os=__DeviceInfoSystemName__'
106
108
+ '&osv=__DeviceInfoSystemVersion__'
107
109
+ '&dn=__DeviceInfoBrand__%20__DeviceInfoDeviceId__'
@@ -117,6 +119,7 @@ test('regular mode', async () => {
117
119
+ '&d=__NativeAdvertisingId__'
118
120
+ '&idfv=__DeviceInfoUniqueId__'
119
121
+ '&appid=__DeviceInfoBundleId__'
122
+ + '&appver=__VersionNumber__'
120
123
+ '&os=__DeviceInfoSystemName__'
121
124
+ '&osv=__DeviceInfoSystemVersion__'
122
125
+ '&dn=__DeviceInfoBrand__%20__DeviceInfoDeviceId__'
@@ -141,6 +144,7 @@ test('legacy idfa', async () => {
141
144
+ '&d=__NativeAdvertisingLegacyId__'
142
145
+ '&idfv=__DeviceInfoUniqueId__'
143
146
+ '&appid=__DeviceInfoBundleId__'
147
+ + '&appver=__VersionNumber__'
144
148
+ '&os=__DeviceInfoSystemName__'
145
149
+ '&osv=__DeviceInfoSystemVersion__'
146
150
+ '&dn=__DeviceInfoBrand__%20__DeviceInfoDeviceId__'
@@ -173,6 +177,7 @@ test('dnt mode', async () => {
173
177
+ '?t=__FetchMediaCode__'
174
178
+ '&rnd=4fzzzxjylrx'
175
179
+ '&appid=__DeviceInfoBundleId__'
180
+ + '&appver=__VersionNumber__'
176
181
+ '&os=__DeviceInfoSystemName__'
177
182
+ '&osv=__DeviceInfoSystemVersion__'
178
183
+ '&dn=__DeviceInfoBrand__%20__DeviceInfoDeviceId__'
@@ -186,6 +191,7 @@ test('dnt mode', async () => {
186
191
+ '?t=__FetchSectionCode__'
187
192
+ '&rnd=4fzzzxjylrx'
188
193
+ '&appid=__DeviceInfoBundleId__'
194
+ + '&appver=__VersionNumber__'
189
195
+ '&os=__DeviceInfoSystemName__'
190
196
+ '&osv=__DeviceInfoSystemVersion__'
191
197
+ '&dn=__DeviceInfoBrand__%20__DeviceInfoDeviceId__'
0 commit comments