jest-expo 45.0.0-beta.2 → 46.0.0
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/config/getPlatformPreset.js +3 -10
- package/package.json +5 -5
- package/src/index.js +1 -0
- package/src/preset/assetFileTransformer.js +1 -1
- package/src/preset/expoModules.js +442 -714
- package/src/preset/setup-web.js +6 -0
- package/src/preset/setup.js +0 -10
- package/src/preset/createMockConstants.js +0 -51
|
@@ -72,13 +72,13 @@ module.exports = {
|
|
|
72
72
|
AIRMapPolylineManager: {},
|
|
73
73
|
AIRMapUrlTileManager: {},
|
|
74
74
|
AIRMapWMSTileManager: {},
|
|
75
|
+
ExpoBridgeModule: {},
|
|
75
76
|
'ExpoModulesCore.ViewModuleWrapper': {},
|
|
76
77
|
ExpoNativeModuleIntrospection: {
|
|
77
78
|
getConstants: { type: 'function' },
|
|
78
79
|
getNativeModuleNamesAsync: { type: 'function', functionType: 'promise' },
|
|
79
80
|
introspectNativeModuleAsync: { type: 'function', functionType: 'promise' },
|
|
80
81
|
},
|
|
81
|
-
ExponentAV: { Qualities: { type: 'object' }, getConstants: { type: 'function' } },
|
|
82
82
|
ExponentNotifications: {
|
|
83
83
|
cancelAllScheduledNotificationsAsync: { type: 'function', functionType: 'promise' },
|
|
84
84
|
cancelScheduledNotificationAsync: { type: 'function', functionType: 'promise' },
|
|
@@ -122,59 +122,59 @@ module.exports = {
|
|
|
122
122
|
AdIconViewManager: [],
|
|
123
123
|
AdOptionsViewManager: [],
|
|
124
124
|
CTKAdSettingsManager: [
|
|
125
|
-
{
|
|
126
|
-
{
|
|
127
|
-
{
|
|
128
|
-
{
|
|
129
|
-
{
|
|
130
|
-
{
|
|
131
|
-
{
|
|
132
|
-
{
|
|
133
|
-
{
|
|
125
|
+
{ name: 'setIsChildDirected', argumentsCount: 1, key: 0 },
|
|
126
|
+
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 1 },
|
|
127
|
+
{ name: 'addTestDevice', argumentsCount: 1, key: 2 },
|
|
128
|
+
{ name: 'setLogLevel', argumentsCount: 1, key: 3 },
|
|
129
|
+
{ name: 'clearTestDevices', argumentsCount: 0, key: 4 },
|
|
130
|
+
{ name: 'setUrlPrefix', argumentsCount: 1, key: 5 },
|
|
131
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 0, key: 6 },
|
|
132
|
+
{ name: 'setMeditationService', argumentsCount: 1, key: 7 },
|
|
133
|
+
{ name: 'setAdvertiserTrackingEnabled', argumentsCount: 1, key: 8 },
|
|
134
134
|
],
|
|
135
135
|
CTKBannerViewManager: [],
|
|
136
|
-
CTKInterstitialAdManager: [{
|
|
136
|
+
CTKInterstitialAdManager: [{ name: 'showAd', argumentsCount: 1, key: 0 }],
|
|
137
137
|
CTKNativeAdManager: [
|
|
138
|
-
{
|
|
139
|
-
{
|
|
140
|
-
{
|
|
141
|
-
{
|
|
138
|
+
{ name: 'disableAutoRefresh', argumentsCount: 1, key: 0 },
|
|
139
|
+
{ name: 'setMediaCachePolicy', argumentsCount: 2, key: 1 },
|
|
140
|
+
{ name: 'registerViewsForInteraction', argumentsCount: 4, key: 2 },
|
|
141
|
+
{ name: 'init', argumentsCount: 2, key: 3 },
|
|
142
142
|
],
|
|
143
143
|
EASClient: [],
|
|
144
144
|
ExpoAdsAdMob: [
|
|
145
|
-
{
|
|
146
|
-
{
|
|
147
|
-
{
|
|
145
|
+
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 0 },
|
|
146
|
+
{ name: 'setTestDeviceIDAsync', argumentsCount: 1, key: 1 },
|
|
147
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 0, key: 2 },
|
|
148
148
|
],
|
|
149
149
|
ExpoAdsAdMobBannerView: [],
|
|
150
150
|
ExpoAdsAdMobInterstitialManager: [
|
|
151
|
-
{
|
|
152
|
-
{
|
|
153
|
-
{
|
|
154
|
-
{
|
|
155
|
-
{
|
|
151
|
+
{ name: 'requestAd', argumentsCount: 1, key: 0 },
|
|
152
|
+
{ name: 'showAd', argumentsCount: 0, key: 1 },
|
|
153
|
+
{ name: 'dismissAd', argumentsCount: 0, key: 2 },
|
|
154
|
+
{ name: 'setAdUnitID', argumentsCount: 1, key: 3 },
|
|
155
|
+
{ name: 'getIsReady', argumentsCount: 0, key: 4 },
|
|
156
156
|
],
|
|
157
157
|
ExpoAdsAdMobRewardedVideoAdManager: [
|
|
158
|
-
{
|
|
159
|
-
{
|
|
160
|
-
{
|
|
161
|
-
{
|
|
162
|
-
{
|
|
158
|
+
{ name: 'requestAd', argumentsCount: 1, key: 0 },
|
|
159
|
+
{ name: 'showAd', argumentsCount: 0, key: 1 },
|
|
160
|
+
{ name: 'dismissAd', argumentsCount: 0, key: 2 },
|
|
161
|
+
{ name: 'setAdUnitID', argumentsCount: 1, key: 3 },
|
|
162
|
+
{ name: 'getIsReady', argumentsCount: 0, key: 4 },
|
|
163
163
|
],
|
|
164
164
|
ExpoAmplitude: [
|
|
165
|
-
{
|
|
166
|
-
{
|
|
167
|
-
{
|
|
168
|
-
{
|
|
169
|
-
{
|
|
170
|
-
{
|
|
171
|
-
{
|
|
172
|
-
{
|
|
165
|
+
{ name: 'initializeAsync', argumentsCount: 1, key: 0 },
|
|
166
|
+
{ name: 'setTrackingOptionsAsync', argumentsCount: 1, key: 1 },
|
|
167
|
+
{ name: 'setGroupAsync', argumentsCount: 2, key: 2 },
|
|
168
|
+
{ name: 'logEventWithPropertiesAsync', argumentsCount: 2, key: 3 },
|
|
169
|
+
{ name: 'setUserPropertiesAsync', argumentsCount: 1, key: 4 },
|
|
170
|
+
{ name: 'logEventAsync', argumentsCount: 1, key: 5 },
|
|
171
|
+
{ name: 'setUserIdAsync', argumentsCount: 1, key: 6 },
|
|
172
|
+
{ name: 'clearUserPropertiesAsync', argumentsCount: 0, key: 7 },
|
|
173
173
|
],
|
|
174
174
|
ExpoAppleAuthentication: [
|
|
175
|
-
{
|
|
176
|
-
{
|
|
177
|
-
{
|
|
175
|
+
{ name: 'isAvailableAsync', argumentsCount: 0, key: 0 },
|
|
176
|
+
{ name: 'requestAsync', argumentsCount: 1, key: 1 },
|
|
177
|
+
{ name: 'getCredentialStateAsync', argumentsCount: 1, key: 2 },
|
|
178
178
|
],
|
|
179
179
|
ExpoAppleAuthenticationButtonContinueBlack: [],
|
|
180
180
|
ExpoAppleAuthenticationButtonContinueWhite: [],
|
|
@@ -186,519 +186,512 @@ module.exports = {
|
|
|
186
186
|
ExpoAppleAuthenticationButtonSignUpWhite: [],
|
|
187
187
|
ExpoAppleAuthenticationButtonSignUpWhiteOutline: [],
|
|
188
188
|
ExpoApplication: [
|
|
189
|
-
{
|
|
190
|
-
{
|
|
191
|
-
{
|
|
192
|
-
{
|
|
189
|
+
{ name: 'getIosIdForVendorAsync', argumentsCount: 0, key: 0 },
|
|
190
|
+
{ name: 'getPushNotificationServiceEnvironmentAsync', argumentsCount: 0, key: 1 },
|
|
191
|
+
{ name: 'getApplicationReleaseTypeAsync', argumentsCount: 0, key: 2 },
|
|
192
|
+
{ name: 'getInstallationTimeAsync', argumentsCount: 0, key: 3 },
|
|
193
193
|
],
|
|
194
194
|
ExpoBackgroundFetch: [
|
|
195
|
-
{
|
|
196
|
-
{
|
|
197
|
-
{
|
|
198
|
-
{
|
|
195
|
+
{ name: 'unregisterTaskAsync', argumentsCount: 1, key: 0 },
|
|
196
|
+
{ name: 'setMinimumIntervalAsync', argumentsCount: 1, key: 1 },
|
|
197
|
+
{ name: 'getStatusAsync', argumentsCount: 0, key: 2 },
|
|
198
|
+
{ name: 'registerTaskAsync', argumentsCount: 2, key: 3 },
|
|
199
199
|
],
|
|
200
200
|
ExpoBackgroundNotificationTasksModule: [
|
|
201
|
-
{
|
|
202
|
-
{
|
|
201
|
+
{ name: 'unregisterTaskAsync', argumentsCount: 1, key: 0 },
|
|
202
|
+
{ name: 'registerTaskAsync', argumentsCount: 1, key: 1 },
|
|
203
203
|
],
|
|
204
204
|
ExpoBadgeModule: [
|
|
205
|
-
{
|
|
206
|
-
{
|
|
205
|
+
{ name: 'setBadgeCountAsync', argumentsCount: 1, key: 0 },
|
|
206
|
+
{ name: 'getBadgeCountAsync', argumentsCount: 0, key: 1 },
|
|
207
207
|
],
|
|
208
208
|
ExpoBarCodeScannerModule: [
|
|
209
|
-
{
|
|
210
|
-
{
|
|
211
|
-
{
|
|
209
|
+
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 0 },
|
|
210
|
+
{ name: 'scanFromURLAsync', argumentsCount: 2, key: 1 },
|
|
211
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 0, key: 2 },
|
|
212
212
|
],
|
|
213
213
|
ExpoBarCodeScannerView: [],
|
|
214
214
|
ExpoBarometer: [
|
|
215
|
-
{
|
|
216
|
-
{
|
|
215
|
+
{ name: 'isAvailableAsync', argumentsCount: 0, key: 0 },
|
|
216
|
+
{ name: 'setUpdateInterval', argumentsCount: 1, key: 1 },
|
|
217
217
|
],
|
|
218
218
|
ExpoBattery: [
|
|
219
|
-
{
|
|
220
|
-
{
|
|
221
|
-
{
|
|
219
|
+
{ name: 'getBatteryLevelAsync', argumentsCount: 0, key: 0 },
|
|
220
|
+
{ name: 'isLowPowerModeEnabledAsync', argumentsCount: 0, key: 1 },
|
|
221
|
+
{ name: 'getBatteryStateAsync', argumentsCount: 0, key: 2 },
|
|
222
222
|
],
|
|
223
|
-
ExpoBlurViewManager: [{
|
|
223
|
+
ExpoBlurViewManager: [{ name: 'setNativeProps', argumentsCount: 2, key: 0 }],
|
|
224
224
|
ExpoBrightness: [
|
|
225
|
-
{
|
|
226
|
-
{
|
|
227
|
-
{
|
|
228
|
-
{
|
|
229
|
-
{
|
|
230
|
-
{
|
|
231
|
-
{
|
|
232
|
-
{
|
|
233
|
-
{
|
|
234
|
-
{
|
|
225
|
+
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 0 },
|
|
226
|
+
{ name: 'getSystemBrightnessAsync', argumentsCount: 0, key: 1 },
|
|
227
|
+
{ name: 'setSystemBrightnessAsync', argumentsCount: 0, key: 2 },
|
|
228
|
+
{ name: 'useSystemBrightnessAsync', argumentsCount: 0, key: 3 },
|
|
229
|
+
{ name: 'isUsingSystemBrightnessAsync', argumentsCount: 0, key: 4 },
|
|
230
|
+
{ name: 'getSystemBrightnessModeAsync', argumentsCount: 0, key: 5 },
|
|
231
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 0, key: 6 },
|
|
232
|
+
{ name: 'setBrightnessAsync', argumentsCount: 1, key: 7 },
|
|
233
|
+
{ name: 'getBrightnessAsync', argumentsCount: 0, key: 8 },
|
|
234
|
+
{ name: 'setSystemBrightnessModeAsync', argumentsCount: 0, key: 9 },
|
|
235
235
|
],
|
|
236
236
|
ExpoCalendar: [
|
|
237
|
-
{
|
|
238
|
-
{
|
|
239
|
-
{
|
|
240
|
-
{
|
|
241
|
-
{
|
|
242
|
-
{
|
|
243
|
-
{
|
|
244
|
-
{
|
|
245
|
-
{
|
|
246
|
-
{
|
|
247
|
-
{
|
|
248
|
-
{
|
|
249
|
-
{
|
|
250
|
-
{
|
|
251
|
-
{
|
|
252
|
-
{
|
|
253
|
-
{
|
|
254
|
-
{
|
|
255
|
-
{
|
|
237
|
+
{ name: 'deleteCalendarAsync', argumentsCount: 1, key: 0 },
|
|
238
|
+
{ name: 'deleteReminderAsync', argumentsCount: 1, key: 1 },
|
|
239
|
+
{ name: 'getCalendarPermissionsAsync', argumentsCount: 0, key: 2 },
|
|
240
|
+
{ name: 'deleteEventAsync', argumentsCount: 2, key: 3 },
|
|
241
|
+
{ name: 'requestRemindersPermissionsAsync', argumentsCount: 0, key: 4 },
|
|
242
|
+
{ name: 'getEventsAsync', argumentsCount: 3, key: 5 },
|
|
243
|
+
{ name: 'getSourcesAsync', argumentsCount: 0, key: 6 },
|
|
244
|
+
{ name: 'getReminderByIdAsync', argumentsCount: 1, key: 7 },
|
|
245
|
+
{ name: 'requestCalendarPermissionsAsync', argumentsCount: 0, key: 8 },
|
|
246
|
+
{ name: 'getAttendeesForEventAsync', argumentsCount: 1, key: 9 },
|
|
247
|
+
{ name: 'getRemindersAsync', argumentsCount: 4, key: 10 },
|
|
248
|
+
{ name: 'getRemindersPermissionsAsync', argumentsCount: 0, key: 11 },
|
|
249
|
+
{ name: 'saveEventAsync', argumentsCount: 2, key: 12 },
|
|
250
|
+
{ name: 'getCalendarsAsync', argumentsCount: 1, key: 13 },
|
|
251
|
+
{ name: 'getEventByIdAsync', argumentsCount: 2, key: 14 },
|
|
252
|
+
{ name: 'getDefaultCalendarAsync', argumentsCount: 0, key: 15 },
|
|
253
|
+
{ name: 'saveCalendarAsync', argumentsCount: 1, key: 16 },
|
|
254
|
+
{ name: 'saveReminderAsync', argumentsCount: 1, key: 17 },
|
|
255
|
+
{ name: 'getSourceByIdAsync', argumentsCount: 1, key: 18 },
|
|
256
256
|
],
|
|
257
257
|
ExpoCellular: [
|
|
258
|
-
{
|
|
259
|
-
{ name: 'getCarrierNameAsync', key: 'getCarrierNameAsync', argumentsCount: 0 },
|
|
258
|
+
{ key: 'getCarrierNameAsync', name: 'getCarrierNameAsync', argumentsCount: 0 },
|
|
260
259
|
{
|
|
260
|
+
name: 'getCellularGenerationAsync',
|
|
261
261
|
argumentsCount: 0,
|
|
262
|
-
|
|
263
|
-
key: 'getMobileNetworkCodeAsync',
|
|
262
|
+
key: 'getCellularGenerationAsync',
|
|
264
263
|
},
|
|
264
|
+
{ key: 'allowsVoipAsync', name: 'allowsVoipAsync', argumentsCount: 0 },
|
|
265
|
+
{ name: 'getIsoCountryCodeAsync', argumentsCount: 0, key: 'getIsoCountryCodeAsync' },
|
|
265
266
|
{
|
|
266
|
-
key: 'getMobileCountryCodeAsync',
|
|
267
|
-
argumentsCount: 0,
|
|
268
267
|
name: 'getMobileCountryCodeAsync',
|
|
268
|
+
argumentsCount: 0,
|
|
269
|
+
key: 'getMobileCountryCodeAsync',
|
|
269
270
|
},
|
|
270
271
|
{
|
|
271
|
-
name: '
|
|
272
|
-
key: 'getCellularGenerationAsync',
|
|
272
|
+
name: 'getMobileNetworkCodeAsync',
|
|
273
273
|
argumentsCount: 0,
|
|
274
|
+
key: 'getMobileNetworkCodeAsync',
|
|
274
275
|
},
|
|
275
|
-
{ key: 'getIsoCountryCodeAsync', argumentsCount: 0, name: 'getIsoCountryCodeAsync' },
|
|
276
276
|
],
|
|
277
277
|
ExpoClipboard: [
|
|
278
|
-
{
|
|
279
|
-
{ key: '
|
|
278
|
+
{ key: 'getUrlAsync', name: 'getUrlAsync', argumentsCount: 0 },
|
|
279
|
+
{ argumentsCount: 0, key: 'stopObserving', name: 'stopObserving' },
|
|
280
|
+
{ key: 'hasImageAsync', name: 'hasImageAsync', argumentsCount: 0 },
|
|
280
281
|
{ name: 'setImageAsync', key: 'setImageAsync', argumentsCount: 1 },
|
|
281
|
-
{
|
|
282
|
-
{
|
|
283
|
-
{
|
|
284
|
-
{
|
|
285
|
-
{
|
|
286
|
-
{
|
|
287
|
-
{
|
|
288
|
-
{ argumentsCount: 0, name: 'hasImageAsync', key: 'hasImageAsync' },
|
|
282
|
+
{ name: 'setStringAsync', argumentsCount: 2, key: 'setStringAsync' },
|
|
283
|
+
{ name: 'setUrlAsync', argumentsCount: 1, key: 'setUrlAsync' },
|
|
284
|
+
{ argumentsCount: 0, key: 'hasUrlAsync', name: 'hasUrlAsync' },
|
|
285
|
+
{ name: 'hasStringAsync', key: 'hasStringAsync', argumentsCount: 0 },
|
|
286
|
+
{ argumentsCount: 1, key: 'getImageAsync', name: 'getImageAsync' },
|
|
287
|
+
{ key: 'getStringAsync', name: 'getStringAsync', argumentsCount: 1 },
|
|
288
|
+
{ name: 'startObserving', argumentsCount: 0, key: 'startObserving' },
|
|
289
289
|
],
|
|
290
290
|
ExpoContacts: [
|
|
291
|
-
{
|
|
292
|
-
{
|
|
293
|
-
{
|
|
294
|
-
{
|
|
295
|
-
{
|
|
296
|
-
{
|
|
297
|
-
{
|
|
298
|
-
{
|
|
299
|
-
{
|
|
300
|
-
{
|
|
301
|
-
{
|
|
302
|
-
{
|
|
303
|
-
{
|
|
304
|
-
{
|
|
305
|
-
{
|
|
306
|
-
{
|
|
307
|
-
{
|
|
308
|
-
{
|
|
291
|
+
{ name: 'getDefaultContainerIdentifierAsync', argumentsCount: 0, key: 0 },
|
|
292
|
+
{ name: 'addExistingGroupToContainerAsync', argumentsCount: 2, key: 1 },
|
|
293
|
+
{ name: 'createGroupAsync', argumentsCount: 2, key: 2 },
|
|
294
|
+
{ name: 'addContactAsync', argumentsCount: 2, key: 3 },
|
|
295
|
+
{ name: 'removeGroupAsync', argumentsCount: 1, key: 4 },
|
|
296
|
+
{ name: 'removeContactFromGroupAsync', argumentsCount: 2, key: 5 },
|
|
297
|
+
{ name: 'removeContactAsync', argumentsCount: 1, key: 6 },
|
|
298
|
+
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 7 },
|
|
299
|
+
{ name: 'updateContactAsync', argumentsCount: 1, key: 8 },
|
|
300
|
+
{ name: 'getGroupsAsync', argumentsCount: 1, key: 9 },
|
|
301
|
+
{ name: 'addExistingContactToGroupAsync', argumentsCount: 2, key: 10 },
|
|
302
|
+
{ name: 'getContainersAsync', argumentsCount: 1, key: 11 },
|
|
303
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 0, key: 12 },
|
|
304
|
+
{ name: 'updateGroupNameAsync', argumentsCount: 2, key: 13 },
|
|
305
|
+
{ name: 'getContactsAsync', argumentsCount: 1, key: 14 },
|
|
306
|
+
{ name: 'presentFormAsync', argumentsCount: 3, key: 15 },
|
|
307
|
+
{ name: 'writeContactToFileAsync', argumentsCount: 1, key: 16 },
|
|
308
|
+
{ name: 'dismissFormAsync', argumentsCount: 0, key: 17 },
|
|
309
309
|
],
|
|
310
310
|
ExpoCrypto: [
|
|
311
|
-
{ key: 'digestString', argumentsCount: 3, name: 'digestString' },
|
|
312
311
|
{ key: 'digestStringAsync', argumentsCount: 3, name: 'digestStringAsync' },
|
|
312
|
+
{ name: 'digestString', key: 'digestString', argumentsCount: 3 },
|
|
313
313
|
],
|
|
314
314
|
ExpoDevice: [
|
|
315
|
-
{
|
|
316
|
-
{
|
|
317
|
-
{
|
|
315
|
+
{ name: 'getDeviceTypeAsync', argumentsCount: 0, key: 0 },
|
|
316
|
+
{ name: 'isRootedExperimentalAsync', argumentsCount: 0, key: 1 },
|
|
317
|
+
{ name: 'getUptimeAsync', argumentsCount: 0, key: 2 },
|
|
318
318
|
],
|
|
319
|
-
ExpoDocumentPicker: [{
|
|
320
|
-
ExpoErrorRecovery: [{
|
|
321
|
-
ExpoFaceDetector: [{
|
|
319
|
+
ExpoDocumentPicker: [{ name: 'getDocumentAsync', argumentsCount: 1, key: 0 }],
|
|
320
|
+
ExpoErrorRecovery: [{ name: 'saveRecoveryProps', argumentsCount: 1, key: 0 }],
|
|
321
|
+
ExpoFaceDetector: [{ name: 'detectFaces', argumentsCount: 1, key: 0 }],
|
|
322
322
|
ExpoFirebaseAnalytics: [
|
|
323
|
-
{
|
|
324
|
-
{
|
|
325
|
-
{
|
|
326
|
-
{
|
|
327
|
-
{
|
|
328
|
-
{
|
|
323
|
+
{ name: 'logEvent', argumentsCount: 2, key: 0 },
|
|
324
|
+
{ name: 'setUserId', argumentsCount: 1, key: 1 },
|
|
325
|
+
{ name: 'setUserProperties', argumentsCount: 1, key: 2 },
|
|
326
|
+
{ name: 'resetAnalyticsData', argumentsCount: 0, key: 3 },
|
|
327
|
+
{ name: 'setSessionTimeoutDuration', argumentsCount: 1, key: 4 },
|
|
328
|
+
{ name: 'setAnalyticsCollectionEnabled', argumentsCount: 1, key: 5 },
|
|
329
329
|
],
|
|
330
330
|
ExpoFirebaseCore: [],
|
|
331
|
-
ExpoFontLoader: [{
|
|
332
|
-
ExpoGoogleSignIn: [
|
|
333
|
-
{ key: 0, argumentsCount: 1, name: 'getTokensAsync' },
|
|
334
|
-
{ key: 1, argumentsCount: 1, name: 'getPhotoAsync' },
|
|
335
|
-
{ key: 2, argumentsCount: 0, name: 'getCurrentUserAsync' },
|
|
336
|
-
{ key: 3, argumentsCount: 0, name: 'disconnectAsync' },
|
|
337
|
-
{ key: 4, argumentsCount: 0, name: 'signOutAsync' },
|
|
338
|
-
{ key: 5, argumentsCount: 1, name: 'initAsync' },
|
|
339
|
-
{ key: 6, argumentsCount: 0, name: 'signInAsync' },
|
|
340
|
-
{ key: 7, argumentsCount: 0, name: 'signInSilentlyAsync' },
|
|
341
|
-
{ key: 8, argumentsCount: 0, name: 'isConnectedAsync' },
|
|
342
|
-
],
|
|
331
|
+
ExpoFontLoader: [{ name: 'loadAsync', argumentsCount: 2, key: 0 }],
|
|
343
332
|
ExpoHaptics: [
|
|
344
|
-
{
|
|
345
|
-
{
|
|
333
|
+
{ key: 'impactAsync', name: 'impactAsync', argumentsCount: 1 },
|
|
334
|
+
{ argumentsCount: 0, key: 'selectionAsync', name: 'selectionAsync' },
|
|
346
335
|
{ key: 'notificationAsync', name: 'notificationAsync', argumentsCount: 1 },
|
|
347
336
|
],
|
|
348
337
|
ExpoImageManipulator: [
|
|
349
|
-
{
|
|
338
|
+
{ key: 'manipulateAsync', argumentsCount: 3, name: 'manipulateAsync' },
|
|
350
339
|
],
|
|
351
340
|
ExpoKeepAwake: [
|
|
352
|
-
{
|
|
353
|
-
{
|
|
354
|
-
{
|
|
341
|
+
{ argumentsCount: 1, name: 'deactivate', key: 'deactivate' },
|
|
342
|
+
{ name: 'activate', argumentsCount: 1, key: 'activate' },
|
|
343
|
+
{ argumentsCount: 0, name: 'isActivated', key: 'isActivated' },
|
|
355
344
|
],
|
|
356
345
|
ExpoLinearGradient: [],
|
|
357
346
|
ExpoLocalAuthentication: [
|
|
358
|
-
{
|
|
359
|
-
{
|
|
360
|
-
{
|
|
361
|
-
{
|
|
362
|
-
{
|
|
347
|
+
{ name: 'supportedAuthenticationTypesAsync', argumentsCount: 0, key: 0 },
|
|
348
|
+
{ name: 'isEnrolledAsync', argumentsCount: 0, key: 1 },
|
|
349
|
+
{ name: 'getEnrolledLevelAsync', argumentsCount: 0, key: 2 },
|
|
350
|
+
{ name: 'hasHardwareAsync', argumentsCount: 0, key: 3 },
|
|
351
|
+
{ name: 'authenticateAsync', argumentsCount: 1, key: 4 },
|
|
363
352
|
],
|
|
364
353
|
ExpoLocalization: [
|
|
365
|
-
{
|
|
354
|
+
{ key: 'getLocalizationAsync', argumentsCount: 0, name: 'getLocalizationAsync' },
|
|
366
355
|
],
|
|
367
356
|
ExpoLocation: [
|
|
368
|
-
{
|
|
369
|
-
{
|
|
370
|
-
{
|
|
371
|
-
{
|
|
372
|
-
{
|
|
373
|
-
{
|
|
374
|
-
{
|
|
375
|
-
{
|
|
376
|
-
{
|
|
377
|
-
{
|
|
378
|
-
{
|
|
379
|
-
{
|
|
380
|
-
{
|
|
381
|
-
{
|
|
382
|
-
{
|
|
383
|
-
{
|
|
384
|
-
{
|
|
385
|
-
{
|
|
386
|
-
{
|
|
387
|
-
{
|
|
388
|
-
{
|
|
357
|
+
{ name: 'watchPositionImplAsync', argumentsCount: 2, key: 0 },
|
|
358
|
+
{ name: 'watchDeviceHeading', argumentsCount: 1, key: 1 },
|
|
359
|
+
{ name: 'requestForegroundPermissionsAsync', argumentsCount: 0, key: 2 },
|
|
360
|
+
{ name: 'hasServicesEnabledAsync', argumentsCount: 0, key: 3 },
|
|
361
|
+
{ name: 'removeWatchAsync', argumentsCount: 1, key: 4 },
|
|
362
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 0, key: 5 },
|
|
363
|
+
{ name: 'reverseGeocodeAsync', argumentsCount: 1, key: 6 },
|
|
364
|
+
{ name: 'hasStartedGeofencingAsync', argumentsCount: 1, key: 7 },
|
|
365
|
+
{ name: 'startLocationUpdatesAsync', argumentsCount: 2, key: 8 },
|
|
366
|
+
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 9 },
|
|
367
|
+
{ name: 'stopGeofencingAsync', argumentsCount: 1, key: 10 },
|
|
368
|
+
{ name: 'hasStartedLocationUpdatesAsync', argumentsCount: 1, key: 11 },
|
|
369
|
+
{ name: 'getProviderStatusAsync', argumentsCount: 0, key: 12 },
|
|
370
|
+
{ name: 'getBackgroundPermissionsAsync', argumentsCount: 0, key: 13 },
|
|
371
|
+
{ name: 'geocodeAsync', argumentsCount: 1, key: 14 },
|
|
372
|
+
{ name: 'stopLocationUpdatesAsync', argumentsCount: 1, key: 15 },
|
|
373
|
+
{ name: 'getLastKnownPositionAsync', argumentsCount: 1, key: 16 },
|
|
374
|
+
{ name: 'getForegroundPermissionsAsync', argumentsCount: 0, key: 17 },
|
|
375
|
+
{ name: 'getCurrentPositionAsync', argumentsCount: 1, key: 18 },
|
|
376
|
+
{ name: 'startGeofencingAsync', argumentsCount: 2, key: 19 },
|
|
377
|
+
{ name: 'requestBackgroundPermissionsAsync', argumentsCount: 0, key: 20 },
|
|
389
378
|
],
|
|
390
379
|
ExpoMailComposer: [
|
|
391
|
-
{ key:
|
|
392
|
-
{
|
|
380
|
+
{ key: 'isAvailableAsync', name: 'isAvailableAsync', argumentsCount: 0 },
|
|
381
|
+
{ name: 'composeAsync', argumentsCount: 1, key: 'composeAsync' },
|
|
393
382
|
],
|
|
394
383
|
ExpoNetwork: [
|
|
395
|
-
{
|
|
396
|
-
{
|
|
384
|
+
{ name: 'getIpAddressAsync', argumentsCount: 0, key: 0 },
|
|
385
|
+
{ name: 'getNetworkStateAsync', argumentsCount: 0, key: 1 },
|
|
397
386
|
],
|
|
398
387
|
ExpoNotificationCategoriesModule: [
|
|
399
|
-
{
|
|
400
|
-
{
|
|
401
|
-
{
|
|
388
|
+
{ name: 'deleteNotificationCategoryAsync', argumentsCount: 1, key: 0 },
|
|
389
|
+
{ name: 'getNotificationCategoriesAsync', argumentsCount: 0, key: 1 },
|
|
390
|
+
{ name: 'setNotificationCategoryAsync', argumentsCount: 3, key: 2 },
|
|
402
391
|
],
|
|
403
392
|
ExpoNotificationPermissionsModule: [
|
|
404
|
-
{
|
|
405
|
-
{
|
|
393
|
+
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 0 },
|
|
394
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 1, key: 1 },
|
|
406
395
|
],
|
|
407
396
|
ExpoNotificationPresenter: [
|
|
408
|
-
{
|
|
409
|
-
{
|
|
410
|
-
{
|
|
411
|
-
{
|
|
397
|
+
{ name: 'presentNotificationAsync', argumentsCount: 2, key: 0 },
|
|
398
|
+
{ name: 'dismissNotificationAsync', argumentsCount: 1, key: 1 },
|
|
399
|
+
{ name: 'getPresentedNotificationsAsync', argumentsCount: 0, key: 2 },
|
|
400
|
+
{ name: 'dismissAllNotificationsAsync', argumentsCount: 0, key: 3 },
|
|
412
401
|
],
|
|
413
402
|
ExpoNotificationScheduler: [
|
|
414
|
-
{
|
|
415
|
-
{
|
|
416
|
-
{
|
|
417
|
-
{
|
|
418
|
-
{
|
|
403
|
+
{ name: 'cancelAllScheduledNotificationsAsync', argumentsCount: 0, key: 0 },
|
|
404
|
+
{ name: 'getNextTriggerDateAsync', argumentsCount: 1, key: 1 },
|
|
405
|
+
{ name: 'getAllScheduledNotificationsAsync', argumentsCount: 0, key: 2 },
|
|
406
|
+
{ name: 'scheduleNotificationAsync', argumentsCount: 3, key: 3 },
|
|
407
|
+
{ name: 'cancelScheduledNotificationAsync', argumentsCount: 1, key: 4 },
|
|
419
408
|
],
|
|
420
409
|
ExpoNotificationsEmitter: [
|
|
421
|
-
{
|
|
410
|
+
{ name: 'getLastNotificationResponseAsync', argumentsCount: 0, key: 0 },
|
|
422
411
|
],
|
|
423
412
|
ExpoNotificationsHandlerModule: [
|
|
424
|
-
{
|
|
413
|
+
{ name: 'handleNotificationAsync', argumentsCount: 2, key: 0 },
|
|
425
414
|
],
|
|
426
415
|
ExpoPermissions: [
|
|
427
|
-
{
|
|
428
|
-
{
|
|
416
|
+
{ name: 'getAsync', argumentsCount: 1, key: 0 },
|
|
417
|
+
{ name: 'askAsync', argumentsCount: 1, key: 1 },
|
|
429
418
|
],
|
|
430
419
|
ExpoPublisherBannerView: [],
|
|
431
|
-
ExpoPushTokenManager: [
|
|
420
|
+
ExpoPushTokenManager: [
|
|
421
|
+
{ name: 'getDevicePushTokenAsync', argumentsCount: 0, key: 0 },
|
|
422
|
+
{ name: 'unregisterForNotificationsAsync', argumentsCount: 0, key: 1 },
|
|
423
|
+
],
|
|
432
424
|
ExpoRandom: [
|
|
433
|
-
{ key: 'getRandomBase64String',
|
|
425
|
+
{ argumentsCount: 1, key: 'getRandomBase64String', name: 'getRandomBase64String' },
|
|
434
426
|
{
|
|
435
|
-
name: 'getRandomBase64StringAsync',
|
|
436
427
|
key: 'getRandomBase64StringAsync',
|
|
428
|
+
name: 'getRandomBase64StringAsync',
|
|
437
429
|
argumentsCount: 1,
|
|
438
430
|
},
|
|
439
431
|
],
|
|
440
432
|
ExpoSMS: [
|
|
441
|
-
{
|
|
442
|
-
{
|
|
433
|
+
{ name: 'isAvailableAsync', argumentsCount: 0, key: 0 },
|
|
434
|
+
{ name: 'sendSMSAsync', argumentsCount: 3, key: 1 },
|
|
443
435
|
],
|
|
444
436
|
ExpoScreenCapture: [
|
|
445
|
-
{
|
|
446
|
-
{
|
|
437
|
+
{ name: 'preventScreenCapture', argumentsCount: 0, key: 0 },
|
|
438
|
+
{ name: 'allowScreenCapture', argumentsCount: 0, key: 1 },
|
|
447
439
|
],
|
|
448
440
|
ExpoScreenOrientation: [
|
|
449
|
-
{
|
|
450
|
-
{
|
|
451
|
-
{
|
|
452
|
-
{
|
|
453
|
-
{
|
|
454
|
-
{
|
|
441
|
+
{ name: 'lockAsync', argumentsCount: 1, key: 0 },
|
|
442
|
+
{ name: 'supportsOrientationLockAsync', argumentsCount: 1, key: 1 },
|
|
443
|
+
{ name: 'getOrientationAsync', argumentsCount: 0, key: 2 },
|
|
444
|
+
{ name: 'lockPlatformAsync', argumentsCount: 1, key: 3 },
|
|
445
|
+
{ name: 'getOrientationLockAsync', argumentsCount: 0, key: 4 },
|
|
446
|
+
{ name: 'getPlatformOrientationLockAsync', argumentsCount: 0, key: 5 },
|
|
455
447
|
],
|
|
456
448
|
ExpoSecureStore: [
|
|
457
|
-
{
|
|
458
|
-
{
|
|
459
|
-
{
|
|
449
|
+
{ name: 'getValueWithKeyAsync', argumentsCount: 2, key: 0 },
|
|
450
|
+
{ name: 'deleteValueWithKeyAsync', argumentsCount: 2, key: 1 },
|
|
451
|
+
{ name: 'setValueWithKeyAsync', argumentsCount: 3, key: 2 },
|
|
460
452
|
],
|
|
461
|
-
ExpoSharing: [{
|
|
453
|
+
ExpoSharing: [{ name: 'shareAsync', argumentsCount: 2, key: 0 }],
|
|
462
454
|
ExpoSplashScreen: [
|
|
463
|
-
{
|
|
464
|
-
{
|
|
455
|
+
{ name: 'hideAsync', argumentsCount: 0, key: 0 },
|
|
456
|
+
{ name: 'preventAutoHideAsync', argumentsCount: 0, key: 1 },
|
|
465
457
|
],
|
|
466
458
|
ExpoStoreReview: [
|
|
467
|
-
{
|
|
468
|
-
{
|
|
459
|
+
{ name: 'isAvailableAsync', argumentsCount: 0, key: 0 },
|
|
460
|
+
{ name: 'requestReview', argumentsCount: 0, key: 1 },
|
|
469
461
|
],
|
|
470
462
|
ExpoSystemUI: [
|
|
471
|
-
{
|
|
472
|
-
{ key: 'setBackgroundColorAsync',
|
|
463
|
+
{ name: 'getBackgroundColorAsync', key: 'getBackgroundColorAsync', argumentsCount: 0 },
|
|
464
|
+
{ argumentsCount: 1, key: 'setBackgroundColorAsync', name: 'setBackgroundColorAsync' },
|
|
473
465
|
],
|
|
474
466
|
ExpoTaskManager: [
|
|
475
|
-
{
|
|
476
|
-
{
|
|
477
|
-
{
|
|
478
|
-
{
|
|
479
|
-
{
|
|
480
|
-
{
|
|
481
|
-
{
|
|
467
|
+
{ name: 'isAvailableAsync', argumentsCount: 0, key: 0 },
|
|
468
|
+
{ name: 'notifyTaskFinishedAsync', argumentsCount: 2, key: 1 },
|
|
469
|
+
{ name: 'unregisterTaskAsync', argumentsCount: 1, key: 2 },
|
|
470
|
+
{ name: 'getTaskOptionsAsync', argumentsCount: 1, key: 3 },
|
|
471
|
+
{ name: 'unregisterAllTasksAsync', argumentsCount: 0, key: 4 },
|
|
472
|
+
{ name: 'isTaskRegisteredAsync', argumentsCount: 1, key: 5 },
|
|
473
|
+
{ name: 'getRegisteredTasksAsync', argumentsCount: 0, key: 6 },
|
|
482
474
|
],
|
|
483
475
|
ExpoTrackingTransparency: [
|
|
484
|
-
{
|
|
485
|
-
{
|
|
476
|
+
{ key: 'getPermissionsAsync', name: 'getPermissionsAsync', argumentsCount: 0 },
|
|
477
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 0, key: 'requestPermissionsAsync' },
|
|
486
478
|
],
|
|
487
479
|
ExpoUpdates: [
|
|
488
|
-
{
|
|
489
|
-
{
|
|
490
|
-
{
|
|
480
|
+
{ name: 'checkForUpdateAsync', argumentsCount: 0, key: 0 },
|
|
481
|
+
{ name: 'reload', argumentsCount: 0, key: 1 },
|
|
482
|
+
{ name: 'fetchUpdateAsync', argumentsCount: 0, key: 2 },
|
|
491
483
|
],
|
|
492
|
-
ExpoVideoManager: [{
|
|
493
|
-
ExpoVideoThumbnails: [{
|
|
484
|
+
ExpoVideoManager: [{ name: 'setFullscreen', argumentsCount: 2, key: 0 }],
|
|
485
|
+
ExpoVideoThumbnails: [{ name: 'getThumbnail', argumentsCount: 2, key: 0 }],
|
|
494
486
|
ExpoWebBrowser: [
|
|
495
|
-
{
|
|
496
|
-
{ key: 'openBrowserAsync', argumentsCount: 2, name: 'openBrowserAsync' },
|
|
497
|
-
{ key: 'dismissAuthSession', name: 'dismissAuthSession', argumentsCount: 0 },
|
|
498
|
-
{ key: 'warmUpAsync', argumentsCount: 0, name: 'warmUpAsync' },
|
|
499
|
-
{ name: 'mayInitWithUrlAsync', argumentsCount: 0, key: 'mayInitWithUrlAsync' },
|
|
487
|
+
{ name: 'openAuthSessionAsync', argumentsCount: 3, key: 'openAuthSessionAsync' },
|
|
500
488
|
{
|
|
501
|
-
name: 'getCustomTabsSupportingBrowsers',
|
|
502
489
|
key: 'getCustomTabsSupportingBrowsers',
|
|
490
|
+
name: 'getCustomTabsSupportingBrowsers',
|
|
503
491
|
argumentsCount: 0,
|
|
504
492
|
},
|
|
505
|
-
{
|
|
506
|
-
{ key: '
|
|
493
|
+
{ key: 'dismissAuthSession', name: 'dismissAuthSession', argumentsCount: 0 },
|
|
494
|
+
{ key: 'dismissBrowser', name: 'dismissBrowser', argumentsCount: 0 },
|
|
495
|
+
{ key: 'coolDownAsync', name: 'coolDownAsync', argumentsCount: 0 },
|
|
496
|
+
{ argumentsCount: 0, key: 'warmUpAsync', name: 'warmUpAsync' },
|
|
497
|
+
{ name: 'openBrowserAsync', argumentsCount: 2, key: 'openBrowserAsync' },
|
|
498
|
+
{ name: 'mayInitWithUrlAsync', argumentsCount: 0, key: 'mayInitWithUrlAsync' },
|
|
507
499
|
],
|
|
508
500
|
ExponentAV: [
|
|
509
|
-
{
|
|
510
|
-
{
|
|
511
|
-
{
|
|
512
|
-
{
|
|
513
|
-
{
|
|
514
|
-
{
|
|
515
|
-
{
|
|
516
|
-
{
|
|
517
|
-
{
|
|
518
|
-
{
|
|
519
|
-
{
|
|
520
|
-
{
|
|
521
|
-
{
|
|
522
|
-
{
|
|
523
|
-
{
|
|
524
|
-
{
|
|
525
|
-
{
|
|
526
|
-
{
|
|
527
|
-
{
|
|
528
|
-
{
|
|
529
|
-
{
|
|
530
|
-
{
|
|
531
|
-
{
|
|
501
|
+
{ name: 'getStatusForVideo', argumentsCount: 1, key: 0 },
|
|
502
|
+
{ name: 'setAudioMode', argumentsCount: 1, key: 1 },
|
|
503
|
+
{ name: 'unloadAudioRecorder', argumentsCount: 0, key: 2 },
|
|
504
|
+
{ name: 'stopAudioRecording', argumentsCount: 0, key: 3 },
|
|
505
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 0, key: 4 },
|
|
506
|
+
{ name: 'setInput', argumentsCount: 1, key: 5 },
|
|
507
|
+
{ name: 'loadForVideo', argumentsCount: 3, key: 6 },
|
|
508
|
+
{ name: 'setAudioIsEnabled', argumentsCount: 1, key: 7 },
|
|
509
|
+
{ name: 'prepareAudioRecorder', argumentsCount: 1, key: 8 },
|
|
510
|
+
{ name: 'replayVideo', argumentsCount: 2, key: 9 },
|
|
511
|
+
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 10 },
|
|
512
|
+
{ name: 'unloadForSound', argumentsCount: 1, key: 11 },
|
|
513
|
+
{ name: 'setStatusForSound', argumentsCount: 2, key: 12 },
|
|
514
|
+
{ name: 'unloadForVideo', argumentsCount: 1, key: 13 },
|
|
515
|
+
{ name: 'replaySound', argumentsCount: 2, key: 14 },
|
|
516
|
+
{ name: 'getAvailableInputs', argumentsCount: 0, key: 15 },
|
|
517
|
+
{ name: 'getAudioRecordingStatus', argumentsCount: 0, key: 16 },
|
|
518
|
+
{ name: 'setStatusForVideo', argumentsCount: 2, key: 17 },
|
|
519
|
+
{ name: 'loadForSound', argumentsCount: 2, key: 18 },
|
|
520
|
+
{ name: 'pauseAudioRecording', argumentsCount: 0, key: 19 },
|
|
521
|
+
{ name: 'getStatusForSound', argumentsCount: 1, key: 20 },
|
|
522
|
+
{ name: 'getCurrentInput', argumentsCount: 0, key: 21 },
|
|
523
|
+
{ name: 'startAudioRecording', argumentsCount: 0, key: 22 },
|
|
532
524
|
],
|
|
533
525
|
ExponentAccelerometer: [
|
|
534
|
-
{
|
|
535
|
-
{
|
|
526
|
+
{ name: 'isAvailableAsync', argumentsCount: 0, key: 0 },
|
|
527
|
+
{ name: 'setUpdateInterval', argumentsCount: 1, key: 1 },
|
|
536
528
|
],
|
|
537
529
|
ExponentCameraManager: [
|
|
538
|
-
{
|
|
539
|
-
{
|
|
540
|
-
{
|
|
541
|
-
{
|
|
542
|
-
{
|
|
543
|
-
{
|
|
544
|
-
{
|
|
545
|
-
{
|
|
546
|
-
{
|
|
547
|
-
{
|
|
548
|
-
{
|
|
549
|
-
{
|
|
550
|
-
{
|
|
551
|
-
],
|
|
552
|
-
ExponentConstants: [{
|
|
530
|
+
{ name: 'requestCameraPermissionsAsync', argumentsCount: 0, key: 0 },
|
|
531
|
+
{ name: 'record', argumentsCount: 2, key: 1 },
|
|
532
|
+
{ name: 'stopRecording', argumentsCount: 1, key: 2 },
|
|
533
|
+
{ name: 'takePicture', argumentsCount: 2, key: 3 },
|
|
534
|
+
{ name: 'pausePreview', argumentsCount: 1, key: 4 },
|
|
535
|
+
{ name: 'getMicrophonePermissionsAsync', argumentsCount: 0, key: 5 },
|
|
536
|
+
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 6 },
|
|
537
|
+
{ name: 'getAvailableVideoCodecsAsync', argumentsCount: 0, key: 7 },
|
|
538
|
+
{ name: 'resumePreview', argumentsCount: 1, key: 8 },
|
|
539
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 0, key: 9 },
|
|
540
|
+
{ name: 'getAvailablePictureSizes', argumentsCount: 2, key: 10 },
|
|
541
|
+
{ name: 'getCameraPermissionsAsync', argumentsCount: 0, key: 11 },
|
|
542
|
+
{ name: 'requestMicrophonePermissionsAsync', argumentsCount: 0, key: 12 },
|
|
543
|
+
],
|
|
544
|
+
ExponentConstants: [{ name: 'getWebViewUserAgentAsync', argumentsCount: 0, key: 0 }],
|
|
553
545
|
ExponentDeviceMotion: [
|
|
554
|
-
{
|
|
555
|
-
{
|
|
546
|
+
{ name: 'isAvailableAsync', argumentsCount: 0, key: 0 },
|
|
547
|
+
{ name: 'setUpdateInterval', argumentsCount: 1, key: 1 },
|
|
556
548
|
],
|
|
557
549
|
ExponentFacebook: [
|
|
558
|
-
{
|
|
559
|
-
{
|
|
560
|
-
{
|
|
561
|
-
{
|
|
562
|
-
{
|
|
563
|
-
{
|
|
564
|
-
{
|
|
565
|
-
{
|
|
566
|
-
{
|
|
567
|
-
{
|
|
568
|
-
{
|
|
569
|
-
{
|
|
570
|
-
{
|
|
571
|
-
{
|
|
572
|
-
{
|
|
573
|
-
{
|
|
574
|
-
{
|
|
575
|
-
{
|
|
576
|
-
{
|
|
550
|
+
{ name: 'flushAsync', argumentsCount: 0, key: 0 },
|
|
551
|
+
{ name: 'setAutoLogAppEventsEnabledAsync', argumentsCount: 1, key: 1 },
|
|
552
|
+
{ name: 'logEventAsync', argumentsCount: 3, key: 2 },
|
|
553
|
+
{ name: 'getUserIDAsync', argumentsCount: 0, key: 3 },
|
|
554
|
+
{ name: 'setAdvertiserIDCollectionEnabledAsync', argumentsCount: 1, key: 4 },
|
|
555
|
+
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 5 },
|
|
556
|
+
{ name: 'initializeAsync', argumentsCount: 1, key: 6 },
|
|
557
|
+
{ name: 'logOutAsync', argumentsCount: 0, key: 7 },
|
|
558
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 0, key: 8 },
|
|
559
|
+
{ name: 'logInWithReadPermissionsAsync', argumentsCount: 1, key: 9 },
|
|
560
|
+
{ name: 'getAdvertiserIDAsync', argumentsCount: 0, key: 10 },
|
|
561
|
+
{ name: 'setUserDataAsync', argumentsCount: 1, key: 11 },
|
|
562
|
+
{ name: 'setFlushBehaviorAsync', argumentsCount: 1, key: 12 },
|
|
563
|
+
{ name: 'logPurchaseAsync', argumentsCount: 3, key: 13 },
|
|
564
|
+
{ name: 'logPushNotificationOpenAsync', argumentsCount: 1, key: 14 },
|
|
565
|
+
{ name: 'setAdvertiserTrackingEnabledAsync', argumentsCount: 1, key: 15 },
|
|
566
|
+
{ name: 'setUserIDAsync', argumentsCount: 1, key: 16 },
|
|
567
|
+
{ name: 'getAuthenticationCredentialAsync', argumentsCount: 0, key: 17 },
|
|
568
|
+
{ name: 'getAnonymousIDAsync', argumentsCount: 0, key: 18 },
|
|
577
569
|
],
|
|
578
570
|
ExponentFileSystem: [
|
|
579
|
-
{
|
|
580
|
-
{
|
|
581
|
-
{
|
|
582
|
-
{
|
|
583
|
-
{
|
|
584
|
-
{
|
|
585
|
-
{
|
|
586
|
-
{
|
|
587
|
-
{
|
|
588
|
-
{
|
|
589
|
-
{
|
|
590
|
-
{
|
|
591
|
-
{
|
|
592
|
-
{
|
|
593
|
-
{
|
|
594
|
-
{
|
|
571
|
+
{ name: 'uploadAsync', argumentsCount: 3, key: 0 },
|
|
572
|
+
{ name: 'readDirectoryAsync', argumentsCount: 2, key: 1 },
|
|
573
|
+
{ name: 'getTotalDiskCapacityAsync', argumentsCount: 0, key: 2 },
|
|
574
|
+
{ name: 'getInfoAsync', argumentsCount: 2, key: 3 },
|
|
575
|
+
{ name: 'downloadAsync', argumentsCount: 3, key: 4 },
|
|
576
|
+
{ name: 'writeAsStringAsync', argumentsCount: 3, key: 5 },
|
|
577
|
+
{ name: 'deleteAsync', argumentsCount: 2, key: 6 },
|
|
578
|
+
{ name: 'moveAsync', argumentsCount: 1, key: 7 },
|
|
579
|
+
{ name: 'getFreeDiskStorageAsync', argumentsCount: 0, key: 8 },
|
|
580
|
+
{ name: 'readAsStringAsync', argumentsCount: 2, key: 9 },
|
|
581
|
+
{ name: 'downloadResumableStartAsync', argumentsCount: 5, key: 10 },
|
|
582
|
+
{ name: 'makeDirectoryAsync', argumentsCount: 2, key: 11 },
|
|
583
|
+
{ name: 'uploadTaskStartAsync', argumentsCount: 4, key: 12 },
|
|
584
|
+
{ name: 'copyAsync', argumentsCount: 1, key: 13 },
|
|
585
|
+
{ name: 'networkTaskCancelAsync', argumentsCount: 1, key: 14 },
|
|
586
|
+
{ name: 'downloadResumablePauseAsync', argumentsCount: 1, key: 15 },
|
|
595
587
|
],
|
|
596
588
|
ExponentGLObjectManager: [
|
|
597
|
-
{
|
|
598
|
-
{
|
|
599
|
-
{
|
|
600
|
-
{
|
|
601
|
-
{
|
|
589
|
+
{ name: 'createContextAsync', argumentsCount: 0, key: 0 },
|
|
590
|
+
{ name: 'destroyContextAsync', argumentsCount: 1, key: 1 },
|
|
591
|
+
{ name: 'destroyObjectAsync', argumentsCount: 1, key: 2 },
|
|
592
|
+
{ name: 'createCameraTextureAsync', argumentsCount: 2, key: 3 },
|
|
593
|
+
{ name: 'takeSnapshotAsync', argumentsCount: 2, key: 4 },
|
|
602
594
|
],
|
|
603
595
|
ExponentGLViewManager: [],
|
|
604
596
|
ExponentGyroscope: [
|
|
605
|
-
{
|
|
606
|
-
{
|
|
597
|
+
{ name: 'isAvailableAsync', argumentsCount: 0, key: 0 },
|
|
598
|
+
{ name: 'setUpdateInterval', argumentsCount: 1, key: 1 },
|
|
607
599
|
],
|
|
608
600
|
ExponentImagePicker: [
|
|
609
601
|
{
|
|
610
|
-
|
|
602
|
+
key: 'getCameraPermissionsAsync',
|
|
603
|
+
name: 'getCameraPermissionsAsync',
|
|
604
|
+
argumentsCount: 0,
|
|
605
|
+
},
|
|
606
|
+
{
|
|
611
607
|
argumentsCount: 1,
|
|
608
|
+
name: 'requestMediaLibraryPermissionsAsync',
|
|
612
609
|
key: 'requestMediaLibraryPermissionsAsync',
|
|
613
610
|
},
|
|
611
|
+
{ name: 'launchCameraAsync', key: 'launchCameraAsync', argumentsCount: 1 },
|
|
614
612
|
{
|
|
615
613
|
name: 'requestCameraPermissionsAsync',
|
|
616
614
|
argumentsCount: 0,
|
|
617
615
|
key: 'requestCameraPermissionsAsync',
|
|
618
616
|
},
|
|
617
|
+
{ argumentsCount: 1, key: 'launchImageLibraryAsync', name: 'launchImageLibraryAsync' },
|
|
619
618
|
{
|
|
620
|
-
argumentsCount: 1,
|
|
621
619
|
name: 'getMediaLibraryPermissionsAsync',
|
|
622
620
|
key: 'getMediaLibraryPermissionsAsync',
|
|
623
|
-
|
|
624
|
-
{ key: 'launchCameraAsync', name: 'launchCameraAsync', argumentsCount: 1 },
|
|
625
|
-
{ argumentsCount: 1, name: 'launchImageLibraryAsync', key: 'launchImageLibraryAsync' },
|
|
626
|
-
{
|
|
627
|
-
argumentsCount: 0,
|
|
628
|
-
name: 'getCameraPermissionsAsync',
|
|
629
|
-
key: 'getCameraPermissionsAsync',
|
|
621
|
+
argumentsCount: 1,
|
|
630
622
|
},
|
|
631
623
|
],
|
|
632
624
|
ExponentMagnetometer: [
|
|
633
|
-
{
|
|
634
|
-
{
|
|
625
|
+
{ name: 'isAvailableAsync', argumentsCount: 0, key: 0 },
|
|
626
|
+
{ name: 'setUpdateInterval', argumentsCount: 1, key: 1 },
|
|
635
627
|
],
|
|
636
628
|
ExponentMagnetometerUncalibrated: [
|
|
637
|
-
{
|
|
638
|
-
{
|
|
629
|
+
{ name: 'isAvailableAsync', argumentsCount: 0, key: 0 },
|
|
630
|
+
{ name: 'setUpdateInterval', argumentsCount: 1, key: 1 },
|
|
639
631
|
],
|
|
640
632
|
ExponentMediaLibrary: [
|
|
641
|
-
{
|
|
642
|
-
{
|
|
643
|
-
{
|
|
644
|
-
{
|
|
645
|
-
{
|
|
646
|
-
{
|
|
647
|
-
{
|
|
648
|
-
{
|
|
649
|
-
{
|
|
650
|
-
{
|
|
651
|
-
{
|
|
652
|
-
{
|
|
653
|
-
{
|
|
654
|
-
{
|
|
655
|
-
{
|
|
633
|
+
{ name: 'createAssetAsync', argumentsCount: 1, key: 0 },
|
|
634
|
+
{ name: 'deleteAssetsAsync', argumentsCount: 1, key: 1 },
|
|
635
|
+
{ name: 'getPermissionsAsync', argumentsCount: 1, key: 2 },
|
|
636
|
+
{ name: 'removeAssetsFromAlbumAsync', argumentsCount: 2, key: 3 },
|
|
637
|
+
{ name: 'saveToLibraryAsync', argumentsCount: 1, key: 4 },
|
|
638
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 1, key: 5 },
|
|
639
|
+
{ name: 'getAlbumsAsync', argumentsCount: 1, key: 6 },
|
|
640
|
+
{ name: 'getAssetsAsync', argumentsCount: 1, key: 7 },
|
|
641
|
+
{ name: 'createAlbumAsync', argumentsCount: 2, key: 8 },
|
|
642
|
+
{ name: 'deleteAlbumsAsync', argumentsCount: 2, key: 9 },
|
|
643
|
+
{ name: 'getMomentsAsync', argumentsCount: 0, key: 10 },
|
|
644
|
+
{ name: 'presentPermissionsPickerAsync', argumentsCount: 0, key: 11 },
|
|
645
|
+
{ name: 'addAssetsToAlbumAsync', argumentsCount: 2, key: 12 },
|
|
646
|
+
{ name: 'getAssetInfoAsync', argumentsCount: 2, key: 13 },
|
|
647
|
+
{ name: 'getAlbumAsync', argumentsCount: 1, key: 14 },
|
|
656
648
|
],
|
|
657
649
|
ExponentPedometer: [
|
|
658
|
-
{
|
|
659
|
-
{
|
|
660
|
-
{
|
|
661
|
-
{
|
|
650
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 0, key: 0 },
|
|
651
|
+
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 1 },
|
|
652
|
+
{ name: 'isAvailableAsync', argumentsCount: 0, key: 2 },
|
|
653
|
+
{ name: 'getStepCountAsync', argumentsCount: 2, key: 3 },
|
|
662
654
|
],
|
|
663
655
|
ExponentPrint: [
|
|
664
|
-
{
|
|
665
|
-
{
|
|
666
|
-
{
|
|
656
|
+
{ name: 'print', argumentsCount: 1, key: 0 },
|
|
657
|
+
{ name: 'selectPrinter', argumentsCount: 0, key: 1 },
|
|
658
|
+
{ name: 'printToFileAsync', argumentsCount: 1, key: 2 },
|
|
667
659
|
],
|
|
668
660
|
ExponentSQLite: [
|
|
669
|
-
{
|
|
670
|
-
{
|
|
671
|
-
{
|
|
661
|
+
{ name: 'close', argumentsCount: 1, key: 0 },
|
|
662
|
+
{ name: 'exec', argumentsCount: 3, key: 1 },
|
|
663
|
+
{ name: 'deleteAsync', argumentsCount: 1, key: 2 },
|
|
672
664
|
],
|
|
673
665
|
ExponentSegment: [
|
|
674
|
-
{
|
|
675
|
-
{
|
|
676
|
-
{
|
|
677
|
-
{
|
|
678
|
-
{
|
|
679
|
-
{
|
|
680
|
-
{
|
|
681
|
-
{
|
|
682
|
-
{
|
|
683
|
-
{
|
|
684
|
-
{
|
|
685
|
-
{
|
|
686
|
-
{
|
|
687
|
-
{
|
|
666
|
+
{ name: 'setEnabledAsync', argumentsCount: 1, key: 0 },
|
|
667
|
+
{ name: 'screenWithProperties', argumentsCount: 3, key: 1 },
|
|
668
|
+
{ name: 'flush', argumentsCount: 0, key: 2 },
|
|
669
|
+
{ name: 'screen', argumentsCount: 1, key: 3 },
|
|
670
|
+
{ name: 'identify', argumentsCount: 1, key: 4 },
|
|
671
|
+
{ name: 'identifyWithTraits', argumentsCount: 3, key: 5 },
|
|
672
|
+
{ name: 'trackWithProperties', argumentsCount: 3, key: 6 },
|
|
673
|
+
{ name: 'groupWithTraits', argumentsCount: 3, key: 7 },
|
|
674
|
+
{ name: 'initialize', argumentsCount: 1, key: 8 },
|
|
675
|
+
{ name: 'getEnabledAsync', argumentsCount: 0, key: 9 },
|
|
676
|
+
{ name: 'alias', argumentsCount: 2, key: 10 },
|
|
677
|
+
{ name: 'group', argumentsCount: 1, key: 11 },
|
|
678
|
+
{ name: 'track', argumentsCount: 1, key: 12 },
|
|
679
|
+
{ name: 'reset', argumentsCount: 0, key: 13 },
|
|
688
680
|
],
|
|
689
681
|
ExponentSpeech: [
|
|
690
|
-
{
|
|
691
|
-
{
|
|
692
|
-
{
|
|
693
|
-
{
|
|
694
|
-
{
|
|
695
|
-
{
|
|
682
|
+
{ name: 'speak', argumentsCount: 3, key: 0 },
|
|
683
|
+
{ name: 'stop', argumentsCount: 0, key: 1 },
|
|
684
|
+
{ name: 'pause', argumentsCount: 0, key: 2 },
|
|
685
|
+
{ name: 'resume', argumentsCount: 0, key: 3 },
|
|
686
|
+
{ name: 'isSpeaking', argumentsCount: 0, key: 4 },
|
|
687
|
+
{ name: 'getVoices', argumentsCount: 0, key: 5 },
|
|
696
688
|
],
|
|
697
689
|
MediaViewManager: [],
|
|
690
|
+
NativeModulesProxy: [],
|
|
698
691
|
NotificationsServerRegistrationModule: [
|
|
699
|
-
{
|
|
700
|
-
{
|
|
701
|
-
{
|
|
692
|
+
{ name: 'getRegistrationInfoAsync', argumentsCount: 0, key: 0 },
|
|
693
|
+
{ name: 'setRegistrationInfoAsync', argumentsCount: 1, key: 1 },
|
|
694
|
+
{ name: 'getInstallationIdAsync', argumentsCount: 0, key: 2 },
|
|
702
695
|
],
|
|
703
696
|
},
|
|
704
697
|
},
|
|
@@ -706,100 +699,31 @@ module.exports = {
|
|
|
706
699
|
modulesConstants: {
|
|
707
700
|
type: 'mock',
|
|
708
701
|
mockDefinition: {
|
|
709
|
-
CTKAdSettingsManager: {
|
|
710
|
-
|
|
711
|
-
addTestDevice: { type: 'function' },
|
|
712
|
-
clearTestDevices: { type: 'function' },
|
|
713
|
-
currentDeviceHash: { type: 'string' },
|
|
714
|
-
getPermissionsAsync: { type: 'function' },
|
|
715
|
-
removeListeners: { type: 'function' },
|
|
716
|
-
requestPermissionsAsync: { type: 'function' },
|
|
717
|
-
setAdvertiserTrackingEnabled: { type: 'function' },
|
|
718
|
-
setIsChildDirected: { type: 'function' },
|
|
719
|
-
setLogLevel: { type: 'function' },
|
|
720
|
-
setMeditationService: { type: 'function' },
|
|
721
|
-
setUrlPrefix: { type: 'function' },
|
|
722
|
-
},
|
|
723
|
-
EASClient: {
|
|
724
|
-
addListener: { type: 'function' },
|
|
725
|
-
clientID: { type: 'string' },
|
|
726
|
-
removeListeners: { type: 'function' },
|
|
727
|
-
},
|
|
702
|
+
CTKAdSettingsManager: { currentDeviceHash: { type: 'string' } },
|
|
703
|
+
EASClient: { clientID: { type: 'string' } },
|
|
728
704
|
ExpoApplication: {
|
|
729
|
-
addListener: { type: 'function' },
|
|
730
705
|
applicationId: { type: 'string' },
|
|
731
706
|
applicationName: { type: 'string' },
|
|
732
|
-
getApplicationReleaseTypeAsync: { type: 'function' },
|
|
733
|
-
getInstallationTimeAsync: { type: 'function' },
|
|
734
|
-
getIosIdForVendorAsync: { type: 'function' },
|
|
735
|
-
getPushNotificationServiceEnvironmentAsync: { type: 'function' },
|
|
736
707
|
nativeApplicationVersion: { type: 'string' },
|
|
737
708
|
nativeBuildVersion: { type: 'string' },
|
|
738
|
-
removeListeners: { type: 'function' },
|
|
739
|
-
},
|
|
740
|
-
ExpoBarCodeScannerModule: {
|
|
741
|
-
BarCodeType: { type: 'object' },
|
|
742
|
-
Type: { type: 'object' },
|
|
743
|
-
addListener: { type: 'function' },
|
|
744
|
-
getPermissionsAsync: { type: 'function' },
|
|
745
|
-
removeListeners: { type: 'function' },
|
|
746
|
-
requestPermissionsAsync: { type: 'function' },
|
|
747
|
-
scanFromURLAsync: { type: 'function' },
|
|
748
|
-
},
|
|
749
|
-
ExpoBattery: {
|
|
750
|
-
addListener: { type: 'function' },
|
|
751
|
-
getBatteryLevelAsync: { type: 'function' },
|
|
752
|
-
getBatteryStateAsync: { type: 'function' },
|
|
753
|
-
isLowPowerModeEnabledAsync: { type: 'function' },
|
|
754
|
-
isSupported: { type: 'boolean', mock: false },
|
|
755
|
-
removeListeners: { type: 'function' },
|
|
756
709
|
},
|
|
710
|
+
ExpoBarCodeScannerModule: { BarCodeType: { type: 'object' }, Type: { type: 'object' } },
|
|
711
|
+
ExpoBattery: { isSupported: { type: 'boolean', mock: false } },
|
|
757
712
|
ExpoCellular: {
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
allowsVoipAsync: { type: 'function' },
|
|
761
|
-
carrier: { type: 'string' },
|
|
713
|
+
allowsVoip: { type: 'object', mock: null },
|
|
714
|
+
carrier: { type: 'object', mock: null },
|
|
762
715
|
generation: { type: 'number', mock: 0 },
|
|
763
|
-
getCarrierNameAsync: { type: 'function' },
|
|
764
|
-
getCellularGenerationAsync: { type: 'function' },
|
|
765
|
-
getIsoCountryCodeAsync: { type: 'function' },
|
|
766
|
-
getMobileCountryCodeAsync: { type: 'function' },
|
|
767
|
-
getMobileNetworkCodeAsync: { type: 'function' },
|
|
768
716
|
isoCountryCode: { type: 'object', mock: null },
|
|
769
717
|
mobileCountryCode: { type: 'object', mock: null },
|
|
770
718
|
mobileNetworkCode: { type: 'object', mock: null },
|
|
771
|
-
removeListeners: { type: 'function' },
|
|
772
|
-
},
|
|
773
|
-
ExpoClipboard: {
|
|
774
|
-
addListener: { type: 'function' },
|
|
775
|
-
getImageAsync: { type: 'function' },
|
|
776
|
-
getStringAsync: { type: 'function' },
|
|
777
|
-
getUrlAsync: { type: 'function' },
|
|
778
|
-
hasImageAsync: { type: 'function' },
|
|
779
|
-
hasStringAsync: { type: 'function' },
|
|
780
|
-
hasUrlAsync: { type: 'function' },
|
|
781
|
-
removeListeners: { type: 'function' },
|
|
782
|
-
setImageAsync: { type: 'function' },
|
|
783
|
-
setStringAsync: { type: 'function' },
|
|
784
|
-
setUrlAsync: { type: 'function' },
|
|
785
|
-
startObserving: { type: 'function' },
|
|
786
|
-
stopObserving: { type: 'function' },
|
|
787
|
-
},
|
|
788
|
-
ExpoCrypto: {
|
|
789
|
-
addListener: { type: 'function' },
|
|
790
|
-
digestString: { type: 'function' },
|
|
791
|
-
digestStringAsync: { type: 'function' },
|
|
792
|
-
removeListeners: { type: 'function' },
|
|
793
719
|
},
|
|
720
|
+
ExpoClipboard: {},
|
|
721
|
+
ExpoCrypto: {},
|
|
794
722
|
ExpoDevice: {
|
|
795
|
-
addListener: { type: 'function' },
|
|
796
723
|
brand: { type: 'string' },
|
|
797
724
|
deviceName: { type: 'string' },
|
|
798
|
-
deviceYearClass: { type: 'number', mock:
|
|
799
|
-
getDeviceTypeAsync: { type: 'function' },
|
|
800
|
-
getUptimeAsync: { type: 'function' },
|
|
725
|
+
deviceYearClass: { type: 'number', mock: 2021 },
|
|
801
726
|
isDevice: { type: 'boolean', mock: false },
|
|
802
|
-
isRootedExperimentalAsync: { type: 'function' },
|
|
803
727
|
manufacturer: { type: 'string' },
|
|
804
728
|
modelId: { type: 'string' },
|
|
805
729
|
modelName: { type: 'string' },
|
|
@@ -807,89 +731,34 @@ module.exports = {
|
|
|
807
731
|
osInternalBuildId: { type: 'string' },
|
|
808
732
|
osName: { type: 'string' },
|
|
809
733
|
osVersion: { type: 'string' },
|
|
810
|
-
removeListeners: { type: 'function' },
|
|
811
734
|
supportedCpuArchitectures: { type: 'array' },
|
|
812
|
-
totalMemory: { type: 'number', mock:
|
|
813
|
-
},
|
|
814
|
-
ExpoErrorRecovery: {
|
|
815
|
-
addListener: { type: 'function' },
|
|
816
|
-
recoveredProps: { type: 'object', mock: null },
|
|
817
|
-
removeListeners: { type: 'function' },
|
|
818
|
-
saveRecoveryProps: { type: 'function' },
|
|
735
|
+
totalMemory: { type: 'number', mock: 34359738368 },
|
|
819
736
|
},
|
|
737
|
+
ExpoErrorRecovery: { recoveredProps: { type: 'object', mock: null } },
|
|
820
738
|
ExpoFaceDetector: {
|
|
821
739
|
Classifications: { type: 'object' },
|
|
822
740
|
Landmarks: { type: 'object' },
|
|
823
741
|
Mode: { type: 'object' },
|
|
824
|
-
addListener: { type: 'function' },
|
|
825
|
-
detectFaces: { type: 'function' },
|
|
826
|
-
removeListeners: { type: 'function' },
|
|
827
|
-
},
|
|
828
|
-
ExpoFirebaseCore: {
|
|
829
|
-
DEFAULT_APP_NAME: { type: 'string' },
|
|
830
|
-
addListener: { type: 'function' },
|
|
831
|
-
removeListeners: { type: 'function' },
|
|
832
|
-
},
|
|
833
|
-
ExpoGoogleSignIn: {
|
|
834
|
-
ERRORS: { type: 'object' },
|
|
835
|
-
SCOPES: { type: 'object' },
|
|
836
|
-
TYPES: { type: 'object' },
|
|
837
|
-
addListener: { type: 'function' },
|
|
838
|
-
disconnectAsync: { type: 'function' },
|
|
839
|
-
getCurrentUserAsync: { type: 'function' },
|
|
840
|
-
getPhotoAsync: { type: 'function' },
|
|
841
|
-
getTokensAsync: { type: 'function' },
|
|
842
|
-
initAsync: { type: 'function' },
|
|
843
|
-
isConnectedAsync: { type: 'function' },
|
|
844
|
-
removeListeners: { type: 'function' },
|
|
845
|
-
signInAsync: { type: 'function' },
|
|
846
|
-
signInSilentlyAsync: { type: 'function' },
|
|
847
|
-
signOutAsync: { type: 'function' },
|
|
848
|
-
},
|
|
849
|
-
ExpoHaptics: {
|
|
850
|
-
addListener: { type: 'function' },
|
|
851
|
-
impactAsync: { type: 'function' },
|
|
852
|
-
notificationAsync: { type: 'function' },
|
|
853
|
-
removeListeners: { type: 'function' },
|
|
854
|
-
selectionAsync: { type: 'function' },
|
|
855
|
-
},
|
|
856
|
-
ExpoImageManipulator: {
|
|
857
|
-
addListener: { type: 'function' },
|
|
858
|
-
manipulateAsync: { type: 'function' },
|
|
859
|
-
removeListeners: { type: 'function' },
|
|
860
|
-
},
|
|
861
|
-
ExpoKeepAwake: {
|
|
862
|
-
activate: { type: 'function' },
|
|
863
|
-
addListener: { type: 'function' },
|
|
864
|
-
deactivate: { type: 'function' },
|
|
865
|
-
isActivated: { type: 'function' },
|
|
866
|
-
removeListeners: { type: 'function' },
|
|
867
|
-
},
|
|
868
|
-
ExpoLinearGradient: {
|
|
869
|
-
addListener: { type: 'function' },
|
|
870
|
-
removeListeners: { type: 'function' },
|
|
871
742
|
},
|
|
743
|
+
ExpoFirebaseCore: { DEFAULT_APP_NAME: { type: 'string' } },
|
|
744
|
+
ExpoHaptics: {},
|
|
745
|
+
ExpoImageManipulator: {},
|
|
746
|
+
ExpoKeepAwake: {},
|
|
747
|
+
ExpoLinearGradient: {},
|
|
872
748
|
ExpoLocalization: {
|
|
873
|
-
addListener: { type: 'function' },
|
|
874
749
|
currency: { type: 'string' },
|
|
875
750
|
decimalSeparator: { type: 'string' },
|
|
876
751
|
digitGroupingSeparator: { type: 'string' },
|
|
877
|
-
getLocalizationAsync: { type: 'function' },
|
|
878
752
|
isMetric: { type: 'boolean', mock: true },
|
|
879
753
|
isRTL: { type: 'boolean', mock: false },
|
|
880
754
|
isoCurrencyCodes: { type: 'array' },
|
|
881
755
|
locale: { type: 'string' },
|
|
882
756
|
locales: { type: 'array' },
|
|
883
757
|
region: { type: 'string' },
|
|
884
|
-
removeListeners: { type: 'function' },
|
|
885
758
|
timezone: { type: 'string' },
|
|
886
759
|
},
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
getRandomBase64String: { type: 'function' },
|
|
890
|
-
getRandomBase64StringAsync: { type: 'function' },
|
|
891
|
-
removeListeners: { type: 'function' },
|
|
892
|
-
},
|
|
760
|
+
ExpoMailComposer: {},
|
|
761
|
+
ExpoRandom: {},
|
|
893
762
|
ExpoSecureStore: {
|
|
894
763
|
AFTER_FIRST_UNLOCK: { type: 'number', mock: 0 },
|
|
895
764
|
AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY: { type: 'number', mock: 1 },
|
|
@@ -898,46 +767,15 @@ module.exports = {
|
|
|
898
767
|
WHEN_PASSCODE_SET_THIS_DEVICE_ONLY: { type: 'number', mock: 3 },
|
|
899
768
|
WHEN_UNLOCKED: { type: 'number', mock: 5 },
|
|
900
769
|
WHEN_UNLOCKED_THIS_DEVICE_ONLY: { type: 'number', mock: 6 },
|
|
901
|
-
addListener: { type: 'function' },
|
|
902
|
-
deleteValueWithKeyAsync: { type: 'function' },
|
|
903
|
-
getValueWithKeyAsync: { type: 'function' },
|
|
904
|
-
removeListeners: { type: 'function' },
|
|
905
|
-
setValueWithKeyAsync: { type: 'function' },
|
|
906
|
-
},
|
|
907
|
-
ExpoSystemUI: {
|
|
908
|
-
addListener: { type: 'function' },
|
|
909
|
-
getBackgroundColorAsync: { type: 'function' },
|
|
910
|
-
removeListeners: { type: 'function' },
|
|
911
|
-
setBackgroundColorAsync: { type: 'function' },
|
|
912
|
-
},
|
|
913
|
-
ExpoTaskManager: {
|
|
914
|
-
EVENT_NAME: { type: 'string' },
|
|
915
|
-
addListener: { type: 'function' },
|
|
916
|
-
getRegisteredTasksAsync: { type: 'function' },
|
|
917
|
-
getTaskOptionsAsync: { type: 'function' },
|
|
918
|
-
isAvailableAsync: { type: 'function' },
|
|
919
|
-
isTaskRegisteredAsync: { type: 'function' },
|
|
920
|
-
notifyTaskFinishedAsync: { type: 'function' },
|
|
921
|
-
removeListeners: { type: 'function' },
|
|
922
|
-
unregisterAllTasksAsync: { type: 'function' },
|
|
923
|
-
unregisterTaskAsync: { type: 'function' },
|
|
924
|
-
},
|
|
925
|
-
ExpoTrackingTransparency: {
|
|
926
|
-
addListener: { type: 'function' },
|
|
927
|
-
getPermissionsAsync: { type: 'function' },
|
|
928
|
-
removeListeners: { type: 'function' },
|
|
929
|
-
requestPermissionsAsync: { type: 'function' },
|
|
930
770
|
},
|
|
771
|
+
ExpoSystemUI: {},
|
|
772
|
+
ExpoTaskManager: { EVENT_NAME: { type: 'string' } },
|
|
773
|
+
ExpoTrackingTransparency: {},
|
|
931
774
|
ExpoUpdates: {
|
|
932
|
-
addListener: { type: 'function' },
|
|
933
775
|
channel: { type: 'string' },
|
|
934
|
-
checkForUpdateAsync: { type: 'function' },
|
|
935
|
-
fetchUpdateAsync: { type: 'function' },
|
|
936
776
|
isEnabled: { type: 'boolean', mock: false },
|
|
937
777
|
isMissingRuntimeVersion: { type: 'boolean', mock: false },
|
|
938
778
|
releaseChannel: { type: 'string' },
|
|
939
|
-
reload: { type: 'function' },
|
|
940
|
-
removeListeners: { type: 'function' },
|
|
941
779
|
runtimeVersion: { type: 'string' },
|
|
942
780
|
},
|
|
943
781
|
ExpoVideoManager: {
|
|
@@ -945,50 +783,9 @@ module.exports = {
|
|
|
945
783
|
ScaleAspectFit: { type: 'string' },
|
|
946
784
|
ScaleNone: { type: 'string' },
|
|
947
785
|
ScaleToFill: { type: 'string' },
|
|
948
|
-
addListener: { type: 'function' },
|
|
949
|
-
removeListeners: { type: 'function' },
|
|
950
|
-
setFullscreen: { type: 'function' },
|
|
951
|
-
},
|
|
952
|
-
ExpoWebBrowser: {
|
|
953
|
-
addListener: { type: 'function' },
|
|
954
|
-
coolDownAsync: { type: 'function' },
|
|
955
|
-
dismissAuthSession: { type: 'function' },
|
|
956
|
-
dismissBrowser: { type: 'function' },
|
|
957
|
-
getCustomTabsSupportingBrowsers: { type: 'function' },
|
|
958
|
-
mayInitWithUrlAsync: { type: 'function' },
|
|
959
|
-
openAuthSessionAsync: { type: 'function' },
|
|
960
|
-
openBrowserAsync: { type: 'function' },
|
|
961
|
-
removeListeners: { type: 'function' },
|
|
962
|
-
warmUpAsync: { type: 'function' },
|
|
963
|
-
},
|
|
964
|
-
ExponentAV: {
|
|
965
|
-
Qualities: { type: 'object' },
|
|
966
|
-
addListener: { type: 'function' },
|
|
967
|
-
getAudioRecordingStatus: { type: 'function' },
|
|
968
|
-
getAvailableInputs: { type: 'function' },
|
|
969
|
-
getCurrentInput: { type: 'function' },
|
|
970
|
-
getPermissionsAsync: { type: 'function' },
|
|
971
|
-
getStatusForSound: { type: 'function' },
|
|
972
|
-
getStatusForVideo: { type: 'function' },
|
|
973
|
-
loadForSound: { type: 'function' },
|
|
974
|
-
loadForVideo: { type: 'function' },
|
|
975
|
-
pauseAudioRecording: { type: 'function' },
|
|
976
|
-
prepareAudioRecorder: { type: 'function' },
|
|
977
|
-
removeListeners: { type: 'function' },
|
|
978
|
-
replaySound: { type: 'function' },
|
|
979
|
-
replayVideo: { type: 'function' },
|
|
980
|
-
requestPermissionsAsync: { type: 'function' },
|
|
981
|
-
setAudioIsEnabled: { type: 'function' },
|
|
982
|
-
setAudioMode: { type: 'function' },
|
|
983
|
-
setInput: { type: 'function' },
|
|
984
|
-
setStatusForSound: { type: 'function' },
|
|
985
|
-
setStatusForVideo: { type: 'function' },
|
|
986
|
-
startAudioRecording: { type: 'function' },
|
|
987
|
-
stopAudioRecording: { type: 'function' },
|
|
988
|
-
unloadAudioRecorder: { type: 'function' },
|
|
989
|
-
unloadForSound: { type: 'function' },
|
|
990
|
-
unloadForVideo: { type: 'function' },
|
|
991
786
|
},
|
|
787
|
+
ExpoWebBrowser: {},
|
|
788
|
+
ExponentAV: { Qualities: { type: 'object' } },
|
|
992
789
|
ExponentCameraManager: {
|
|
993
790
|
AutoFocus: { type: 'object' },
|
|
994
791
|
FlashMode: { type: 'object' },
|
|
@@ -997,24 +794,8 @@ module.exports = {
|
|
|
997
794
|
VideoQuality: { type: 'object' },
|
|
998
795
|
VideoStabilization: { type: 'object' },
|
|
999
796
|
WhiteBalance: { type: 'object' },
|
|
1000
|
-
addListener: { type: 'function' },
|
|
1001
|
-
getAvailablePictureSizes: { type: 'function' },
|
|
1002
|
-
getAvailableVideoCodecsAsync: { type: 'function' },
|
|
1003
|
-
getCameraPermissionsAsync: { type: 'function' },
|
|
1004
|
-
getMicrophonePermissionsAsync: { type: 'function' },
|
|
1005
|
-
getPermissionsAsync: { type: 'function' },
|
|
1006
|
-
pausePreview: { type: 'function' },
|
|
1007
|
-
record: { type: 'function' },
|
|
1008
|
-
removeListeners: { type: 'function' },
|
|
1009
|
-
requestCameraPermissionsAsync: { type: 'function' },
|
|
1010
|
-
requestMicrophonePermissionsAsync: { type: 'function' },
|
|
1011
|
-
requestPermissionsAsync: { type: 'function' },
|
|
1012
|
-
resumePreview: { type: 'function' },
|
|
1013
|
-
stopRecording: { type: 'function' },
|
|
1014
|
-
takePicture: { type: 'function' },
|
|
1015
797
|
},
|
|
1016
798
|
ExponentConstants: {
|
|
1017
|
-
addListener: { type: 'function' },
|
|
1018
799
|
appOwnership: { type: 'string' },
|
|
1019
800
|
debugMode: { type: 'boolean', mock: true },
|
|
1020
801
|
deviceName: { type: 'string' },
|
|
@@ -1023,7 +804,6 @@ module.exports = {
|
|
|
1023
804
|
experienceUrl: { type: 'string' },
|
|
1024
805
|
expoRuntimeVersion: { type: 'string' },
|
|
1025
806
|
expoVersion: { type: 'string' },
|
|
1026
|
-
getWebViewUserAgentAsync: { type: 'function' },
|
|
1027
807
|
installationId: { type: 'string' },
|
|
1028
808
|
isDetached: { type: 'boolean', mock: false },
|
|
1029
809
|
isDevice: { type: 'boolean', mock: true },
|
|
@@ -1033,110 +813,33 @@ module.exports = {
|
|
|
1033
813
|
nativeAppVersion: { type: 'string' },
|
|
1034
814
|
nativeBuildVersion: { type: 'string' },
|
|
1035
815
|
platform: { type: 'object' },
|
|
1036
|
-
removeListeners: { type: 'function' },
|
|
1037
816
|
sessionId: { type: 'string' },
|
|
1038
817
|
statusBarHeight: { type: 'number', mock: 20 },
|
|
1039
818
|
supportedExpoSdks: { type: 'array' },
|
|
1040
819
|
systemFonts: { type: 'array' },
|
|
1041
820
|
},
|
|
1042
|
-
ExponentDeviceMotion: {
|
|
1043
|
-
Gravity: { type: 'number', mock: 9.8100004196167 },
|
|
1044
|
-
addListener: { type: 'function' },
|
|
1045
|
-
isAvailableAsync: { type: 'function' },
|
|
1046
|
-
removeListeners: { type: 'function' },
|
|
1047
|
-
setUpdateInterval: { type: 'function' },
|
|
1048
|
-
},
|
|
821
|
+
ExponentDeviceMotion: { Gravity: { type: 'number', mock: 9.8100004196167 } },
|
|
1049
822
|
ExponentFileSystem: {
|
|
1050
|
-
addListener: { type: 'function' },
|
|
1051
823
|
bundleDirectory: { type: 'object', mock: null },
|
|
1052
824
|
bundledAssets: { type: 'object', mock: null },
|
|
1053
825
|
cacheDirectory: { type: 'string' },
|
|
1054
|
-
copyAsync: { type: 'function' },
|
|
1055
|
-
deleteAsync: { type: 'function' },
|
|
1056
826
|
documentDirectory: { type: 'string' },
|
|
1057
|
-
downloadAsync: { type: 'function' },
|
|
1058
|
-
downloadResumablePauseAsync: { type: 'function' },
|
|
1059
|
-
downloadResumableStartAsync: { type: 'function' },
|
|
1060
|
-
getFreeDiskStorageAsync: { type: 'function' },
|
|
1061
|
-
getInfoAsync: { type: 'function' },
|
|
1062
|
-
getTotalDiskCapacityAsync: { type: 'function' },
|
|
1063
|
-
makeDirectoryAsync: { type: 'function' },
|
|
1064
|
-
moveAsync: { type: 'function' },
|
|
1065
|
-
networkTaskCancelAsync: { type: 'function' },
|
|
1066
|
-
readAsStringAsync: { type: 'function' },
|
|
1067
|
-
readDirectoryAsync: { type: 'function' },
|
|
1068
|
-
removeListeners: { type: 'function' },
|
|
1069
|
-
uploadAsync: { type: 'function' },
|
|
1070
|
-
uploadTaskStartAsync: { type: 'function' },
|
|
1071
|
-
writeAsStringAsync: { type: 'function' },
|
|
1072
|
-
},
|
|
1073
|
-
ExponentImagePicker: {
|
|
1074
|
-
addListener: { type: 'function' },
|
|
1075
|
-
getCameraPermissionsAsync: { type: 'function' },
|
|
1076
|
-
getMediaLibraryPermissionsAsync: { type: 'function' },
|
|
1077
|
-
launchCameraAsync: { type: 'function' },
|
|
1078
|
-
launchImageLibraryAsync: { type: 'function' },
|
|
1079
|
-
removeListeners: { type: 'function' },
|
|
1080
|
-
requestCameraPermissionsAsync: { type: 'function' },
|
|
1081
|
-
requestMediaLibraryPermissionsAsync: { type: 'function' },
|
|
1082
827
|
},
|
|
828
|
+
ExponentImagePicker: {},
|
|
1083
829
|
ExponentMediaLibrary: {
|
|
1084
830
|
CHANGE_LISTENER_NAME: { type: 'string' },
|
|
1085
831
|
MediaType: { type: 'object' },
|
|
1086
832
|
SortBy: { type: 'object' },
|
|
1087
|
-
addAssetsToAlbumAsync: { type: 'function' },
|
|
1088
|
-
addListener: { type: 'function' },
|
|
1089
|
-
createAlbumAsync: { type: 'function' },
|
|
1090
|
-
createAssetAsync: { type: 'function' },
|
|
1091
|
-
deleteAlbumsAsync: { type: 'function' },
|
|
1092
|
-
deleteAssetsAsync: { type: 'function' },
|
|
1093
|
-
getAlbumAsync: { type: 'function' },
|
|
1094
|
-
getAlbumsAsync: { type: 'function' },
|
|
1095
|
-
getAssetInfoAsync: { type: 'function' },
|
|
1096
|
-
getAssetsAsync: { type: 'function' },
|
|
1097
|
-
getMomentsAsync: { type: 'function' },
|
|
1098
|
-
getPermissionsAsync: { type: 'function' },
|
|
1099
|
-
presentPermissionsPickerAsync: { type: 'function' },
|
|
1100
|
-
removeAssetsFromAlbumAsync: { type: 'function' },
|
|
1101
|
-
removeListeners: { type: 'function' },
|
|
1102
|
-
requestPermissionsAsync: { type: 'function' },
|
|
1103
|
-
saveToLibraryAsync: { type: 'function' },
|
|
1104
|
-
},
|
|
1105
|
-
ExponentPrint: {
|
|
1106
|
-
Orientation: { type: 'object' },
|
|
1107
|
-
addListener: { type: 'function' },
|
|
1108
|
-
print: { type: 'function' },
|
|
1109
|
-
printToFileAsync: { type: 'function' },
|
|
1110
|
-
removeListeners: { type: 'function' },
|
|
1111
|
-
selectPrinter: { type: 'function' },
|
|
1112
833
|
},
|
|
834
|
+
ExponentPrint: { Orientation: { type: 'object' } },
|
|
1113
835
|
},
|
|
1114
836
|
},
|
|
1115
837
|
viewManagersMetadata: {
|
|
1116
838
|
type: 'object',
|
|
1117
839
|
mock: {
|
|
1118
|
-
|
|
1119
|
-
ExpoVideoView: { propsNames: ['status', 'resizeMode', 'useNativeControls', 'source'] },
|
|
1120
|
-
ExpoBlurView: { propsNames: ['intensity', 'tint'] },
|
|
1121
|
-
ExpoAdsAdMobBannerView: {
|
|
840
|
+
ExpoAdsPublisherBannerView: {
|
|
1122
841
|
propsNames: ['additionalRequestParams', 'bannerSize', 'adUnitID'],
|
|
1123
842
|
},
|
|
1124
|
-
AdOptionsView: { propsNames: ['nativeAdViewTag', 'iconColor'] },
|
|
1125
|
-
ExpoAppleAuthenticationButtonSignUpWhite: { propsNames: ['cornerRadius'] },
|
|
1126
|
-
ExpoAppleAuthenticationButtonSignInWhite: { propsNames: ['cornerRadius'] },
|
|
1127
|
-
ExpoLinearGradient: { propsNames: ['colors', 'startPoint', 'endPoint', 'locations'] },
|
|
1128
|
-
ExpoAppleAuthenticationButtonContinueWhiteOutline: { propsNames: ['cornerRadius'] },
|
|
1129
|
-
ExpoBarCodeScannerView: { propsNames: ['type', 'barCodeTypes'] },
|
|
1130
|
-
ExpoAppleAuthenticationButtonSignInWhiteOutline: { propsNames: ['cornerRadius'] },
|
|
1131
|
-
ExponentGLView: { propsNames: ['msaaSamples'] },
|
|
1132
|
-
ExpoAppleAuthenticationButtonContinueWhite: { propsNames: ['cornerRadius'] },
|
|
1133
|
-
CTKBannerView: { propsNames: ['placementId', 'size'] },
|
|
1134
|
-
MediaView: { propsNames: [] },
|
|
1135
|
-
ExpoAppleAuthenticationButtonSignUpWhiteOutline: { propsNames: ['cornerRadius'] },
|
|
1136
|
-
ExpoAppleAuthenticationButtonContinueBlack: { propsNames: ['cornerRadius'] },
|
|
1137
|
-
ExpoAppleAuthenticationButtonSignInBlack: { propsNames: ['cornerRadius'] },
|
|
1138
|
-
AdIconView: { propsNames: [] },
|
|
1139
|
-
CTKNativeAd: { propsNames: ['adsManager'] },
|
|
1140
843
|
ExponentCamera: {
|
|
1141
844
|
propsNames: [
|
|
1142
845
|
'faceDetectorEnabled',
|
|
@@ -1152,9 +855,28 @@ module.exports = {
|
|
|
1152
855
|
'barCodeScannerSettings',
|
|
1153
856
|
],
|
|
1154
857
|
},
|
|
1155
|
-
|
|
858
|
+
CTKNativeAd: { propsNames: ['adsManager'] },
|
|
859
|
+
AdIconView: { propsNames: [] },
|
|
860
|
+
CTKBannerView: { propsNames: ['placementId', 'size'] },
|
|
861
|
+
ExpoAppleAuthenticationButtonContinueWhite: { propsNames: ['cornerRadius'] },
|
|
862
|
+
ExpoAppleAuthenticationButtonSignInBlack: { propsNames: ['cornerRadius'] },
|
|
863
|
+
MediaView: { propsNames: [] },
|
|
864
|
+
ExpoAppleAuthenticationButtonSignUpWhiteOutline: { propsNames: ['cornerRadius'] },
|
|
865
|
+
ExpoAppleAuthenticationButtonContinueBlack: { propsNames: ['cornerRadius'] },
|
|
866
|
+
ExponentGLView: { propsNames: ['msaaSamples'] },
|
|
867
|
+
ExpoAppleAuthenticationButtonSignInWhiteOutline: { propsNames: ['cornerRadius'] },
|
|
868
|
+
ExpoBarCodeScannerView: { propsNames: ['type', 'barCodeTypes'] },
|
|
869
|
+
ExpoAppleAuthenticationButtonContinueWhiteOutline: { propsNames: ['cornerRadius'] },
|
|
870
|
+
ExpoLinearGradient: { propsNames: ['colors', 'startPoint', 'endPoint', 'locations'] },
|
|
871
|
+
ExpoAppleAuthenticationButtonSignInWhite: { propsNames: ['cornerRadius'] },
|
|
872
|
+
ExpoAppleAuthenticationButtonSignUpWhite: { propsNames: ['cornerRadius'] },
|
|
873
|
+
AdOptionsView: { propsNames: ['nativeAdViewTag', 'iconColor'] },
|
|
874
|
+
ExpoAdsAdMobBannerView: {
|
|
1156
875
|
propsNames: ['additionalRequestParams', 'bannerSize', 'adUnitID'],
|
|
1157
876
|
},
|
|
877
|
+
ExpoBlurView: { propsNames: ['intensity', 'tint'] },
|
|
878
|
+
ExpoVideoView: { propsNames: ['status', 'resizeMode', 'useNativeControls', 'source'] },
|
|
879
|
+
ExpoAppleAuthenticationButtonSignUpBlack: { propsNames: ['cornerRadius'] },
|
|
1158
880
|
},
|
|
1159
881
|
},
|
|
1160
882
|
},
|
|
@@ -1252,6 +974,7 @@ module.exports = {
|
|
|
1252
974
|
injectJavaScript: { type: 'function', functionType: 'async' },
|
|
1253
975
|
postMessage: { type: 'function', functionType: 'async' },
|
|
1254
976
|
reload: { type: 'function', functionType: 'async' },
|
|
977
|
+
requestFocus: { type: 'function', functionType: 'async' },
|
|
1255
978
|
startLoadWithResult: { type: 'function', functionType: 'async' },
|
|
1256
979
|
stopLoading: { type: 'function', functionType: 'async' },
|
|
1257
980
|
},
|
|
@@ -1267,6 +990,7 @@ module.exports = {
|
|
|
1267
990
|
attachGestureHandler: { type: 'function', functionType: 'async' },
|
|
1268
991
|
createGestureHandler: { type: 'function', functionType: 'async' },
|
|
1269
992
|
dropGestureHandler: { type: 'function', functionType: 'async' },
|
|
993
|
+
flushOperations: { type: 'function', functionType: 'async' },
|
|
1270
994
|
getConstants: { type: 'function' },
|
|
1271
995
|
handleClearJSResponder: { type: 'function', functionType: 'async' },
|
|
1272
996
|
handleSetJSResponder: { type: 'function', functionType: 'async' },
|
|
@@ -1455,6 +1179,10 @@ module.exports = {
|
|
|
1455
1179
|
configure: { type: 'function', functionType: 'promise' },
|
|
1456
1180
|
getConstants: { type: 'function' },
|
|
1457
1181
|
},
|
|
1182
|
+
RNSkia: {
|
|
1183
|
+
getConstants: { type: 'function' },
|
|
1184
|
+
install: { type: 'function', functionType: 'sync' },
|
|
1185
|
+
},
|
|
1458
1186
|
RNViewShot: {
|
|
1459
1187
|
captureRef: { type: 'function', functionType: 'promise' },
|
|
1460
1188
|
captureScreen: { type: 'function', functionType: 'promise' },
|