jest-expo 55.0.0 → 55.0.2
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/package.json +3 -3
- package/src/preset/moduleMocks/expoModules.js +227 -87
- package/src/preset/setup.js +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jest-expo",
|
|
3
|
-
"version": "55.0.
|
|
3
|
+
"version": "55.0.2",
|
|
4
4
|
"description": "A Jest preset to painlessly test your Expo / React Native apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"preset": "jest-expo/universal"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@expo/config": "~55.0.
|
|
40
|
+
"@expo/config": "~55.0.1",
|
|
41
41
|
"@expo/json-file": "^10.0.9",
|
|
42
42
|
"@jest/create-cache-key-function": "^29.2.1",
|
|
43
43
|
"@jest/globals": "^29.2.1",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"react-server-dom-webpack": "~19.0.3"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "9e6e4e518083f0516edf32a14a39f8afbbd049e4"
|
|
69
69
|
}
|
|
@@ -4,7 +4,32 @@ module.exports = {
|
|
|
4
4
|
exportedMethods: {
|
|
5
5
|
type: 'object',
|
|
6
6
|
mock: {
|
|
7
|
+
CalendarNext: [
|
|
8
|
+
{ name: 'createCalendar', argumentsCount: 1, key: 'createCalendar' },
|
|
9
|
+
{ name: 'getCalendarById', argumentsCount: 1, key: 'getCalendarById' },
|
|
10
|
+
{ name: 'getCalendarPermissions', argumentsCount: 0, key: 'getCalendarPermissions' },
|
|
11
|
+
{ name: 'getCalendars', argumentsCount: 1, key: 'getCalendars' },
|
|
12
|
+
{ name: 'getDefaultCalendarSync', argumentsCount: 0, key: 'getDefaultCalendarSync' },
|
|
13
|
+
{ name: 'getEventById', argumentsCount: 1, key: 'getEventById' },
|
|
14
|
+
{ name: 'getReminderById', argumentsCount: 1, key: 'getReminderById' },
|
|
15
|
+
{ name: 'getRemindersPermissions', argumentsCount: 0, key: 'getRemindersPermissions' },
|
|
16
|
+
{ name: 'getSourcesSync', argumentsCount: 0, key: 'getSourcesSync' },
|
|
17
|
+
{ name: 'listEvents', argumentsCount: 3, key: 'listEvents' },
|
|
18
|
+
{
|
|
19
|
+
name: 'requestCalendarPermissions',
|
|
20
|
+
argumentsCount: 0,
|
|
21
|
+
key: 'requestCalendarPermissions',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'requestRemindersPermissions',
|
|
25
|
+
argumentsCount: 0,
|
|
26
|
+
key: 'requestRemindersPermissions',
|
|
27
|
+
},
|
|
28
|
+
],
|
|
7
29
|
EASClient: [],
|
|
30
|
+
ExpoAgeRange: [
|
|
31
|
+
{ name: 'requestAgeRangeAsync', argumentsCount: 1, key: 'requestAgeRangeAsync' },
|
|
32
|
+
],
|
|
8
33
|
ExpoAppleAuthentication: [
|
|
9
34
|
{ name: 'formatFullName', argumentsCount: 2, key: 'formatFullName' },
|
|
10
35
|
{ name: 'getCredentialStateAsync', argumentsCount: 1, key: 'getCredentialStateAsync' },
|
|
@@ -77,7 +102,8 @@ module.exports = {
|
|
|
77
102
|
key: 'isLowPowerModeEnabledAsync',
|
|
78
103
|
},
|
|
79
104
|
],
|
|
80
|
-
|
|
105
|
+
ExpoBlob: [],
|
|
106
|
+
ExpoBlur: [],
|
|
81
107
|
ExpoBrightness: [
|
|
82
108
|
{ name: 'getBrightnessAsync', argumentsCount: 0, key: 'getBrightnessAsync' },
|
|
83
109
|
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 'getPermissionsAsync' },
|
|
@@ -223,6 +249,7 @@ module.exports = {
|
|
|
223
249
|
},
|
|
224
250
|
{ name: 'getGroupsAsync', argumentsCount: 1, key: 'getGroupsAsync' },
|
|
225
251
|
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 'getPermissionsAsync' },
|
|
252
|
+
{ name: 'hasContactsAsync', argumentsCount: 0, key: 'hasContactsAsync' },
|
|
226
253
|
{ name: 'presentAccessPickerAsync', argumentsCount: 0, key: 'presentAccessPickerAsync' },
|
|
227
254
|
{
|
|
228
255
|
name: 'presentContactPickerAsync',
|
|
@@ -242,6 +269,11 @@ module.exports = {
|
|
|
242
269
|
{ name: 'updateGroupNameAsync', argumentsCount: 2, key: 'updateGroupNameAsync' },
|
|
243
270
|
{ name: 'writeContactToFileAsync', argumentsCount: 1, key: 'writeContactToFileAsync' },
|
|
244
271
|
],
|
|
272
|
+
ExpoContactsNext: [],
|
|
273
|
+
ExpoCryptoAES: [
|
|
274
|
+
{ name: 'decryptAsync', argumentsCount: 3, key: 'decryptAsync' },
|
|
275
|
+
{ name: 'encryptAsync', argumentsCount: 3, key: 'encryptAsync' },
|
|
276
|
+
],
|
|
245
277
|
ExpoDevice: [
|
|
246
278
|
{ name: 'getDeviceTypeAsync', argumentsCount: 0, key: 'getDeviceTypeAsync' },
|
|
247
279
|
{ name: 'getUptimeAsync', argumentsCount: 0, key: 'getUptimeAsync' },
|
|
@@ -265,6 +297,14 @@ module.exports = {
|
|
|
265
297
|
ExpoFontUtils: [
|
|
266
298
|
{ name: 'renderToImageAsync', argumentsCount: 2, key: 'renderToImageAsync' },
|
|
267
299
|
],
|
|
300
|
+
ExpoGL: [
|
|
301
|
+
{ name: 'createCameraTextureAsync', argumentsCount: 2, key: 'createCameraTextureAsync' },
|
|
302
|
+
{ name: 'createContextAsync', argumentsCount: 0, key: 'createContextAsync' },
|
|
303
|
+
{ name: 'destroyContextAsync', argumentsCount: 1, key: 'destroyContextAsync' },
|
|
304
|
+
{ name: 'destroyObjectAsync', argumentsCount: 1, key: 'destroyObjectAsync' },
|
|
305
|
+
{ name: 'takeSnapshotAsync', argumentsCount: 2, key: 'takeSnapshotAsync' },
|
|
306
|
+
],
|
|
307
|
+
ExpoGlassEffect: [],
|
|
268
308
|
ExpoGo: [{ name: 'getModulesSchema', argumentsCount: 0, key: 'getModulesSchema' }],
|
|
269
309
|
ExpoHaptics: [
|
|
270
310
|
{ name: 'impactAsync', argumentsCount: 1, key: 'impactAsync' },
|
|
@@ -281,6 +321,7 @@ module.exports = {
|
|
|
281
321
|
ExpoImage: [
|
|
282
322
|
{ name: 'clearDiskCache', argumentsCount: 0, key: 'clearDiskCache' },
|
|
283
323
|
{ name: 'clearMemoryCache', argumentsCount: 0, key: 'clearMemoryCache' },
|
|
324
|
+
{ name: 'configureCache', argumentsCount: 1, key: 'configureCache' },
|
|
284
325
|
{ name: 'generateBlurhashAsync', argumentsCount: 2, key: 'generateBlurhashAsync' },
|
|
285
326
|
{ name: 'generateThumbhashAsync', argumentsCount: 1, key: 'generateThumbhashAsync' },
|
|
286
327
|
{ name: 'getCachePathAsync', argumentsCount: 1, key: 'getCachePathAsync' },
|
|
@@ -391,7 +432,18 @@ module.exports = {
|
|
|
391
432
|
{ name: 'requestPermissionsAsync', argumentsCount: 1, key: 'requestPermissionsAsync' },
|
|
392
433
|
{ name: 'saveToLibraryAsync', argumentsCount: 1, key: 'saveToLibraryAsync' },
|
|
393
434
|
],
|
|
435
|
+
ExpoMediaLibraryNext: [
|
|
436
|
+
{ name: 'createAlbum', argumentsCount: 2, key: 'createAlbum' },
|
|
437
|
+
{ name: 'createAsset', argumentsCount: 2, key: 'createAsset' },
|
|
438
|
+
{ name: 'deleteAlbums', argumentsCount: 2, key: 'deleteAlbums' },
|
|
439
|
+
{ name: 'deleteAssets', argumentsCount: 1, key: 'deleteAssets' },
|
|
440
|
+
{ name: 'getAlbum', argumentsCount: 1, key: 'getAlbum' },
|
|
441
|
+
{ name: 'getAllAlbums', argumentsCount: 0, key: 'getAllAlbums' },
|
|
442
|
+
{ name: 'getPermissionsAsync', argumentsCount: 1, key: 'getPermissionsAsync' },
|
|
443
|
+
{ name: 'requestPermissionsAsync', argumentsCount: 1, key: 'requestPermissionsAsync' },
|
|
444
|
+
],
|
|
394
445
|
ExpoMeshGradient: [],
|
|
446
|
+
ExpoModulesCoreJSLogger: [],
|
|
395
447
|
ExponentAccelerometer: [
|
|
396
448
|
{ name: 'isAvailableAsync', argumentsCount: 0, key: 'isAvailableAsync' },
|
|
397
449
|
{ name: 'setUpdateInterval', argumentsCount: 1, key: 'setUpdateInterval' },
|
|
@@ -435,7 +487,6 @@ module.exports = {
|
|
|
435
487
|
{ name: 'uploadTaskStartAsync', argumentsCount: 4, key: 'uploadTaskStartAsync' },
|
|
436
488
|
{ name: 'writeAsStringAsync', argumentsCount: 3, key: 'writeAsStringAsync' },
|
|
437
489
|
],
|
|
438
|
-
ExpoGL: [],
|
|
439
490
|
ExponentGyroscope: [
|
|
440
491
|
{ name: 'isAvailableAsync', argumentsCount: 0, key: 'isAvailableAsync' },
|
|
441
492
|
{ name: 'setUpdateInterval', argumentsCount: 1, key: 'setUpdateInterval' },
|
|
@@ -568,7 +619,7 @@ module.exports = {
|
|
|
568
619
|
},
|
|
569
620
|
],
|
|
570
621
|
ExpoRouterNativeLinkPreview: [],
|
|
571
|
-
|
|
622
|
+
ExpoRouterToolbarModule: [],
|
|
572
623
|
ExpoScreenCapture: [
|
|
573
624
|
{ name: 'allowScreenCapture', argumentsCount: 0, key: 'allowScreenCapture' },
|
|
574
625
|
{
|
|
@@ -611,7 +662,16 @@ module.exports = {
|
|
|
611
662
|
{ name: 'setValueWithKeyAsync', argumentsCount: 3, key: 'setValueWithKeyAsync' },
|
|
612
663
|
{ name: 'setValueWithKeySync', argumentsCount: 3, key: 'setValueWithKeySync' },
|
|
613
664
|
],
|
|
614
|
-
ExpoSharing: [
|
|
665
|
+
ExpoSharing: [
|
|
666
|
+
{ name: 'clearSharedPayloads', argumentsCount: 0, key: 'clearSharedPayloads' },
|
|
667
|
+
{
|
|
668
|
+
name: 'getResolvedSharedPayloadsAsync',
|
|
669
|
+
argumentsCount: 0,
|
|
670
|
+
key: 'getResolvedSharedPayloadsAsync',
|
|
671
|
+
},
|
|
672
|
+
{ name: 'getSharedPayloads', argumentsCount: 0, key: 'getSharedPayloads' },
|
|
673
|
+
{ name: 'shareAsync', argumentsCount: 2, key: 'shareAsync' },
|
|
674
|
+
],
|
|
615
675
|
ExpoSMS: [
|
|
616
676
|
{ name: 'isAvailableAsync', argumentsCount: 0, key: 'isAvailableAsync' },
|
|
617
677
|
{ name: 'sendSMSAsync', argumentsCount: 3, key: 'sendSMSAsync' },
|
|
@@ -649,6 +709,15 @@ module.exports = {
|
|
|
649
709
|
{ name: 'getBackgroundColorAsync', argumentsCount: 0, key: 'getBackgroundColorAsync' },
|
|
650
710
|
{ name: 'setBackgroundColorAsync', argumentsCount: 1, key: 'setBackgroundColorAsync' },
|
|
651
711
|
],
|
|
712
|
+
ExpoTaskManager: [
|
|
713
|
+
{ name: 'getRegisteredTasksAsync', argumentsCount: 0, key: 'getRegisteredTasksAsync' },
|
|
714
|
+
{ name: 'getTaskOptionsAsync', argumentsCount: 1, key: 'getTaskOptionsAsync' },
|
|
715
|
+
{ name: 'isAvailableAsync', argumentsCount: 0, key: 'isAvailableAsync' },
|
|
716
|
+
{ name: 'isTaskRegisteredAsync', argumentsCount: 1, key: 'isTaskRegisteredAsync' },
|
|
717
|
+
{ name: 'notifyTaskFinishedAsync', argumentsCount: 2, key: 'notifyTaskFinishedAsync' },
|
|
718
|
+
{ name: 'unregisterAllTasksAsync', argumentsCount: 0, key: 'unregisterAllTasksAsync' },
|
|
719
|
+
{ name: 'unregisterTaskAsync', argumentsCount: 1, key: 'unregisterTaskAsync' },
|
|
720
|
+
],
|
|
652
721
|
ExpoTrackingTransparency: [
|
|
653
722
|
{ name: 'getAdvertisingId', argumentsCount: 0, key: 'getAdvertisingId' },
|
|
654
723
|
{ name: 'getPermissionsAsync', argumentsCount: 0, key: 'getPermissionsAsync' },
|
|
@@ -674,7 +743,6 @@ module.exports = {
|
|
|
674
743
|
{ name: 'setVideoCacheSizeAsync', argumentsCount: 1, key: 'setVideoCacheSizeAsync' },
|
|
675
744
|
],
|
|
676
745
|
ExpoVideoThumbnails: [{ name: 'getThumbnail', argumentsCount: 2, key: 'getThumbnail' }],
|
|
677
|
-
ExpoVideoView: [{ name: 'setFullscreen', argumentsCount: 2, key: 'setFullscreen' }],
|
|
678
746
|
ExpoWebBrowser: [
|
|
679
747
|
{ name: 'coolDownAsync', argumentsCount: 0, key: 'coolDownAsync' },
|
|
680
748
|
{ name: 'dismissAuthSession', argumentsCount: 0, key: 'dismissAuthSession' },
|
|
@@ -692,6 +760,8 @@ module.exports = {
|
|
|
692
760
|
FileSystem: [
|
|
693
761
|
{ name: 'downloadFileAsync', argumentsCount: 3, key: 'downloadFileAsync' },
|
|
694
762
|
{ name: 'info', argumentsCount: 1, key: 'info' },
|
|
763
|
+
{ name: 'pickDirectoryAsync', argumentsCount: 1, key: 'pickDirectoryAsync' },
|
|
764
|
+
{ name: 'pickFileAsync', argumentsCount: 2, key: 'pickFileAsync' },
|
|
695
765
|
],
|
|
696
766
|
NotificationsServerRegistrationModule: [
|
|
697
767
|
{ name: 'getInstallationIdAsync', argumentsCount: 0, key: 'getInstallationIdAsync' },
|
|
@@ -705,10 +775,27 @@ module.exports = {
|
|
|
705
775
|
modulesConstants: {
|
|
706
776
|
type: 'mock',
|
|
707
777
|
mockDefinition: {
|
|
708
|
-
|
|
778
|
+
CalendarNext: {
|
|
709
779
|
addListener: { type: 'function' },
|
|
710
|
-
|
|
780
|
+
createCalendar: { type: 'function' },
|
|
781
|
+
getCalendarById: { type: 'function' },
|
|
782
|
+
getCalendarPermissions: { type: 'function' },
|
|
783
|
+
getCalendars: { type: 'function' },
|
|
784
|
+
getDefaultCalendarSync: { type: 'function' },
|
|
785
|
+
getEventById: { type: 'function' },
|
|
786
|
+
getReminderById: { type: 'function' },
|
|
787
|
+
getRemindersPermissions: { type: 'function' },
|
|
788
|
+
getSourcesSync: { type: 'function' },
|
|
789
|
+
listEvents: { type: 'function' },
|
|
711
790
|
removeListeners: { type: 'function' },
|
|
791
|
+
requestCalendarPermissions: { type: 'function' },
|
|
792
|
+
requestRemindersPermissions: { type: 'function' },
|
|
793
|
+
},
|
|
794
|
+
EASClient: { addListener: { type: 'function' }, removeListeners: { type: 'function' } },
|
|
795
|
+
ExpoAgeRange: {
|
|
796
|
+
addListener: { type: 'function' },
|
|
797
|
+
removeListeners: { type: 'function' },
|
|
798
|
+
requestAgeRangeAsync: { type: 'function' },
|
|
712
799
|
},
|
|
713
800
|
ExpoAppleAuthentication: {
|
|
714
801
|
addListener: { type: 'function' },
|
|
@@ -720,14 +807,10 @@ module.exports = {
|
|
|
720
807
|
},
|
|
721
808
|
ExpoApplication: {
|
|
722
809
|
addListener: { type: 'function' },
|
|
723
|
-
applicationId: { type: 'string' },
|
|
724
|
-
applicationName: { type: 'string' },
|
|
725
810
|
getApplicationReleaseTypeAsync: { type: 'function' },
|
|
726
811
|
getInstallationTimeAsync: { type: 'function' },
|
|
727
812
|
getIosIdForVendorAsync: { type: 'function' },
|
|
728
813
|
getPushNotificationServiceEnvironmentAsync: { type: 'function' },
|
|
729
|
-
nativeApplicationVersion: { type: 'string' },
|
|
730
|
-
nativeBuildVersion: { type: 'string' },
|
|
731
814
|
removeListeners: { type: 'function' },
|
|
732
815
|
},
|
|
733
816
|
ExpoAsset: {
|
|
@@ -782,10 +865,10 @@ module.exports = {
|
|
|
782
865
|
getBatteryLevelAsync: { type: 'function' },
|
|
783
866
|
getBatteryStateAsync: { type: 'function' },
|
|
784
867
|
isLowPowerModeEnabledAsync: { type: 'function' },
|
|
785
|
-
isSupported: { type: 'boolean', mock: false },
|
|
786
868
|
removeListeners: { type: 'function' },
|
|
787
869
|
},
|
|
788
|
-
|
|
870
|
+
ExpoBlob: { addListener: { type: 'function' }, removeListeners: { type: 'function' } },
|
|
871
|
+
ExpoBlur: { addListener: { type: 'function' }, removeListeners: { type: 'function' } },
|
|
789
872
|
ExpoBrightness: {
|
|
790
873
|
addListener: { type: 'function' },
|
|
791
874
|
getBrightnessAsync: { type: 'function' },
|
|
@@ -798,7 +881,6 @@ module.exports = {
|
|
|
798
881
|
setBrightnessAsync: { type: 'function' },
|
|
799
882
|
setSystemBrightnessAsync: { type: 'function' },
|
|
800
883
|
setSystemBrightnessModeAsync: { type: 'function' },
|
|
801
|
-
useSystemBrightnessAsync: { type: 'function' },
|
|
802
884
|
},
|
|
803
885
|
ExpoCalendar: {
|
|
804
886
|
addListener: { type: 'function' },
|
|
@@ -842,18 +924,12 @@ module.exports = {
|
|
|
842
924
|
},
|
|
843
925
|
ExpoCellular: {
|
|
844
926
|
addListener: { type: 'function' },
|
|
845
|
-
allowsVoip: { type: 'null' },
|
|
846
927
|
allowsVoipAsync: { type: 'function' },
|
|
847
|
-
carrier: { type: 'null' },
|
|
848
|
-
generation: { type: 'number', mock: 0 },
|
|
849
928
|
getCarrierNameAsync: { type: 'function' },
|
|
850
929
|
getCellularGenerationAsync: { type: 'function' },
|
|
851
930
|
getIsoCountryCodeAsync: { type: 'function' },
|
|
852
931
|
getMobileCountryCodeAsync: { type: 'function' },
|
|
853
932
|
getMobileNetworkCodeAsync: { type: 'function' },
|
|
854
|
-
isoCountryCode: { type: 'null' },
|
|
855
|
-
mobileCountryCode: { type: 'null' },
|
|
856
|
-
mobileNetworkCode: { type: 'null' },
|
|
857
933
|
removeListeners: { type: 'function' },
|
|
858
934
|
},
|
|
859
935
|
ExpoContactAccessButton: {
|
|
@@ -873,6 +949,7 @@ module.exports = {
|
|
|
873
949
|
getDefaultContainerIdentifierAsync: { type: 'function' },
|
|
874
950
|
getGroupsAsync: { type: 'function' },
|
|
875
951
|
getPermissionsAsync: { type: 'function' },
|
|
952
|
+
hasContactsAsync: { type: 'function' },
|
|
876
953
|
presentAccessPickerAsync: { type: 'function' },
|
|
877
954
|
presentContactPickerAsync: { type: 'function' },
|
|
878
955
|
presentFormAsync: { type: 'function' },
|
|
@@ -885,26 +962,22 @@ module.exports = {
|
|
|
885
962
|
updateGroupNameAsync: { type: 'function' },
|
|
886
963
|
writeContactToFileAsync: { type: 'function' },
|
|
887
964
|
},
|
|
965
|
+
ExpoContactsNext: {
|
|
966
|
+
addListener: { type: 'function' },
|
|
967
|
+
removeListeners: { type: 'function' },
|
|
968
|
+
},
|
|
969
|
+
ExpoCryptoAES: {
|
|
970
|
+
addListener: { type: 'function' },
|
|
971
|
+
decryptAsync: { type: 'function' },
|
|
972
|
+
encryptAsync: { type: 'function' },
|
|
973
|
+
removeListeners: { type: 'function' },
|
|
974
|
+
},
|
|
888
975
|
ExpoDevice: {
|
|
889
976
|
addListener: { type: 'function' },
|
|
890
|
-
brand: { type: 'string' },
|
|
891
|
-
deviceName: { type: 'string' },
|
|
892
|
-
deviceType: { type: 'number', mock: 1 },
|
|
893
|
-
deviceYearClass: { type: 'number', mock: 2025 },
|
|
894
977
|
getDeviceTypeAsync: { type: 'function' },
|
|
895
978
|
getUptimeAsync: { type: 'function' },
|
|
896
|
-
isDevice: { type: 'boolean', mock: false },
|
|
897
979
|
isRootedExperimentalAsync: { type: 'function' },
|
|
898
|
-
manufacturer: { type: 'string' },
|
|
899
|
-
modelId: { type: 'string' },
|
|
900
|
-
modelName: { type: 'string' },
|
|
901
|
-
osBuildId: { type: 'string' },
|
|
902
|
-
osInternalBuildId: { type: 'string' },
|
|
903
|
-
osName: { type: 'string' },
|
|
904
|
-
osVersion: { type: 'string' },
|
|
905
980
|
removeListeners: { type: 'function' },
|
|
906
|
-
supportedCpuArchitectures: { type: 'array' },
|
|
907
|
-
totalMemory: { type: 'unknown' },
|
|
908
981
|
},
|
|
909
982
|
ExpoDocumentPicker: {
|
|
910
983
|
addListener: { type: 'function' },
|
|
@@ -931,6 +1004,19 @@ module.exports = {
|
|
|
931
1004
|
removeListeners: { type: 'function' },
|
|
932
1005
|
renderToImageAsync: { type: 'function' },
|
|
933
1006
|
},
|
|
1007
|
+
ExpoGL: {
|
|
1008
|
+
addListener: { type: 'function' },
|
|
1009
|
+
createCameraTextureAsync: { type: 'function' },
|
|
1010
|
+
createContextAsync: { type: 'function' },
|
|
1011
|
+
destroyContextAsync: { type: 'function' },
|
|
1012
|
+
destroyObjectAsync: { type: 'function' },
|
|
1013
|
+
removeListeners: { type: 'function' },
|
|
1014
|
+
takeSnapshotAsync: { type: 'function' },
|
|
1015
|
+
},
|
|
1016
|
+
ExpoGlassEffect: {
|
|
1017
|
+
addListener: { type: 'function' },
|
|
1018
|
+
removeListeners: { type: 'function' },
|
|
1019
|
+
},
|
|
934
1020
|
ExpoGo: {
|
|
935
1021
|
addListener: { type: 'function' },
|
|
936
1022
|
expoVersion: { type: 'string' },
|
|
@@ -946,7 +1032,6 @@ module.exports = {
|
|
|
946
1032
|
selectionAsync: { type: 'function' },
|
|
947
1033
|
},
|
|
948
1034
|
ExpoHead: {
|
|
949
|
-
activities: { type: 'object' },
|
|
950
1035
|
addListener: { type: 'function' },
|
|
951
1036
|
clearActivitiesAsync: { type: 'function' },
|
|
952
1037
|
createActivity: { type: 'function' },
|
|
@@ -959,6 +1044,7 @@ module.exports = {
|
|
|
959
1044
|
addListener: { type: 'function' },
|
|
960
1045
|
clearDiskCache: { type: 'function' },
|
|
961
1046
|
clearMemoryCache: { type: 'function' },
|
|
1047
|
+
configureCache: { type: 'function' },
|
|
962
1048
|
generateBlurhashAsync: { type: 'function' },
|
|
963
1049
|
generateThumbhashAsync: { type: 'function' },
|
|
964
1050
|
getCachePathAsync: { type: 'function' },
|
|
@@ -982,9 +1068,6 @@ module.exports = {
|
|
|
982
1068
|
addListener: { type: 'function' },
|
|
983
1069
|
removeListeners: { type: 'function' },
|
|
984
1070
|
},
|
|
985
|
-
ExpoGlassEffect: {
|
|
986
|
-
isLiquidGlassAvailable: { type: 'string' },
|
|
987
|
-
},
|
|
988
1071
|
ExpoLivePhoto: { addListener: { type: 'function' }, removeListeners: { type: 'function' } },
|
|
989
1072
|
ExpoLocalAuthentication: {
|
|
990
1073
|
addListener: { type: 'function' },
|
|
@@ -1030,7 +1113,6 @@ module.exports = {
|
|
|
1030
1113
|
ExpoMediaLibrary: {
|
|
1031
1114
|
addAssetsToAlbumAsync: { type: 'function' },
|
|
1032
1115
|
addListener: { type: 'function' },
|
|
1033
|
-
CHANGE_LISTENER_NAME: { type: 'string' },
|
|
1034
1116
|
createAlbumAsync: { type: 'function' },
|
|
1035
1117
|
createAssetAsync: { type: 'function' },
|
|
1036
1118
|
deleteAlbumsAsync: { type: 'function' },
|
|
@@ -1041,18 +1123,32 @@ module.exports = {
|
|
|
1041
1123
|
getAssetsAsync: { type: 'function' },
|
|
1042
1124
|
getMomentsAsync: { type: 'function' },
|
|
1043
1125
|
getPermissionsAsync: { type: 'function' },
|
|
1044
|
-
MediaType: { type: 'object' },
|
|
1045
1126
|
presentPermissionsPickerAsync: { type: 'function' },
|
|
1046
1127
|
removeAssetsFromAlbumAsync: { type: 'function' },
|
|
1047
1128
|
removeListeners: { type: 'function' },
|
|
1048
1129
|
requestPermissionsAsync: { type: 'function' },
|
|
1049
1130
|
saveToLibraryAsync: { type: 'function' },
|
|
1050
|
-
|
|
1131
|
+
},
|
|
1132
|
+
ExpoMediaLibraryNext: {
|
|
1133
|
+
addListener: { type: 'function' },
|
|
1134
|
+
createAlbum: { type: 'function' },
|
|
1135
|
+
createAsset: { type: 'function' },
|
|
1136
|
+
deleteAlbums: { type: 'function' },
|
|
1137
|
+
deleteAssets: { type: 'function' },
|
|
1138
|
+
getAlbum: { type: 'function' },
|
|
1139
|
+
getAllAlbums: { type: 'function' },
|
|
1140
|
+
getPermissionsAsync: { type: 'function' },
|
|
1141
|
+
removeListeners: { type: 'function' },
|
|
1142
|
+
requestPermissionsAsync: { type: 'function' },
|
|
1051
1143
|
},
|
|
1052
1144
|
ExpoMeshGradient: {
|
|
1053
1145
|
addListener: { type: 'function' },
|
|
1054
1146
|
removeListeners: { type: 'function' },
|
|
1055
1147
|
},
|
|
1148
|
+
ExpoModulesCoreJSLogger: {
|
|
1149
|
+
addListener: { type: 'function' },
|
|
1150
|
+
removeListeners: { type: 'function' },
|
|
1151
|
+
},
|
|
1056
1152
|
ExponentAccelerometer: {
|
|
1057
1153
|
addListener: { type: 'function' },
|
|
1058
1154
|
isAvailableAsync: { type: 'function' },
|
|
@@ -1061,29 +1157,21 @@ module.exports = {
|
|
|
1061
1157
|
},
|
|
1062
1158
|
ExponentConstants: {
|
|
1063
1159
|
addListener: { type: 'function' },
|
|
1064
|
-
appOwnership: { type: 'string' },
|
|
1065
1160
|
debugMode: { type: 'boolean', mock: true },
|
|
1066
1161
|
deviceName: { type: 'string' },
|
|
1067
1162
|
executionEnvironment: { type: 'string' },
|
|
1068
|
-
experienceUrl: { type: 'string' },
|
|
1069
|
-
expoRuntimeVersion: { type: 'string' },
|
|
1070
|
-
expoVersion: { type: 'string' },
|
|
1071
1163
|
getWebViewUserAgentAsync: { type: 'function' },
|
|
1072
|
-
isDetached: { type: 'boolean', mock: false },
|
|
1073
1164
|
isHeadless: { type: 'boolean', mock: false },
|
|
1074
|
-
linkingUri: { type: 'string' },
|
|
1075
1165
|
manifest: { type: 'object' },
|
|
1076
1166
|
platform: { type: 'object' },
|
|
1077
1167
|
removeListeners: { type: 'function' },
|
|
1078
1168
|
sessionId: { type: 'string' },
|
|
1079
1169
|
statusBarHeight: { type: 'number', mock: 54 },
|
|
1080
|
-
supportedExpoSdks: { type: 'array' },
|
|
1081
1170
|
systemFonts: { type: 'array' },
|
|
1082
1171
|
},
|
|
1083
1172
|
ExponentDeviceMotion: {
|
|
1084
1173
|
addListener: { type: 'function' },
|
|
1085
1174
|
getPermissionsAsync: { type: 'function' },
|
|
1086
|
-
Gravity: { type: 'number', mock: 9.80665 },
|
|
1087
1175
|
isAvailableAsync: { type: 'function' },
|
|
1088
1176
|
removeListeners: { type: 'function' },
|
|
1089
1177
|
requestPermissionsAsync: { type: 'function' },
|
|
@@ -1091,11 +1179,8 @@ module.exports = {
|
|
|
1091
1179
|
},
|
|
1092
1180
|
ExponentFileSystem: {
|
|
1093
1181
|
addListener: { type: 'function' },
|
|
1094
|
-
bundleDirectory: { type: 'string' },
|
|
1095
|
-
cacheDirectory: { type: 'string' },
|
|
1096
1182
|
copyAsync: { type: 'function' },
|
|
1097
1183
|
deleteAsync: { type: 'function' },
|
|
1098
|
-
documentDirectory: { type: 'string' },
|
|
1099
1184
|
downloadAsync: { type: 'function' },
|
|
1100
1185
|
downloadResumablePauseAsync: { type: 'function' },
|
|
1101
1186
|
downloadResumableStartAsync: { type: 'function' },
|
|
@@ -1112,10 +1197,6 @@ module.exports = {
|
|
|
1112
1197
|
uploadTaskStartAsync: { type: 'function' },
|
|
1113
1198
|
writeAsStringAsync: { type: 'function' },
|
|
1114
1199
|
},
|
|
1115
|
-
ExpoGL: {
|
|
1116
|
-
addListener: { type: 'function' },
|
|
1117
|
-
removeListeners: { type: 'function' },
|
|
1118
|
-
},
|
|
1119
1200
|
ExponentGyroscope: {
|
|
1120
1201
|
addListener: { type: 'function' },
|
|
1121
1202
|
isAvailableAsync: { type: 'function' },
|
|
@@ -1200,7 +1281,6 @@ module.exports = {
|
|
|
1200
1281
|
},
|
|
1201
1282
|
ExpoPrint: {
|
|
1202
1283
|
addListener: { type: 'function' },
|
|
1203
|
-
Orientation: { type: 'object' },
|
|
1204
1284
|
print: { type: 'function' },
|
|
1205
1285
|
printToFileAsync: { type: 'function' },
|
|
1206
1286
|
removeListeners: { type: 'function' },
|
|
@@ -1212,14 +1292,14 @@ module.exports = {
|
|
|
1212
1292
|
removeListeners: { type: 'function' },
|
|
1213
1293
|
unregisterForNotificationsAsync: { type: 'function' },
|
|
1214
1294
|
},
|
|
1215
|
-
ExpoRouter: {
|
|
1216
|
-
Material3Color: { type: 'function' },
|
|
1217
|
-
Material3DynamicColor: { type: 'function' },
|
|
1218
|
-
},
|
|
1219
1295
|
ExpoRouterNativeLinkPreview: {
|
|
1220
1296
|
addListener: { type: 'function' },
|
|
1221
1297
|
removeListeners: { type: 'function' },
|
|
1222
1298
|
},
|
|
1299
|
+
ExpoRouterToolbarModule: {
|
|
1300
|
+
addListener: { type: 'function' },
|
|
1301
|
+
removeListeners: { type: 'function' },
|
|
1302
|
+
},
|
|
1223
1303
|
ExpoScreenCapture: {
|
|
1224
1304
|
addListener: { type: 'function' },
|
|
1225
1305
|
allowScreenCapture: { type: 'function' },
|
|
@@ -1240,10 +1320,6 @@ module.exports = {
|
|
|
1240
1320
|
},
|
|
1241
1321
|
ExpoSecureStore: {
|
|
1242
1322
|
addListener: { type: 'function' },
|
|
1243
|
-
AFTER_FIRST_UNLOCK: { type: 'number', mock: 0 },
|
|
1244
|
-
AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY: { type: 'number', mock: 1 },
|
|
1245
|
-
ALWAYS: { type: 'number', mock: 2 },
|
|
1246
|
-
ALWAYS_THIS_DEVICE_ONLY: { type: 'number', mock: 4 },
|
|
1247
1323
|
canUseBiometricAuthentication: { type: 'function' },
|
|
1248
1324
|
deleteValueWithKeyAsync: { type: 'function' },
|
|
1249
1325
|
getValueWithKeyAsync: { type: 'function' },
|
|
@@ -1251,12 +1327,12 @@ module.exports = {
|
|
|
1251
1327
|
removeListeners: { type: 'function' },
|
|
1252
1328
|
setValueWithKeyAsync: { type: 'function' },
|
|
1253
1329
|
setValueWithKeySync: { type: 'function' },
|
|
1254
|
-
WHEN_PASSCODE_SET_THIS_DEVICE_ONLY: { type: 'number', mock: 3 },
|
|
1255
|
-
WHEN_UNLOCKED: { type: 'number', mock: 5 },
|
|
1256
|
-
WHEN_UNLOCKED_THIS_DEVICE_ONLY: { type: 'number', mock: 6 },
|
|
1257
1330
|
},
|
|
1258
1331
|
ExpoSharing: {
|
|
1259
1332
|
addListener: { type: 'function' },
|
|
1333
|
+
clearSharedPayloads: { type: 'function' },
|
|
1334
|
+
getResolvedSharedPayloadsAsync: { type: 'function' },
|
|
1335
|
+
getSharedPayloads: { type: 'function' },
|
|
1260
1336
|
removeListeners: { type: 'function' },
|
|
1261
1337
|
shareAsync: { type: 'function' },
|
|
1262
1338
|
},
|
|
@@ -1280,7 +1356,6 @@ module.exports = {
|
|
|
1280
1356
|
addListener: { type: 'function' },
|
|
1281
1357
|
backupDatabaseAsync: { type: 'function' },
|
|
1282
1358
|
backupDatabaseSync: { type: 'function' },
|
|
1283
|
-
defaultDatabaseDirectory: { type: 'string' },
|
|
1284
1359
|
deleteDatabaseAsync: { type: 'function' },
|
|
1285
1360
|
deleteDatabaseSync: { type: 'function' },
|
|
1286
1361
|
ensureDatabasePathExistsAsync: { type: 'function' },
|
|
@@ -1300,6 +1375,17 @@ module.exports = {
|
|
|
1300
1375
|
removeListeners: { type: 'function' },
|
|
1301
1376
|
setBackgroundColorAsync: { type: 'function' },
|
|
1302
1377
|
},
|
|
1378
|
+
ExpoTaskManager: {
|
|
1379
|
+
addListener: { type: 'function' },
|
|
1380
|
+
getRegisteredTasksAsync: { type: 'function' },
|
|
1381
|
+
getTaskOptionsAsync: { type: 'function' },
|
|
1382
|
+
isAvailableAsync: { type: 'function' },
|
|
1383
|
+
isTaskRegisteredAsync: { type: 'function' },
|
|
1384
|
+
notifyTaskFinishedAsync: { type: 'function' },
|
|
1385
|
+
removeListeners: { type: 'function' },
|
|
1386
|
+
unregisterAllTasksAsync: { type: 'function' },
|
|
1387
|
+
unregisterTaskAsync: { type: 'function' },
|
|
1388
|
+
},
|
|
1303
1389
|
ExpoTrackingTransparency: {
|
|
1304
1390
|
addListener: { type: 'function' },
|
|
1305
1391
|
getAdvertisingId: { type: 'function' },
|
|
@@ -1313,6 +1399,7 @@ module.exports = {
|
|
|
1313
1399
|
checkAutomatically: { type: 'string' },
|
|
1314
1400
|
checkForUpdateAsync: { type: 'function' },
|
|
1315
1401
|
clearLogEntriesAsync: { type: 'function' },
|
|
1402
|
+
commitTime: { type: 'unknown' },
|
|
1316
1403
|
emergencyLaunchReason: { type: 'null' },
|
|
1317
1404
|
fetchUpdateAsync: { type: 'function' },
|
|
1318
1405
|
getExtraParamsAsync: { type: 'function' },
|
|
@@ -1321,13 +1408,15 @@ module.exports = {
|
|
|
1321
1408
|
isEmergencyLaunch: { type: 'boolean', mock: false },
|
|
1322
1409
|
isEnabled: { type: 'boolean', mock: true },
|
|
1323
1410
|
isUsingEmbeddedAssets: { type: 'boolean', mock: false },
|
|
1324
|
-
launchDuration: { type: 'number', mock:
|
|
1411
|
+
launchDuration: { type: 'number', mock: 134.9719762802124 },
|
|
1412
|
+
manifest: { type: 'object' },
|
|
1325
1413
|
readLogEntriesAsync: { type: 'function' },
|
|
1326
1414
|
reload: { type: 'function' },
|
|
1327
1415
|
removeListeners: { type: 'function' },
|
|
1328
1416
|
runtimeVersion: { type: 'string' },
|
|
1329
1417
|
setExtraParamAsync: { type: 'function' },
|
|
1330
1418
|
shouldDeferToNativeForAPIMethodAvailabilityInDevelopment: { type: 'boolean', mock: true },
|
|
1419
|
+
updateId: { type: 'string' },
|
|
1331
1420
|
},
|
|
1332
1421
|
ExpoVideo: {
|
|
1333
1422
|
addListener: { type: 'function' },
|
|
@@ -1342,15 +1431,6 @@ module.exports = {
|
|
|
1342
1431
|
getThumbnail: { type: 'function' },
|
|
1343
1432
|
removeListeners: { type: 'function' },
|
|
1344
1433
|
},
|
|
1345
|
-
ExpoVideoView: {
|
|
1346
|
-
addListener: { type: 'function' },
|
|
1347
|
-
removeListeners: { type: 'function' },
|
|
1348
|
-
ScaleAspectFill: { type: 'unknown' },
|
|
1349
|
-
ScaleAspectFit: { type: 'unknown' },
|
|
1350
|
-
ScaleNone: { type: 'unknown' },
|
|
1351
|
-
ScaleToFill: { type: 'unknown' },
|
|
1352
|
-
setFullscreen: { type: 'function' },
|
|
1353
|
-
},
|
|
1354
1434
|
ExpoWebBrowser: {
|
|
1355
1435
|
addListener: { type: 'function' },
|
|
1356
1436
|
coolDownAsync: { type: 'function' },
|
|
@@ -1365,13 +1445,11 @@ module.exports = {
|
|
|
1365
1445
|
},
|
|
1366
1446
|
FileSystem: {
|
|
1367
1447
|
addListener: { type: 'function' },
|
|
1368
|
-
appleSharedContainers: { type: 'object' },
|
|
1369
1448
|
availableDiskSpace: { type: 'property' },
|
|
1370
|
-
bundleDirectory: { type: 'string' },
|
|
1371
|
-
cacheDirectory: { type: 'string' },
|
|
1372
|
-
documentDirectory: { type: 'string' },
|
|
1373
1449
|
downloadFileAsync: { type: 'function' },
|
|
1374
1450
|
info: { type: 'function' },
|
|
1451
|
+
pickDirectoryAsync: { type: 'function' },
|
|
1452
|
+
pickFileAsync: { type: 'function' },
|
|
1375
1453
|
removeListeners: { type: 'function' },
|
|
1376
1454
|
totalDiskSpace: { type: 'property' },
|
|
1377
1455
|
},
|
|
@@ -1389,7 +1467,7 @@ module.exports = {
|
|
|
1389
1467
|
type: 'object',
|
|
1390
1468
|
mock: {
|
|
1391
1469
|
ExpoAppleAuthentication: { propNames: ['buttonStyle', 'buttonType', 'cornerRadius'] },
|
|
1392
|
-
|
|
1470
|
+
ExpoBlur: { propNames: ['intensity', 'tint'] },
|
|
1393
1471
|
ExpoCamera: {
|
|
1394
1472
|
propNames: [
|
|
1395
1473
|
'active',
|
|
@@ -1408,6 +1486,7 @@ module.exports = {
|
|
|
1408
1486
|
'selectedLens',
|
|
1409
1487
|
'videoBitrate',
|
|
1410
1488
|
'videoQuality',
|
|
1489
|
+
'videoStabilizationMode',
|
|
1411
1490
|
'zoom',
|
|
1412
1491
|
],
|
|
1413
1492
|
},
|
|
@@ -1428,6 +1507,26 @@ module.exports = {
|
|
|
1428
1507
|
'webviewDebuggingEnabled',
|
|
1429
1508
|
],
|
|
1430
1509
|
},
|
|
1510
|
+
ExpoGL: { propNames: ['enableExperimentalWorkletSupport', 'msaaSamples'] },
|
|
1511
|
+
ExpoGlassEffect: {
|
|
1512
|
+
propNames: [
|
|
1513
|
+
'borderBottomEndRadius',
|
|
1514
|
+
'borderBottomLeftRadius',
|
|
1515
|
+
'borderBottomRightRadius',
|
|
1516
|
+
'borderBottomStartRadius',
|
|
1517
|
+
'borderCurve',
|
|
1518
|
+
'borderRadius',
|
|
1519
|
+
'borderTopEndRadius',
|
|
1520
|
+
'borderTopLeftRadius',
|
|
1521
|
+
'borderTopRightRadius',
|
|
1522
|
+
'borderTopStartRadius',
|
|
1523
|
+
'colorScheme',
|
|
1524
|
+
'glassEffectStyle',
|
|
1525
|
+
'isInteractive',
|
|
1526
|
+
'spacing',
|
|
1527
|
+
'tintColor',
|
|
1528
|
+
],
|
|
1529
|
+
},
|
|
1431
1530
|
ExpoImage: {
|
|
1432
1531
|
propNames: [
|
|
1433
1532
|
'accessibilityLabel',
|
|
@@ -1442,9 +1541,13 @@ module.exports = {
|
|
|
1442
1541
|
'enforceEarlyResizing',
|
|
1443
1542
|
'placeholder',
|
|
1444
1543
|
'placeholderContentFit',
|
|
1544
|
+
'preferHighDynamicRange',
|
|
1445
1545
|
'priority',
|
|
1446
1546
|
'recyclingKey',
|
|
1547
|
+
'sfEffect',
|
|
1447
1548
|
'source',
|
|
1549
|
+
'symbolSize',
|
|
1550
|
+
'symbolWeight',
|
|
1448
1551
|
'tintColor',
|
|
1449
1552
|
'transition',
|
|
1450
1553
|
'useAppleWebpCodec',
|
|
@@ -1454,27 +1557,65 @@ module.exports = {
|
|
|
1454
1557
|
ExpoLivePhoto: {
|
|
1455
1558
|
propNames: ['contentFit', 'isMuted', 'source', 'useDefaultGestureRecognizer'],
|
|
1456
1559
|
},
|
|
1457
|
-
ExpoGL: { propNames: ['enableExperimentalWorkletSupport', 'msaaSamples'] },
|
|
1458
1560
|
ExpoRouterNativeLinkPreview: {
|
|
1459
1561
|
propNames: [
|
|
1562
|
+
'accessibilityHint',
|
|
1563
|
+
'accessibilityLabel',
|
|
1564
|
+
'alignment',
|
|
1565
|
+
'animateAspectRatioChange',
|
|
1566
|
+
'barButtonItemStyle',
|
|
1460
1567
|
'destructive',
|
|
1461
1568
|
'disabled',
|
|
1569
|
+
'disableForceFlatten',
|
|
1570
|
+
'discoverabilityLabel',
|
|
1571
|
+
'dismissalBoundsRect',
|
|
1462
1572
|
'displayAsPalette',
|
|
1463
1573
|
'displayInline',
|
|
1574
|
+
'hidden',
|
|
1575
|
+
'hidesSharedBackground',
|
|
1464
1576
|
'icon',
|
|
1577
|
+
'identifier',
|
|
1578
|
+
'image',
|
|
1465
1579
|
'isOn',
|
|
1466
1580
|
'keepPresented',
|
|
1467
1581
|
'nextScreenId',
|
|
1468
1582
|
'preferredContentSize',
|
|
1583
|
+
'preferredElementSize',
|
|
1584
|
+
'sharesBackground',
|
|
1469
1585
|
'singleSelection',
|
|
1586
|
+
'subtitle',
|
|
1470
1587
|
'tabPath',
|
|
1588
|
+
'tintColor',
|
|
1589
|
+
'title',
|
|
1590
|
+
'zoomTransitionSourceIdentifier',
|
|
1591
|
+
],
|
|
1592
|
+
},
|
|
1593
|
+
ExpoRouterToolbarModule: {
|
|
1594
|
+
propNames: [
|
|
1595
|
+
'accessibilityHint',
|
|
1596
|
+
'accessibilityLabel',
|
|
1597
|
+
'badgeConfiguration',
|
|
1598
|
+
'barButtonItemStyle',
|
|
1599
|
+
'disabled',
|
|
1600
|
+
'disableForceFlatten',
|
|
1601
|
+
'hidden',
|
|
1602
|
+
'hidesSharedBackground',
|
|
1603
|
+
'identifier',
|
|
1604
|
+
'image',
|
|
1605
|
+
'possibleTitles',
|
|
1606
|
+
'selected',
|
|
1607
|
+
'sharesBackground',
|
|
1608
|
+
'systemImageName',
|
|
1609
|
+
'tintColor',
|
|
1471
1610
|
'title',
|
|
1611
|
+
'titleStyle',
|
|
1612
|
+
'type',
|
|
1613
|
+
'width',
|
|
1472
1614
|
],
|
|
1473
1615
|
},
|
|
1474
1616
|
ExpoVideo: {
|
|
1475
1617
|
propNames: [
|
|
1476
1618
|
'activeTint',
|
|
1477
|
-
'allowsFullscreen',
|
|
1478
1619
|
'allowsPictureInPicture',
|
|
1479
1620
|
'allowsVideoFrameAnalysis',
|
|
1480
1621
|
'contentFit',
|
|
@@ -1489,7 +1630,6 @@ module.exports = {
|
|
|
1489
1630
|
'tint',
|
|
1490
1631
|
],
|
|
1491
1632
|
},
|
|
1492
|
-
ExpoVideoView: { propNames: ['resizeMode', 'source', 'status', 'useNativeControls'] },
|
|
1493
1633
|
SymbolModule: {
|
|
1494
1634
|
propNames: [
|
|
1495
1635
|
'animated',
|
package/src/preset/setup.js
CHANGED
|
@@ -55,10 +55,6 @@ Object.defineProperty(mockNativeModules, 'LinkingManager', {
|
|
|
55
55
|
|
|
56
56
|
const expoModules = merge(publicExpoModules, merge(thirdPartyModules, internalExpoModules));
|
|
57
57
|
|
|
58
|
-
// Mock the experience URL in development mode for asset setup
|
|
59
|
-
expoModules.NativeUnimoduleProxy.modulesConstants.mockDefinition.ExponentConstants.experienceUrl.mock =
|
|
60
|
-
'exp://192.168.1.200:8081';
|
|
61
|
-
|
|
62
58
|
function mock(property, customMock) {
|
|
63
59
|
const propertyType = property.type;
|
|
64
60
|
let mockValue;
|