/
expoModules.js
1234 lines (1234 loc) · 60.1 KB
/
expoModules.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
module.exports = {
AIRGoogleMapCalloutManager: {},
AIRGoogleMapCalloutSubviewManager: {},
AIRGoogleMapCircleManager: {},
AIRGoogleMapHeatmapManager: {},
AIRGoogleMapManager: {
getConstants: { type: 'function' },
legalNotice: { type: 'string' },
animateCamera: { type: 'function', functionType: 'async' },
animateToBearing: { type: 'function', functionType: 'async' },
animateToCoordinate: { type: 'function', functionType: 'async' },
animateToNavigation: { type: 'function', functionType: 'async' },
animateToRegion: { type: 'function', functionType: 'async' },
animateToViewingAngle: { type: 'function', functionType: 'async' },
coordinateForPoint: { type: 'function', functionType: 'promise' },
fitToCoordinates: { type: 'function', functionType: 'async' },
fitToElements: { type: 'function', functionType: 'async' },
fitToSuppliedMarkers: { type: 'function', functionType: 'async' },
getCamera: { type: 'function', functionType: 'promise' },
getMapBoundaries: { type: 'function', functionType: 'promise' },
getMarkersFrames: { type: 'function', functionType: 'promise' },
pointForCoordinate: { type: 'function', functionType: 'promise' },
setCamera: { type: 'function', functionType: 'async' },
setIndoorActiveLevelIndex: { type: 'function', functionType: 'async' },
setMapBoundaries: { type: 'function', functionType: 'async' },
takeSnapshot: { type: 'function', functionType: 'async' },
},
AIRGoogleMapMarkerManager: {
getConstants: { type: 'function' },
hideCallout: { type: 'function', functionType: 'async' },
redraw: { type: 'function', functionType: 'async' },
redrawCallout: { type: 'function', functionType: 'async' },
showCallout: { type: 'function', functionType: 'async' },
},
AIRGoogleMapOverlayManager: {},
AIRGoogleMapPolygonManager: {},
AIRGoogleMapPolylineManager: {},
AIRGoogleMapUrlTileManager: {},
AIRGoogleMapWMSTileManager: {},
AIRMapCalloutManager: {},
AIRMapCalloutSubviewManager: {},
AIRMapCircleManager: {},
AIRMapLocalTileManager: {},
AIRMapManager: {
getConstants: { type: 'function' },
animateCamera: { type: 'function', functionType: 'async' },
animateToBearing: { type: 'function', functionType: 'async' },
animateToCoordinate: { type: 'function', functionType: 'async' },
animateToNavigation: { type: 'function', functionType: 'async' },
animateToRegion: { type: 'function', functionType: 'async' },
animateToViewingAngle: { type: 'function', functionType: 'async' },
coordinateForPoint: { type: 'function', functionType: 'promise' },
fitToCoordinates: { type: 'function', functionType: 'async' },
fitToElements: { type: 'function', functionType: 'async' },
fitToSuppliedMarkers: { type: 'function', functionType: 'async' },
getCamera: { type: 'function', functionType: 'promise' },
getMapBoundaries: { type: 'function', functionType: 'promise' },
getMarkersFrames: { type: 'function', functionType: 'promise' },
pointForCoordinate: { type: 'function', functionType: 'promise' },
setCamera: { type: 'function', functionType: 'async' },
takeSnapshot: { type: 'function', functionType: 'async' },
},
AIRMapMarkerManager: {
getConstants: { type: 'function' },
hideCallout: { type: 'function', functionType: 'async' },
redrawCallout: { type: 'function', functionType: 'async' },
showCallout: { type: 'function', functionType: 'async' },
},
AIRMapOverlayManager: {},
AIRMapPolygonManager: {},
AIRMapPolylineManager: {},
AIRMapUrlTileManager: {},
AIRMapWMSTileManager: {},
ExpoNativeModuleIntrospection: {
getConstants: { type: 'function' },
getNativeModuleNamesAsync: { type: 'function', functionType: 'promise' },
introspectNativeModuleAsync: { type: 'function', functionType: 'promise' },
},
ExponentAR: {
ARFaceTrackingConfiguration: { type: 'boolean', mock: false },
ARKitVersion: { type: 'string' },
AROrientationTrackingConfiguration: { type: 'boolean', mock: false },
ARWorldTrackingConfiguration: { type: 'boolean', mock: false },
OrientationTrackingVideoFormats: { type: 'array' },
WorldTrackingVideoFormats: { type: 'array' },
anchorsDidUpdate: { type: 'string' },
cameraDidChangeTrackingState: { type: 'string' },
didFailWithError: { type: 'string' },
frameDidUpdate: { type: 'string' },
getConstants: { type: 'function' },
isSupported: { type: 'boolean', mock: true },
sessionInterruptionEnded: { type: 'string' },
sessionWasInterrupted: { type: 'string' },
addListener: { type: 'function', functionType: 'async' },
getARMatrices: { type: 'function', functionType: 'sync' },
getAutoFocusEnabled: { type: 'function', functionType: 'sync' },
getCameraTexture: { type: 'function', functionType: 'sync' },
getCurrentFrame: { type: 'function', functionType: 'sync' },
getLightEstimationEnabled: { type: 'function', functionType: 'sync' },
getPlaneDetection: { type: 'function', functionType: 'sync' },
getProvidesAudioData: { type: 'function', functionType: 'sync' },
getVideoFormat: { type: 'function', functionType: 'sync' },
getWorldAlignment: { type: 'function', functionType: 'sync' },
pause: { type: 'function', functionType: 'async' },
performHitTest: { type: 'function', functionType: 'sync' },
removeListeners: { type: 'function', functionType: 'async' },
reset: { type: 'function', functionType: 'async' },
resume: { type: 'function', functionType: 'async' },
setAutoFocusEnabled: { type: 'function', functionType: 'async' },
setConfigurationAsync: { type: 'function', functionType: 'promise' },
setDetectionImagesAsync: { type: 'function', functionType: 'promise' },
setLightEstimationEnabled: { type: 'function', functionType: 'async' },
setPlaneDetection: { type: 'function', functionType: 'async' },
setProvidesAudioData: { type: 'function', functionType: 'async' },
setShouldAttemptRelocalization: { type: 'function', functionType: 'async' },
setWorldAlignment: { type: 'function', functionType: 'async' },
setWorldOriginAsync: { type: 'function', functionType: 'promise' },
startAsync: { type: 'function', functionType: 'promise' },
stopAsync: { type: 'function', functionType: 'promise' },
},
ExponentNotifications: {
getConstants: { type: 'function' },
cancelAllScheduledNotificationsAsync: { type: 'function', functionType: 'promise' },
cancelScheduledNotificationAsync: { type: 'function', functionType: 'promise' },
createCategoryAsync: { type: 'function', functionType: 'promise' },
deleteCategoryAsync: { type: 'function', functionType: 'promise' },
getBadgeNumberAsync: { type: 'function', functionType: 'promise' },
getDevicePushTokenAsync: { type: 'function', functionType: 'promise' },
getExponentPushTokenAsync: { type: 'function', functionType: 'promise' },
legacyScheduleLocalRepeatingNotification: { type: 'function', functionType: 'promise' },
presentLocalNotification: { type: 'function', functionType: 'promise' },
scheduleLocalNotification: { type: 'function', functionType: 'promise' },
scheduleNotificationWithCalendar: { type: 'function', functionType: 'promise' },
scheduleNotificationWithTimer: { type: 'function', functionType: 'promise' },
setBadgeNumberAsync: { type: 'function', functionType: 'promise' },
},
ExponentScopedModuleRegistry: {},
ExponentSplashScreen: {
getConstants: { type: 'function' },
hide: { type: 'function', functionType: 'async' },
preventAutoHide: { type: 'function', functionType: 'async' },
},
ExponentTest: {
getConstants: { type: 'function' },
isInCI: { type: 'number', mock: 0 },
action: { type: 'function', functionType: 'promise' },
completed: { type: 'function', functionType: 'async' },
log: { type: 'function', functionType: 'async' },
shouldSkipTestsRequiringPermissionsAsync: { type: 'function', functionType: 'promise' },
},
ExponentUpdates: {
getConstants: { type: 'function' },
checkForUpdateAsync: { type: 'function', functionType: 'promise' },
fetchUpdateAsync: { type: 'function', functionType: 'promise' },
reload: { type: 'function', functionType: 'async' },
reloadFromCache: { type: 'function', functionType: 'async' },
},
ExponentUtil: {},
LottieAnimationView: {
VERSION: { type: 'number', mock: 1 },
getConstants: { type: 'function' },
play: { type: 'function', functionType: 'async' },
reset: { type: 'function', functionType: 'async' },
},
NativeUnimoduleProxy: {
exportedMethods: {
type: 'object',
mock: {
AdIconViewManager: [],
AdOptionsViewManager: [],
CTKAdSettingsManager: [
{ key: 0, argumentsCount: 1, name: 'addTestDevice' },
{ key: 1, argumentsCount: 1, name: 'setIsChildDirected' },
{ key: 2, argumentsCount: 1, name: 'setMeditationService' },
{ key: 3, argumentsCount: 1, name: 'setUrlPrefix' },
{ key: 4, argumentsCount: 1, name: 'setLogLevel' },
{ key: 5, argumentsCount: 0, name: 'clearTestDevices' },
],
CTKBannerViewManager: [],
CTKInterstitialAdManager: [{ key: 0, argumentsCount: 1, name: 'showAd' }],
CTKNativeAdManager: [
{ key: 0, argumentsCount: 1, name: 'disableAutoRefresh' },
{ key: 1, argumentsCount: 2, name: 'setMediaCachePolicy' },
{ key: 2, argumentsCount: 4, name: 'registerViewsForInteraction' },
{ key: 3, argumentsCount: 2, name: 'init' },
],
ExpoAdsAdMob: [{ key: 0, argumentsCount: 1, name: 'setTestDeviceIDAsync' }],
ExpoAdsAdMobBannerView: [],
ExpoAdsAdMobInterstitialManager: [
{ key: 0, argumentsCount: 1, name: 'requestAd' },
{ key: 1, argumentsCount: 0, name: 'showAd' },
{ key: 2, argumentsCount: 0, name: 'dismissAd' },
{ key: 3, argumentsCount: 1, name: 'setAdUnitID' },
{ key: 4, argumentsCount: 0, name: 'getIsReady' },
],
ExpoAdsAdMobRewardedVideoAdManager: [
{ key: 0, argumentsCount: 1, name: 'requestAd' },
{ key: 1, argumentsCount: 0, name: 'showAd' },
{ key: 2, argumentsCount: 0, name: 'dismissAd' },
{ key: 3, argumentsCount: 1, name: 'setAdUnitID' },
{ key: 4, argumentsCount: 0, name: 'getIsReady' },
],
ExpoAmplitude: [
{ key: 0, argumentsCount: 1, name: 'setUserId' },
{ key: 1, argumentsCount: 1, name: 'logEvent' },
{ key: 2, argumentsCount: 2, name: 'logEventWithProperties' },
{ key: 3, argumentsCount: 1, name: 'initialize' },
{ key: 4, argumentsCount: 1, name: 'setTrackingOptions' },
{ key: 5, argumentsCount: 1, name: 'setUserProperties' },
{ key: 6, argumentsCount: 2, name: 'setGroup' },
{ key: 7, argumentsCount: 0, name: 'clearUserProperties' },
],
ExpoAppAuth: [{ key: 0, argumentsCount: 1, name: 'executeAsync' }],
ExpoAppleAuthentication: [
{ key: 0, argumentsCount: 0, name: 'isAvailableAsync' },
{ key: 1, argumentsCount: 1, name: 'requestAsync' },
{ key: 2, argumentsCount: 1, name: 'getCredentialStateAsync' },
],
ExpoAppleAuthenticationButtonContinueBlack: [],
ExpoAppleAuthenticationButtonContinueWhite: [],
ExpoAppleAuthenticationButtonContinueWhiteOutline: [],
ExpoAppleAuthenticationButtonSignInBlack: [],
ExpoAppleAuthenticationButtonSignInWhite: [],
ExpoAppleAuthenticationButtonSignInWhiteOutline: [],
ExpoApplication: [
{ key: 0, argumentsCount: 0, name: 'getIosIdForVendorAsync' },
{ key: 1, argumentsCount: 0, name: 'getPushNotificationServiceEnvironmentAsync' },
{ key: 2, argumentsCount: 0, name: 'getApplicationReleaseTypeAsync' },
{ key: 3, argumentsCount: 0, name: 'getInstallationTimeAsync' },
],
ExpoBackgroundFetch: [
{ key: 0, argumentsCount: 1, name: 'unregisterTaskAsync' },
{ key: 1, argumentsCount: 1, name: 'setMinimumIntervalAsync' },
{ key: 2, argumentsCount: 0, name: 'getStatusAsync' },
{ key: 3, argumentsCount: 2, name: 'registerTaskAsync' },
],
ExpoBarCodeScannerModule: [
{ key: 0, argumentsCount: 0, name: 'getPermissionsAsync' },
{ key: 1, argumentsCount: 2, name: 'scanFromURLAsync' },
{ key: 2, argumentsCount: 0, name: 'requestPermissionsAsync' },
],
ExpoBarCodeScannerView: [],
ExpoBarometer: [
{ key: 0, argumentsCount: 0, name: 'isAvailableAsync' },
{ key: 1, argumentsCount: 1, name: 'setUpdateInterval' },
],
ExpoBattery: [
{ key: 0, argumentsCount: 0, name: 'getBatteryLevelAsync' },
{ key: 1, argumentsCount: 0, name: 'isLowPowerModeEnabledAsync' },
{ key: 2, argumentsCount: 0, name: 'getBatteryStateAsync' },
],
ExpoBlurViewManager: [{ key: 0, argumentsCount: 2, name: 'updateProps' }],
ExpoBrightness: [
{ key: 0, argumentsCount: 0, name: 'getPermissionsAsync' },
{ key: 1, argumentsCount: 0, name: 'getSystemBrightnessAsync' },
{ key: 2, argumentsCount: 0, name: 'setSystemBrightnessAsync' },
{ key: 3, argumentsCount: 0, name: 'useSystemBrightnessAsync' },
{ key: 4, argumentsCount: 0, name: 'isUsingSystemBrightnessAsync' },
{ key: 5, argumentsCount: 0, name: 'getSystemBrightnessModeAsync' },
{ key: 6, argumentsCount: 0, name: 'requestPermissionsAsync' },
{ key: 7, argumentsCount: 1, name: 'setBrightnessAsync' },
{ key: 8, argumentsCount: 0, name: 'getBrightnessAsync' },
{ key: 9, argumentsCount: 0, name: 'setSystemBrightnessModeAsync' },
],
ExpoCalendar: [
{ key: 0, argumentsCount: 1, name: 'deleteReminderAsync' },
{ key: 1, argumentsCount: 1, name: 'deleteCalendarAsync' },
{ key: 2, argumentsCount: 0, name: 'getCalendarPermissionsAsync' },
{ key: 3, argumentsCount: 2, name: 'deleteEventAsync' },
{ key: 4, argumentsCount: 0, name: 'requestRemindersPermissionsAsync' },
{ key: 5, argumentsCount: 3, name: 'getEventsAsync' },
{ key: 6, argumentsCount: 0, name: 'getSourcesAsync' },
{ key: 7, argumentsCount: 1, name: 'getReminderByIdAsync' },
{ key: 8, argumentsCount: 0, name: 'requestCalendarPermissionsAsync' },
{ key: 9, argumentsCount: 1, name: 'getAttendeesForEventAsync' },
{ key: 10, argumentsCount: 4, name: 'getRemindersAsync' },
{ key: 11, argumentsCount: 0, name: 'getRemindersPermissionsAsync' },
{ key: 12, argumentsCount: 2, name: 'saveEventAsync' },
{ key: 13, argumentsCount: 1, name: 'getCalendarsAsync' },
{ key: 14, argumentsCount: 2, name: 'getEventByIdAsync' },
{ key: 15, argumentsCount: 0, name: 'getDefaultCalendarAsync' },
{ key: 16, argumentsCount: 1, name: 'saveCalendarAsync' },
{ key: 17, argumentsCount: 1, name: 'getSourceByIdAsync' },
{ key: 18, argumentsCount: 1, name: 'saveReminderAsync' },
],
ExpoCellular: [{ key: 0, argumentsCount: 0, name: 'getCellularGenerationAsync' }],
ExpoContacts: [
{ key: 0, argumentsCount: 0, name: 'getDefaultContainerIdentifierAsync' },
{ key: 1, argumentsCount: 2, name: 'addExistingGroupToContainerAsync' },
{ key: 2, argumentsCount: 2, name: 'createGroupAsync' },
{ key: 3, argumentsCount: 2, name: 'addContactAsync' },
{ key: 4, argumentsCount: 1, name: 'removeGroupAsync' },
{ key: 5, argumentsCount: 2, name: 'removeContactFromGroupAsync' },
{ key: 6, argumentsCount: 1, name: 'removeContactAsync' },
{ key: 7, argumentsCount: 0, name: 'getPermissionsAsync' },
{ key: 8, argumentsCount: 1, name: 'updateContactAsync' },
{ key: 9, argumentsCount: 1, name: 'getGroupsAsync' },
{ key: 10, argumentsCount: 2, name: 'addExistingContactToGroupAsync' },
{ key: 11, argumentsCount: 1, name: 'getContainersAsync' },
{ key: 12, argumentsCount: 0, name: 'requestPermissionsAsync' },
{ key: 13, argumentsCount: 2, name: 'updateGroupNameAsync' },
{ key: 14, argumentsCount: 1, name: 'getContactsAsync' },
{ key: 15, argumentsCount: 3, name: 'presentFormAsync' },
{ key: 16, argumentsCount: 1, name: 'writeContactToFileAsync' },
{ key: 17, argumentsCount: 0, name: 'dismissFormAsync' },
],
ExpoCrypto: [{ key: 0, argumentsCount: 3, name: 'digestStringAsync' }],
ExpoDevice: [
{ key: 0, argumentsCount: 0, name: 'getDeviceTypeAsync' },
{ key: 1, argumentsCount: 0, name: 'isRootedExperimentalAsync' },
{ key: 2, argumentsCount: 0, name: 'getUptimeAsync' },
],
ExpoDocumentPicker: [{ key: 0, argumentsCount: 1, name: 'getDocumentAsync' }],
ExpoErrorRecovery: [{ key: 0, argumentsCount: 1, name: 'saveRecoveryProps' }],
ExpoFaceDetector: [{ key: 0, argumentsCount: 1, name: 'detectFaces' }],
ExpoFirebaseAnalytics: [
{ key: 0, argumentsCount: 2, name: 'logEvent' },
{ key: 1, argumentsCount: 1, name: 'setUserId' },
{ key: 2, argumentsCount: 1, name: 'setUserProperties' },
{ key: 3, argumentsCount: 2, name: 'setCurrentScreen' },
{ key: 4, argumentsCount: 0, name: 'resetAnalyticsData' },
{ key: 5, argumentsCount: 1, name: 'setAnalyticsCollectionEnabled' },
],
ExpoFirebaseCore: [],
ExpoFontLoader: [{ key: 0, argumentsCount: 2, name: 'loadAsync' }],
ExpoGoogleSignIn: [
{ key: 0, argumentsCount: 1, name: 'getTokensAsync' },
{ key: 1, argumentsCount: 1, name: 'getPhotoAsync' },
{ key: 2, argumentsCount: 0, name: 'getCurrentUserAsync' },
{ key: 3, argumentsCount: 0, name: 'disconnectAsync' },
{ key: 4, argumentsCount: 0, name: 'signOutAsync' },
{ key: 5, argumentsCount: 1, name: 'initAsync' },
{ key: 6, argumentsCount: 0, name: 'signInAsync' },
{ key: 7, argumentsCount: 0, name: 'signInSilentlyAsync' },
{ key: 8, argumentsCount: 0, name: 'isConnectedAsync' },
],
ExpoHaptics: [
{ key: 0, argumentsCount: 0, name: 'selectionAsync' },
{ key: 1, argumentsCount: 1, name: 'notificationAsync' },
{ key: 2, argumentsCount: 1, name: 'impactAsync' },
],
ExpoImageManipulator: [{ key: 0, argumentsCount: 3, name: 'manipulateAsync' }],
ExpoKeepAwake: [
{ key: 0, argumentsCount: 1, name: 'activate' },
{ key: 1, argumentsCount: 1, name: 'deactivate' },
],
ExpoLinearGradientManager: [],
ExpoLocalAuthentication: [
{ key: 0, argumentsCount: 0, name: 'supportedAuthenticationTypesAsync' },
{ key: 1, argumentsCount: 0, name: 'isEnrolledAsync' },
{ key: 2, argumentsCount: 0, name: 'hasHardwareAsync' },
{ key: 3, argumentsCount: 1, name: 'authenticateAsync' },
],
ExpoLocalization: [{ key: 0, argumentsCount: 0, name: 'getLocalizationAsync' }],
ExpoLocation: [
{ key: 0, argumentsCount: 2, name: 'watchPositionImplAsync' },
{ key: 1, argumentsCount: 2, name: 'startLocationUpdatesAsync' },
{ key: 2, argumentsCount: 1, name: 'removeWatchAsync' },
{ key: 3, argumentsCount: 0, name: 'hasServicesEnabledAsync' },
{ key: 4, argumentsCount: 0, name: 'getProviderStatusAsync' },
{ key: 5, argumentsCount: 1, name: 'hasStartedLocationUpdatesAsync' },
{ key: 6, argumentsCount: 1, name: 'geocodeAsync' },
{ key: 7, argumentsCount: 0, name: 'getPermissionsAsync' },
{ key: 8, argumentsCount: 2, name: 'startGeofencingAsync' },
{ key: 9, argumentsCount: 1, name: 'getCurrentPositionAsync' },
{ key: 10, argumentsCount: 0, name: 'requestPermissionsAsync' },
{ key: 11, argumentsCount: 1, name: 'stopGeofencingAsync' },
{ key: 12, argumentsCount: 1, name: 'stopLocationUpdatesAsync' },
{ key: 13, argumentsCount: 1, name: 'hasStartedGeofencingAsync' },
{ key: 14, argumentsCount: 1, name: 'reverseGeocodeAsync' },
{ key: 15, argumentsCount: 1, name: 'watchDeviceHeading' },
{ key: 16, argumentsCount: 0, name: 'getLastKnownPositionAsync' },
],
ExpoMailComposer: [
{ key: 0, argumentsCount: 0, name: 'isAvailableAsync' },
{ key: 1, argumentsCount: 1, name: 'composeAsync' },
],
ExpoNetwork: [
{ key: 0, argumentsCount: 0, name: 'getIpAddressAsync' },
{ key: 1, argumentsCount: 0, name: 'getMacAddressAsync' },
{ key: 2, argumentsCount: 0, name: 'getNetworkStateAsync' },
],
ExpoPermissions: [
{ key: 0, argumentsCount: 1, name: 'getAsync' },
{ key: 1, argumentsCount: 1, name: 'askAsync' },
],
ExpoPublisherBannerView: [],
ExpoRandom: [{ key: 0, argumentsCount: 1, name: 'getRandomBase64StringAsync' }],
ExpoSMS: [
{ key: 0, argumentsCount: 0, name: 'isAvailableAsync' },
{ key: 1, argumentsCount: 2, name: 'sendSMSAsync' },
],
ExpoScreenOrientation: [
{ key: 0, argumentsCount: 1, name: 'lockAsync' },
{ key: 1, argumentsCount: 1, name: 'supportsOrientationLockAsync' },
{ key: 2, argumentsCount: 0, name: 'getOrientationAsync' },
{ key: 3, argumentsCount: 1, name: 'lockPlatformAsync' },
{ key: 4, argumentsCount: 0, name: 'getOrientationLockAsync' },
{ key: 5, argumentsCount: 0, name: 'getPlatformOrientationLockAsync' },
],
ExpoSecureStore: [
{ key: 0, argumentsCount: 2, name: 'getValueWithKeyAsync' },
{ key: 1, argumentsCount: 2, name: 'deleteValueWithKeyAsync' },
{ key: 2, argumentsCount: 3, name: 'setValueWithKeyAsync' },
],
ExpoSharing: [{ key: 0, argumentsCount: 2, name: 'shareAsync' }],
ExpoStoreReview: [
{ key: 0, argumentsCount: 0, name: 'isAvailableAsync' },
{ key: 1, argumentsCount: 0, name: 'requestReview' },
],
ExpoTaskManager: [
{ key: 0, argumentsCount: 1, name: 'isTaskRegisteredAsync' },
{ key: 1, argumentsCount: 1, name: 'unregisterTaskAsync' },
{ key: 2, argumentsCount: 0, name: 'unregisterAllTasksAsync' },
{ key: 3, argumentsCount: 0, name: 'getRegisteredTasksAsync' },
{ key: 4, argumentsCount: 1, name: 'getTaskOptionsAsync' },
{ key: 5, argumentsCount: 2, name: 'notifyTaskFinishedAsync' },
],
ExpoUpdates: [
{ key: 0, argumentsCount: 0, name: 'checkForUpdateAsync' },
{ key: 1, argumentsCount: 0, name: 'reload' },
{ key: 2, argumentsCount: 0, name: 'fetchUpdateAsync' },
],
ExpoVideoManager: [{ key: 0, argumentsCount: 2, name: 'setFullscreen' }],
ExpoVideoThumbnails: [{ key: 0, argumentsCount: 2, name: 'getThumbnail' }],
ExpoWebBrowser: [
{ key: 0, argumentsCount: 1, name: 'coolDownAsync' },
{ key: 1, argumentsCount: 0, name: 'dismissBrowser' },
{ key: 2, argumentsCount: 2, name: 'openBrowserAsync' },
{ key: 3, argumentsCount: 2, name: 'mayInitWithUrlAsync' },
{ key: 4, argumentsCount: 0, name: 'dismissAuthSession' },
{ key: 5, argumentsCount: 1, name: 'warmUpAsync' },
{ key: 6, argumentsCount: 0, name: 'getCustomTabsSupportingBrowsers' },
{ key: 7, argumentsCount: 2, name: 'openAuthSessionAsync' },
],
ExponentAV: [
{ key: 0, argumentsCount: 1, name: 'getStatusForVideo' },
{ key: 1, argumentsCount: 1, name: 'setAudioMode' },
{ key: 2, argumentsCount: 0, name: 'unloadAudioRecorder' },
{ key: 3, argumentsCount: 0, name: 'stopAudioRecording' },
{ key: 4, argumentsCount: 0, name: 'requestPermissionsAsync' },
{ key: 5, argumentsCount: 3, name: 'loadForVideo' },
{ key: 6, argumentsCount: 1, name: 'setAudioIsEnabled' },
{ key: 7, argumentsCount: 1, name: 'prepareAudioRecorder' },
{ key: 8, argumentsCount: 2, name: 'replayVideo' },
{ key: 9, argumentsCount: 0, name: 'getPermissionsAsync' },
{ key: 10, argumentsCount: 1, name: 'unloadForSound' },
{ key: 11, argumentsCount: 2, name: 'setStatusForSound' },
{ key: 12, argumentsCount: 1, name: 'unloadForVideo' },
{ key: 13, argumentsCount: 2, name: 'replaySound' },
{ key: 14, argumentsCount: 0, name: 'getAudioRecordingStatus' },
{ key: 15, argumentsCount: 2, name: 'setStatusForVideo' },
{ key: 16, argumentsCount: 2, name: 'loadForSound' },
{ key: 17, argumentsCount: 0, name: 'pauseAudioRecording' },
{ key: 18, argumentsCount: 1, name: 'getStatusForSound' },
{ key: 19, argumentsCount: 0, name: 'startAudioRecording' },
],
ExponentAccelerometer: [
{ key: 0, argumentsCount: 0, name: 'isAvailableAsync' },
{ key: 1, argumentsCount: 1, name: 'setUpdateInterval' },
],
ExponentCameraManager: [
{ key: 0, argumentsCount: 2, name: 'record' },
{ key: 1, argumentsCount: 2, name: 'takePicture' },
{ key: 2, argumentsCount: 2, name: 'getAvailablePictureSizes' },
{ key: 3, argumentsCount: 1, name: 'pausePreview' },
{ key: 4, argumentsCount: 0, name: 'getPermissionsAsync' },
{ key: 5, argumentsCount: 1, name: 'resumePreview' },
{ key: 6, argumentsCount: 1, name: 'stopRecording' },
{ key: 7, argumentsCount: 0, name: 'requestPermissionsAsync' },
],
ExponentConstants: [{ key: 0, argumentsCount: 0, name: 'getWebViewUserAgentAsync' }],
ExponentDeviceMotion: [
{ key: 0, argumentsCount: 0, name: 'isAvailableAsync' },
{ key: 1, argumentsCount: 1, name: 'setUpdateInterval' },
],
ExponentFacebook: [
{ key: 0, argumentsCount: 1, name: 'logInWithReadPermissionsAsync' },
{ key: 1, argumentsCount: 1, name: 'setAdvertiserIDCollectionEnabledAsync' },
{ key: 2, argumentsCount: 1, name: 'setAutoLogAppEventsEnabledAsync' },
{ key: 3, argumentsCount: 2, name: 'initializeAsync' },
{ key: 4, argumentsCount: 1, name: 'setAutoInitEnabledAsync' },
],
ExponentFileSystem: [
{ key: 0, argumentsCount: 2, name: 'readDirectoryAsync' },
{ key: 1, argumentsCount: 0, name: 'getTotalDiskCapacityAsync' },
{ key: 2, argumentsCount: 2, name: 'getInfoAsync' },
{ key: 3, argumentsCount: 3, name: 'downloadAsync' },
{ key: 4, argumentsCount: 3, name: 'writeAsStringAsync' },
{ key: 5, argumentsCount: 2, name: 'deleteAsync' },
{ key: 6, argumentsCount: 1, name: 'moveAsync' },
{ key: 7, argumentsCount: 0, name: 'getFreeDiskStorageAsync' },
{ key: 8, argumentsCount: 2, name: 'readAsStringAsync' },
{ key: 9, argumentsCount: 5, name: 'downloadResumableStartAsync' },
{ key: 10, argumentsCount: 2, name: 'makeDirectoryAsync' },
{ key: 11, argumentsCount: 1, name: 'copyAsync' },
{ key: 12, argumentsCount: 1, name: 'downloadResumablePauseAsync' },
],
ExponentGLObjectManager: [
{ key: 0, argumentsCount: 0, name: 'createContextAsync' },
{ key: 1, argumentsCount: 1, name: 'destroyContextAsync' },
{ key: 2, argumentsCount: 1, name: 'destroyObjectAsync' },
{ key: 3, argumentsCount: 2, name: 'createCameraTextureAsync' },
{ key: 4, argumentsCount: 2, name: 'takeSnapshotAsync' },
],
ExponentGLViewManager: [],
ExponentGyroscope: [
{ key: 0, argumentsCount: 0, name: 'isAvailableAsync' },
{ key: 1, argumentsCount: 1, name: 'setUpdateInterval' },
],
ExponentImagePicker: [
{ key: 0, argumentsCount: 0, name: 'getCameraRollPermissionsAsync' },
{ key: 1, argumentsCount: 0, name: 'requestCameraPermissionsAsync' },
{ key: 2, argumentsCount: 0, name: 'requestCameraRollPermissionsAsync' },
{ key: 3, argumentsCount: 1, name: 'launchCameraAsync' },
{ key: 4, argumentsCount: 0, name: 'getCameraPermissionsAsync' },
{ key: 5, argumentsCount: 1, name: 'launchImageLibraryAsync' },
],
ExponentMagnetometer: [
{ key: 0, argumentsCount: 0, name: 'isAvailableAsync' },
{ key: 1, argumentsCount: 1, name: 'setUpdateInterval' },
],
ExponentMagnetometerUncalibrated: [
{ key: 0, argumentsCount: 0, name: 'isAvailableAsync' },
{ key: 1, argumentsCount: 1, name: 'setUpdateInterval' },
],
ExponentMediaLibrary: [
{ key: 0, argumentsCount: 1, name: 'createAssetAsync' },
{ key: 1, argumentsCount: 1, name: 'deleteAssetsAsync' },
{ key: 2, argumentsCount: 0, name: 'getPermissionsAsync' },
{ key: 3, argumentsCount: 2, name: 'removeAssetsFromAlbumAsync' },
{ key: 4, argumentsCount: 1, name: 'saveToLibraryAsync' },
{ key: 5, argumentsCount: 0, name: 'requestPermissionsAsync' },
{ key: 6, argumentsCount: 1, name: 'getAlbumsAsync' },
{ key: 7, argumentsCount: 1, name: 'getAssetsAsync' },
{ key: 8, argumentsCount: 2, name: 'createAlbumAsync' },
{ key: 9, argumentsCount: 2, name: 'deleteAlbumsAsync' },
{ key: 10, argumentsCount: 0, name: 'getMomentsAsync' },
{ key: 11, argumentsCount: 2, name: 'addAssetsToAlbumAsync' },
{ key: 12, argumentsCount: 1, name: 'getAssetInfoAsync' },
{ key: 13, argumentsCount: 1, name: 'getAlbumAsync' },
],
ExponentPedometer: [
{ key: 0, argumentsCount: 2, name: 'getStepCountAsync' },
{ key: 1, argumentsCount: 0, name: 'isAvailableAsync' },
],
ExponentPrint: [
{ key: 0, argumentsCount: 1, name: 'print' },
{ key: 1, argumentsCount: 0, name: 'selectPrinter' },
{ key: 2, argumentsCount: 1, name: 'printToFileAsync' },
],
ExponentSQLite: [
{ key: 0, argumentsCount: 1, name: 'close' },
{ key: 1, argumentsCount: 3, name: 'exec' },
],
ExponentSegment: [
{ key: 0, argumentsCount: 1, name: 'setEnabledAsync' },
{ key: 1, argumentsCount: 2, name: 'screenWithProperties' },
{ key: 2, argumentsCount: 0, name: 'flush' },
{ key: 3, argumentsCount: 1, name: 'screen' },
{ key: 4, argumentsCount: 1, name: 'identify' },
{ key: 5, argumentsCount: 2, name: 'identifyWithTraits' },
{ key: 6, argumentsCount: 1, name: 'initializeAndroid' },
{ key: 7, argumentsCount: 2, name: 'trackWithProperties' },
{ key: 8, argumentsCount: 1, name: 'initializeIOS' },
{ key: 9, argumentsCount: 2, name: 'groupWithTraits' },
{ key: 10, argumentsCount: 2, name: 'alias' },
{ key: 11, argumentsCount: 1, name: 'group' },
{ key: 12, argumentsCount: 1, name: 'track' },
{ key: 13, argumentsCount: 0, name: 'getEnabledAsync' },
{ key: 14, argumentsCount: 0, name: 'reset' },
],
ExponentSpeech: [
{ key: 0, argumentsCount: 3, name: 'speak' },
{ key: 1, argumentsCount: 0, name: 'stop' },
{ key: 2, argumentsCount: 0, name: 'pause' },
{ key: 3, argumentsCount: 0, name: 'resume' },
{ key: 4, argumentsCount: 0, name: 'isSpeaking' },
{ key: 5, argumentsCount: 0, name: 'getVoices' },
],
MediaViewManager: [],
},
},
getConstants: { type: 'function' },
modulesConstants: {
type: 'mock',
mockDefinition: {
CTKAdSettingsManager: {
addListener: { type: 'function' },
addTestDevice: { type: 'function' },
clearTestDevices: { type: 'function' },
currentDeviceHash: { type: 'string' },
removeListeners: { type: 'function' },
setIsChildDirected: { type: 'function' },
setLogLevel: { type: 'function' },
setMeditationService: { type: 'function' },
setUrlPrefix: { type: 'function' },
},
ExpoAppAuth: {
OAuthRedirect: { type: 'array' },
URLSchemes: { type: 'array' },
addListener: { type: 'function' },
executeAsync: { type: 'function' },
removeListeners: { type: 'function' },
},
ExpoApplication: {
addListener: { type: 'function' },
applicationId: { type: 'string' },
applicationName: { type: 'string' },
getApplicationReleaseTypeAsync: { type: 'function' },
getInstallationTimeAsync: { type: 'function' },
getIosIdForVendorAsync: { type: 'function' },
getPushNotificationServiceEnvironmentAsync: { type: 'function' },
nativeApplicationVersion: { type: 'string' },
nativeBuildVersion: { type: 'string' },
removeListeners: { type: 'function' },
},
ExpoBarCodeScannerModule: {
BarCodeType: { type: 'object' },
Type: { type: 'object' },
addListener: { type: 'function' },
getPermissionsAsync: { type: 'function' },
removeListeners: { type: 'function' },
requestPermissionsAsync: { type: 'function' },
scanFromURLAsync: { type: 'function' },
},
ExpoBattery: {
addListener: { type: 'function' },
getBatteryLevelAsync: { type: 'function' },
getBatteryStateAsync: { type: 'function' },
isLowPowerModeEnabledAsync: { type: 'function' },
isSupported: { type: 'boolean', mock: true },
removeListeners: { type: 'function' },
},
ExpoCellular: {
addListener: { type: 'function' },
allowsVoip: { type: 'boolean', mock: true },
carrier: { type: 'string' },
getCellularGenerationAsync: { type: 'function' },
isoCountryCode: {
type: 'object',
mock: null,
},
mobileCountryCode: {
type: 'object',
mock: null,
},
mobileNetworkCode: {
type: 'object',
mock: null,
},
removeListeners: { type: 'function' },
},
ExpoDevice: {
addListener: { type: 'function' },
brand: { type: 'string' },
deviceName: { type: 'string' },
deviceYearClass: { type: 'number', mock: 2013 },
getDeviceTypeAsync: { type: 'function' },
getUptimeAsync: { type: 'function' },
isDevice: { type: 'boolean', mock: true },
isRootedExperimentalAsync: { type: 'function' },
manufacturer: { type: 'string' },
modelId: { type: 'string' },
osBuildId: { type: 'string' },
osInternalBuildId: { type: 'string' },
osName: { type: 'string' },
osVersion: { type: 'string' },
removeListeners: { type: 'function' },
supportedCpuArchitectures: { type: 'array' },
totalMemory: { type: 'number', mock: 1048576000 },
},
ExpoErrorRecovery: {
addListener: { type: 'function' },
recoveredProps: {
type: 'object',
mock: null,
},
removeListeners: { type: 'function' },
saveRecoveryProps: { type: 'function' },
},
ExpoFaceDetector: {
Classifications: { type: 'object' },
Landmarks: { type: 'object' },
Mode: { type: 'object' },
addListener: { type: 'function' },
detectFaces: { type: 'function' },
removeListeners: { type: 'function' },
},
ExpoFirebaseCore: {
DEFAULT_APP_NAME: { type: 'string' },
addListener: { type: 'function' },
removeListeners: { type: 'function' },
},
ExpoGoogleSignIn: {
ERRORS: { type: 'object' },
SCOPES: { type: 'object' },
TYPES: { type: 'object' },
addListener: { type: 'function' },
disconnectAsync: { type: 'function' },
getCurrentUserAsync: { type: 'function' },
getPhotoAsync: { type: 'function' },
getTokensAsync: { type: 'function' },
initAsync: { type: 'function' },
isConnectedAsync: { type: 'function' },
removeListeners: { type: 'function' },
signInAsync: { type: 'function' },
signInSilentlyAsync: { type: 'function' },
signOutAsync: { type: 'function' },
},
ExpoLocalization: {
addListener: { type: 'function' },
getLocalizationAsync: { type: 'function' },
isRTL: { type: 'boolean', mock: false },
isoCurrencyCodes: { type: 'array' },
locale: { type: 'string' },
locales: { type: 'array' },
region: { type: 'string' },
removeListeners: { type: 'function' },
timezone: { type: 'string' },
},
ExpoSecureStore: {
AFTER_FIRST_UNLOCK: { type: 'number', mock: 0 },
AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY: { type: 'number', mock: 1 },
ALWAYS: { type: 'number', mock: 2 },
ALWAYS_THIS_DEVICE_ONLY: { type: 'number', mock: 4 },
WHEN_PASSCODE_SET_THIS_DEVICE_ONLY: { type: 'number', mock: 3 },
WHEN_UNLOCKED: { type: 'number', mock: 5 },
WHEN_UNLOCKED_THIS_DEVICE_ONLY: { type: 'number', mock: 6 },
addListener: { type: 'function' },
deleteValueWithKeyAsync: { type: 'function' },
getValueWithKeyAsync: { type: 'function' },
removeListeners: { type: 'function' },
setValueWithKeyAsync: { type: 'function' },
},
ExpoTaskManager: {
EVENT_NAME: { type: 'string' },
addListener: { type: 'function' },
getRegisteredTasksAsync: { type: 'function' },
getTaskOptionsAsync: { type: 'function' },
isTaskRegisteredAsync: { type: 'function' },
notifyTaskFinishedAsync: { type: 'function' },
removeListeners: { type: 'function' },
unregisterAllTasksAsync: { type: 'function' },
unregisterTaskAsync: { type: 'function' },
},
ExpoUpdates: {
addListener: { type: 'function' },
checkForUpdateAsync: { type: 'function' },
fetchUpdateAsync: { type: 'function' },
reload: { type: 'function' },
removeListeners: { type: 'function' },
},
ExpoVideoManager: {
ScaleAspectFill: { type: 'string' },
ScaleAspectFit: { type: 'string' },
ScaleNone: { type: 'string' },
ScaleToFill: { type: 'string' },
addListener: { type: 'function' },
removeListeners: { type: 'function' },
setFullscreen: { type: 'function' },
},
ExponentAV: {
Qualities: { type: 'object' },
addListener: { type: 'function' },
getAudioRecordingStatus: { type: 'function' },
getPermissionsAsync: { type: 'function' },
getStatusForSound: { type: 'function' },
getStatusForVideo: { type: 'function' },
loadForSound: { type: 'function' },
loadForVideo: { type: 'function' },
pauseAudioRecording: { type: 'function' },
prepareAudioRecorder: { type: 'function' },
removeListeners: { type: 'function' },
replaySound: { type: 'function' },
replayVideo: { type: 'function' },
requestPermissionsAsync: { type: 'function' },
setAudioIsEnabled: { type: 'function' },
setAudioMode: { type: 'function' },
setStatusForSound: { type: 'function' },
setStatusForVideo: { type: 'function' },
startAudioRecording: { type: 'function' },
stopAudioRecording: { type: 'function' },
unloadAudioRecorder: { type: 'function' },
unloadForSound: { type: 'function' },
unloadForVideo: { type: 'function' },
},
ExponentCameraManager: {
AutoFocus: { type: 'object' },
FlashMode: { type: 'object' },
Type: { type: 'object' },
VideoQuality: { type: 'object' },
VideoStabilization: { type: 'object' },
WhiteBalance: { type: 'object' },
addListener: { type: 'function' },
getAvailablePictureSizes: { type: 'function' },
getPermissionsAsync: { type: 'function' },
pausePreview: { type: 'function' },
record: { type: 'function' },
removeListeners: { type: 'function' },
requestPermissionsAsync: { type: 'function' },
resumePreview: { type: 'function' },
stopRecording: { type: 'function' },
takePicture: { type: 'function' },
},
ExponentConstants: {
addListener: { type: 'function' },
appOwnership: { type: 'string' },
debugMode: { type: 'boolean', mock: true },
deviceName: { type: 'string' },
deviceYearClass: { type: 'number', mock: 2013 },
experienceUrl: { type: 'string' },
expoRuntimeVersion: { type: 'string' },
expoVersion: { type: 'string' },
getWebViewUserAgentAsync: { type: 'function' },
installationId: { type: 'string' },
isDetached: { type: 'boolean', mock: false },
isDevice: { type: 'boolean', mock: true },
isHeadless: { type: 'boolean', mock: false },
linkingUri: { type: 'string' },
manifest: { type: 'object' },
nativeAppVersion: { type: 'string' },
nativeBuildVersion: { type: 'string' },
platform: { type: 'object' },
removeListeners: { type: 'function' },
sessionId: { type: 'string' },
statusBarHeight: { type: 'number', mock: 20 },
supportedExpoSdks: { type: 'array' },
systemFonts: { type: 'array' },
},
ExponentDeviceMotion: {
Gravity: { type: 'number', mock: 9.8100004196167 },
addListener: { type: 'function' },
isAvailableAsync: { type: 'function' },
removeListeners: { type: 'function' },
setUpdateInterval: { type: 'function' },
},
ExponentFileSystem: {
addListener: { type: 'function' },
bundleDirectory: {
type: 'object',
mock: null,
},
bundledAssets: {
type: 'object',
mock: null,
},
cacheDirectory: { type: 'string' },
copyAsync: { type: 'function' },
deleteAsync: { type: 'function' },
documentDirectory: { type: 'string' },
downloadAsync: { type: 'function' },
downloadResumablePauseAsync: { type: 'function' },
downloadResumableStartAsync: { type: 'function' },
getFreeDiskStorageAsync: { type: 'function' },
getInfoAsync: { type: 'function' },
getTotalDiskCapacityAsync: { type: 'function' },
makeDirectoryAsync: { type: 'function' },
moveAsync: { type: 'function' },
readAsStringAsync: { type: 'function' },
readDirectoryAsync: { type: 'function' },
removeListeners: { type: 'function' },
writeAsStringAsync: { type: 'function' },
},
ExponentMediaLibrary: {
CHANGE_LISTENER_NAME: { type: 'string' },
MediaType: { type: 'object' },
SortBy: { type: 'object' },
addAssetsToAlbumAsync: { type: 'function' },
addListener: { type: 'function' },
createAlbumAsync: { type: 'function' },
createAssetAsync: { type: 'function' },
deleteAlbumsAsync: { type: 'function' },
deleteAssetsAsync: { type: 'function' },
getAlbumAsync: { type: 'function' },
getAlbumsAsync: { type: 'function' },
getAssetInfoAsync: { type: 'function' },
getAssetsAsync: { type: 'function' },
getMomentsAsync: { type: 'function' },
getPermissionsAsync: { type: 'function' },
removeAssetsFromAlbumAsync: { type: 'function' },
removeListeners: { type: 'function' },
requestPermissionsAsync: { type: 'function' },
saveToLibraryAsync: { type: 'function' },
},
ExponentPrint: {
Orientation: { type: 'object' },
addListener: { type: 'function' },
print: { type: 'function' },
printToFileAsync: { type: 'function' },
removeListeners: { type: 'function' },
selectPrinter: { type: 'function' },
},
},
},
viewManagersNames: {
type: 'array',
mock: [
'AdIconView',
'AdOptionsView',
'CTKBannerView',
'CTKNativeAd',
'ExpoAdsAdMobBannerView',
'ExpoAdsPublisherBannerView',
'ExpoAppleAuthenticationButtonContinueBlack',
'ExpoAppleAuthenticationButtonContinueWhite',
'ExpoAppleAuthenticationButtonContinueWhiteOutline',
'ExpoAppleAuthenticationButtonSignInBlack',
'ExpoAppleAuthenticationButtonSignInWhite',
'ExpoAppleAuthenticationButtonSignInWhiteOutline',
'ExpoBarCodeScannerView',
'ExpoBlurView',
'ExpoLinearGradient',
'ExpoVideoView',
'ExponentCamera',
'ExponentGLView',
'MediaView',
],
},
callMethod: { type: 'function', functionType: 'promise' },
},
RNAWSCognito: {
getConstants: { type: 'function' },
computeModPow: { type: 'function', functionType: 'async' },
computeS: { type: 'function', functionType: 'async' },
},
RNBranch: {
ADD_TO_CART_EVENT: { type: 'string' },
ADD_TO_WISHLIST_EVENT: { type: 'string' },
INIT_SESSION_ERROR: { type: 'string' },
INIT_SESSION_SUCCESS: { type: 'string' },
PURCHASED_EVENT: { type: 'string' },
PURCHASE_INITIATED_EVENT: { type: 'string' },
REGISTER_VIEW_EVENT: { type: 'string' },
SHARE_COMPLETED_EVENT: { type: 'string' },
SHARE_INITIATED_EVENT: { type: 'string' },
STANDARD_EVENT_ACHIEVE_LEVEL: { type: 'string' },
STANDARD_EVENT_ADD_PAYMENT_INFO: { type: 'string' },
STANDARD_EVENT_ADD_TO_CART: { type: 'string' },
STANDARD_EVENT_ADD_TO_WISHLIST: { type: 'string' },
STANDARD_EVENT_COMPLETE_REGISTRATION: { type: 'string' },
STANDARD_EVENT_COMPLETE_TUTORIAL: { type: 'string' },
STANDARD_EVENT_INITIATE_PURCHASE: { type: 'string' },
STANDARD_EVENT_PURCHASE: { type: 'string' },
STANDARD_EVENT_RATE: { type: 'string' },
STANDARD_EVENT_SEARCH: { type: 'string' },
STANDARD_EVENT_SHARE: { type: 'string' },
STANDARD_EVENT_SPEND_CREDITS: { type: 'string' },
STANDARD_EVENT_UNLOCK_ACHIEVEMENT: { type: 'string' },
STANDARD_EVENT_VIEW_CART: { type: 'string' },
STANDARD_EVENT_VIEW_ITEM: { type: 'string' },
STANDARD_EVENT_VIEW_ITEMS: { type: 'string' },
getConstants: { type: 'function' },
createUniversalObject: { type: 'function', functionType: 'promise' },
disableTracking: { type: 'function', functionType: 'async' },
generateShortUrl: { type: 'function', functionType: 'promise' },
getCreditHistory: { type: 'function', functionType: 'promise' },
getFirstReferringParams: { type: 'function', functionType: 'promise' },
getLatestReferringParams: { type: 'function', functionType: 'promise' },
getShortUrl: { type: 'function', functionType: 'promise' },
initializeBranch: { type: 'function', functionType: 'promise' },
isTrackingDisabled: { type: 'function', functionType: 'promise' },
listOnSpotlight: { type: 'function', functionType: 'promise' },
loadRewards: { type: 'function', functionType: 'promise' },
logEvent: { type: 'function', functionType: 'promise' },
logout: { type: 'function', functionType: 'async' },
openURL: { type: 'function', functionType: 'async' },
redeemInitSessionResult: { type: 'function', functionType: 'promise' },
redeemRewards: { type: 'function', functionType: 'promise' },
registerView: { type: 'function', functionType: 'promise' },
releaseUniversalObject: { type: 'function', functionType: 'async' },
sendCommerceEvent: { type: 'function', functionType: 'promise' },
setIdentity: { type: 'function', functionType: 'async' },
showShareSheet: { type: 'function', functionType: 'promise' },
userCompletedAction: { type: 'function', functionType: 'async' },
userCompletedActionOnUniversalObject: { type: 'function', functionType: 'promise' },
},
RNBranchEventEmitter: {
getConstants: { type: 'function' },
addListener: { type: 'function', functionType: 'async' },
removeListeners: { type: 'function', functionType: 'async' },
},
RNCAppearance: {
getConstants: { type: 'function' },
initialPreferences: { type: 'object' },
addListener: { type: 'function', functionType: 'async' },
removeListeners: { type: 'function', functionType: 'async' },
},
RNCAppearanceProvider: {},
RNCMaskedViewManager: {},
RNCNetInfo: {
getConstants: { type: 'function' },
addListener: { type: 'function', functionType: 'async' },
getCurrentState: { type: 'function', functionType: 'promise' },
removeListeners: { type: 'function', functionType: 'async' },
},
RNCSafeAreaView: {
getConstants: { type: 'function' },
initialWindowSafeAreaInsets: { type: 'object' },
},