expo 49.0.6 → 50.0.0-alpha.1

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.
Files changed (58) hide show
  1. package/android/build.gradle +2 -2
  2. package/build/Expo.d.ts +1 -2
  3. package/build/Expo.d.ts.map +1 -1
  4. package/build/Expo.fx.d.ts +0 -1
  5. package/build/Expo.fx.d.ts.map +1 -1
  6. package/build/Expo.fx.js +0 -2
  7. package/build/Expo.fx.js.map +1 -1
  8. package/build/Expo.js +1 -2
  9. package/build/Expo.js.map +1 -1
  10. package/build/environment/DevLoadingView.d.ts.map +1 -1
  11. package/build/environment/DevLoadingView.js +2 -1
  12. package/build/environment/DevLoadingView.js.map +1 -1
  13. package/build/environment/ExpoGo.d.ts +30 -0
  14. package/build/environment/ExpoGo.d.ts.map +1 -0
  15. package/build/environment/ExpoGo.js +24 -0
  16. package/build/environment/ExpoGo.js.map +1 -0
  17. package/bundledNativeModules.json +66 -66
  18. package/package.json +15 -23
  19. package/build/environment/getInstallationIdAsync.android.d.ts +0 -2
  20. package/build/environment/getInstallationIdAsync.android.d.ts.map +0 -1
  21. package/build/environment/getInstallationIdAsync.android.js +0 -5
  22. package/build/environment/getInstallationIdAsync.android.js.map +0 -1
  23. package/build/environment/getInstallationIdAsync.d.ts +0 -2
  24. package/build/environment/getInstallationIdAsync.d.ts.map +0 -1
  25. package/build/environment/getInstallationIdAsync.js +0 -23
  26. package/build/environment/getInstallationIdAsync.js.map +0 -1
  27. package/build/environment/getInstallationIdAsync.web.d.ts +0 -2
  28. package/build/environment/getInstallationIdAsync.web.d.ts.map +0 -1
  29. package/build/environment/getInstallationIdAsync.web.js +0 -31
  30. package/build/environment/getInstallationIdAsync.web.js.map +0 -1
  31. package/build/environment/logging.fx.d.ts +0 -2
  32. package/build/environment/logging.fx.d.ts.map +0 -1
  33. package/build/environment/logging.fx.js +0 -63
  34. package/build/environment/logging.fx.js.map +0 -1
  35. package/build/logs/LogSerialization.d.ts +0 -12
  36. package/build/logs/LogSerialization.d.ts.map +0 -1
  37. package/build/logs/LogSerialization.js +0 -174
  38. package/build/logs/LogSerialization.js.map +0 -1
  39. package/build/logs/Logs.d.ts +0 -3
  40. package/build/logs/Logs.d.ts.map +0 -1
  41. package/build/logs/Logs.js +0 -21
  42. package/build/logs/Logs.js.map +0 -1
  43. package/build/logs/Logs.web.d.ts +0 -3
  44. package/build/logs/Logs.web.d.ts.map +0 -1
  45. package/build/logs/Logs.web.js +0 -7
  46. package/build/logs/Logs.web.js.map +0 -1
  47. package/build/logs/RemoteConsole.d.ts +0 -6
  48. package/build/logs/RemoteConsole.d.ts.map +0 -1
  49. package/build/logs/RemoteConsole.js +0 -98
  50. package/build/logs/RemoteConsole.js.map +0 -1
  51. package/build/logs/RemoteLogging.d.ts +0 -29
  52. package/build/logs/RemoteLogging.d.ts.map +0 -1
  53. package/build/logs/RemoteLogging.js +0 -137
  54. package/build/logs/RemoteLogging.js.map +0 -1
  55. package/build/logs/format/ReactNodeFormatter.d.ts +0 -10
  56. package/build/logs/format/ReactNodeFormatter.d.ts.map +0 -1
  57. package/build/logs/format/ReactNodeFormatter.js +0 -35
  58. package/build/logs/format/ReactNodeFormatter.js.map +0 -1
@@ -33,7 +33,7 @@ def getRNVersion() {
33
33
  ensureDependeciesWereEvaluated(project)
34
34
 
35
35
  group = 'host.exp.exponent'
36
- version = '49.0.6'
36
+ version = '50.0.0-alpha.1'
37
37
 
38
38
  buildscript {
39
39
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
@@ -97,7 +97,7 @@ android {
97
97
  minSdkVersion safeExtGet("minSdkVersion", 21)
98
98
  targetSdkVersion safeExtGet("targetSdkVersion", 33)
99
99
  versionCode 1
100
- versionName "49.0.6"
100
+ versionName "50.0.0-alpha.1"
101
101
  consumerProguardFiles("proguard-rules.pro")
102
102
  }
103
103
  lintOptions {
package/build/Expo.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import './Expo.fx';
2
- import * as Logs from './logs/Logs';
3
- export { Logs };
4
2
  export { disableErrorHandling } from './errors/ExpoErrorManager';
5
3
  export { default as registerRootComponent } from './launch/registerRootComponent';
4
+ export { isRunningInExpoGo, getExpoGoProjectConfig } from './environment/ExpoGo';
6
5
  //# sourceMappingURL=Expo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Expo.d.ts","sourceRoot":"","sources":["../src/Expo.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAC;AAEnB,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC"}
1
+ {"version":3,"file":"Expo.d.ts","sourceRoot":"","sources":["../src/Expo.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAC;AAEnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1,4 +1,3 @@
1
1
  import './environment/validate.fx';
2
- import './environment/logging.fx';
3
2
  import 'expo-asset';
4
3
  //# sourceMappingURL=Expo.fx.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Expo.fx.d.ts","sourceRoot":"","sources":["../src/Expo.fx.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AAEnC,OAAO,0BAA0B,CAAC;AAElC,OAAO,YAAY,CAAC"}
1
+ {"version":3,"file":"Expo.fx.d.ts","sourceRoot":"","sources":["../src/Expo.fx.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AAEnC,OAAO,YAAY,CAAC"}
package/build/Expo.fx.js CHANGED
@@ -1,6 +1,4 @@
1
1
  import './environment/validate.fx';
2
- // load remote logging for compatibility with custom development clients
3
- import './environment/logging.fx';
4
2
  // load expo-asset immediately to set a custom `source` transformer in React Native
5
3
  import 'expo-asset';
6
4
  import Constants, { ExecutionEnvironment } from 'expo-constants';
@@ -1 +1 @@
1
- {"version":3,"file":"Expo.fx.js","sourceRoot":"","sources":["../src/Expo.fx.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AACnC,wEAAwE;AACxE,OAAO,0BAA0B,CAAC;AAClC,mFAAmF;AACnF,OAAO,YAAY,CAAC;AAEpB,OAAO,SAAS,EAAE,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,4FAA4F;AAC5F,IAAI,UAAU,CAAC,6BAA6B,EAAE;IAC5C,UAAU,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;CAChF;AAED,kDAAkD;AAClD,IAAI,kBAAkB,CAAC,WAAW,EAAE,uBAAuB,EAAE;IAC3D,MAAM,OAAO,GACX,+EAA+E;QAC/E,0DAA0D;QAC1D,QAAQ,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,EAAE,qBAAqB,EAAE,CAAC;QACtE,yCAAyC,CAAC;IAC5C,IAAI,OAAO,EAAE;QACX,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KACvB;SAAM;QACL,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;KAC1B;CACF;AAED,IAAI,SAAS,CAAC,oBAAoB,KAAK,oBAAoB,CAAC,WAAW,EAAE;IACvE,wFAAwF;IACxF,MAAM,aAAa,GAAG,UAAU,CAAC,gBAAgB,EAAE,CAAC;IACpD,UAAU,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,aAAa,CAAC,CAAC,CAAC;CAChE","sourcesContent":["import './environment/validate.fx';\n// load remote logging for compatibility with custom development clients\nimport './environment/logging.fx';\n// load expo-asset immediately to set a custom `source` transformer in React Native\nimport 'expo-asset';\n\nimport Constants, { ExecutionEnvironment } from 'expo-constants';\nimport * as Font from 'expo-font';\nimport { NativeModulesProxy, Platform } from 'expo-modules-core';\nimport { StyleSheet } from 'react-native';\n\nimport { createErrorHandler } from './errors/ExpoErrorManager';\n\n// If expo-font is installed and the style preprocessor is available, use it to parse fonts.\nif (StyleSheet.setStyleAttributePreprocessor) {\n StyleSheet.setStyleAttributePreprocessor('fontFamily', Font.processFontFamily);\n}\n\n// Asserts if bare workflow isn't setup correctly.\nif (NativeModulesProxy.ExpoUpdates?.isMissingRuntimeVersion) {\n const message =\n 'expo-updates is installed but there is no runtime or SDK version configured. ' +\n \"You'll need to configure one of these two properties in \" +\n Platform.select({ ios: 'Expo.plist', android: 'AndroidManifest.xml' }) +\n ' before OTA updates will work properly.';\n if (__DEV__) {\n console.warn(message);\n } else {\n throw new Error(message);\n }\n}\n\nif (Constants.executionEnvironment === ExecutionEnvironment.StoreClient) {\n // set up some improvements to commonly logged error messages stemming from react-native\n const globalHandler = ErrorUtils.getGlobalHandler();\n ErrorUtils.setGlobalHandler(createErrorHandler(globalHandler));\n}\n"]}
1
+ {"version":3,"file":"Expo.fx.js","sourceRoot":"","sources":["../src/Expo.fx.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AACnC,mFAAmF;AACnF,OAAO,YAAY,CAAC;AAEpB,OAAO,SAAS,EAAE,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,4FAA4F;AAC5F,IAAI,UAAU,CAAC,6BAA6B,EAAE;IAC5C,UAAU,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;CAChF;AAED,kDAAkD;AAClD,IAAI,kBAAkB,CAAC,WAAW,EAAE,uBAAuB,EAAE;IAC3D,MAAM,OAAO,GACX,+EAA+E;QAC/E,0DAA0D;QAC1D,QAAQ,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,YAAY,EAAE,OAAO,EAAE,qBAAqB,EAAE,CAAC;QACtE,yCAAyC,CAAC;IAC5C,IAAI,OAAO,EAAE;QACX,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KACvB;SAAM;QACL,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;KAC1B;CACF;AAED,IAAI,SAAS,CAAC,oBAAoB,KAAK,oBAAoB,CAAC,WAAW,EAAE;IACvE,wFAAwF;IACxF,MAAM,aAAa,GAAG,UAAU,CAAC,gBAAgB,EAAE,CAAC;IACpD,UAAU,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,aAAa,CAAC,CAAC,CAAC;CAChE","sourcesContent":["import './environment/validate.fx';\n// load expo-asset immediately to set a custom `source` transformer in React Native\nimport 'expo-asset';\n\nimport Constants, { ExecutionEnvironment } from 'expo-constants';\nimport * as Font from 'expo-font';\nimport { NativeModulesProxy, Platform } from 'expo-modules-core';\nimport { StyleSheet } from 'react-native';\n\nimport { createErrorHandler } from './errors/ExpoErrorManager';\n\n// If expo-font is installed and the style preprocessor is available, use it to parse fonts.\nif (StyleSheet.setStyleAttributePreprocessor) {\n StyleSheet.setStyleAttributePreprocessor('fontFamily', Font.processFontFamily);\n}\n\n// Asserts if bare workflow isn't setup correctly.\nif (NativeModulesProxy.ExpoUpdates?.isMissingRuntimeVersion) {\n const message =\n 'expo-updates is installed but there is no runtime or SDK version configured. ' +\n \"You'll need to configure one of these two properties in \" +\n Platform.select({ ios: 'Expo.plist', android: 'AndroidManifest.xml' }) +\n ' before OTA updates will work properly.';\n if (__DEV__) {\n console.warn(message);\n } else {\n throw new Error(message);\n }\n}\n\nif (Constants.executionEnvironment === ExecutionEnvironment.StoreClient) {\n // set up some improvements to commonly logged error messages stemming from react-native\n const globalHandler = ErrorUtils.getGlobalHandler();\n ErrorUtils.setGlobalHandler(createErrorHandler(globalHandler));\n}\n"]}
package/build/Expo.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import './Expo.fx';
2
- import * as Logs from './logs/Logs';
3
- export { Logs };
4
2
  export { disableErrorHandling } from './errors/ExpoErrorManager';
5
3
  export { default as registerRootComponent } from './launch/registerRootComponent';
4
+ export { isRunningInExpoGo, getExpoGoProjectConfig } from './environment/ExpoGo';
6
5
  //# sourceMappingURL=Expo.js.map
package/build/Expo.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Expo.js","sourceRoot":"","sources":["../src/Expo.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAC;AAEnB,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC","sourcesContent":["import './Expo.fx';\n\nimport * as Logs from './logs/Logs';\n\nexport { Logs };\nexport { disableErrorHandling } from './errors/ExpoErrorManager';\nexport { default as registerRootComponent } from './launch/registerRootComponent';\n"]}
1
+ {"version":3,"file":"Expo.js","sourceRoot":"","sources":["../src/Expo.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAC;AAEnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC","sourcesContent":["import './Expo.fx';\n\nexport { disableErrorHandling } from './errors/ExpoErrorManager';\nexport { default as registerRootComponent } from './launch/registerRootComponent';\nexport { isRunningInExpoGo, getExpoGoProjectConfig } from './environment/ExpoGo';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"DevLoadingView.d.ts","sourceRoot":"","sources":["../../src/environment/DevLoadingView.tsx"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,cAAc,uBAmFrC"}
1
+ {"version":3,"file":"DevLoadingView.d.ts","sourceRoot":"","sources":["../../src/environment/DevLoadingView.tsx"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,cAAc,uBAiFrC"}
@@ -55,7 +55,7 @@ export default function DevLoadingView() {
55
55
  if (!isDevLoading && !isAnimating) {
56
56
  return null;
57
57
  }
58
- return (React.createElement(Animated.View, { style: [styles.animatedContainer, { transform: [{ translateY }] }], pointerEvents: "none" },
58
+ return (React.createElement(Animated.View, { style: [styles.animatedContainer, { transform: [{ translateY }] }] },
59
59
  React.createElement(View, { style: styles.banner },
60
60
  React.createElement(View, { style: styles.contentContainer },
61
61
  React.createElement(View, { style: { flexDirection: 'row' } },
@@ -70,6 +70,7 @@ const styles = StyleSheet.create({
70
70
  web: 'fixed',
71
71
  default: 'absolute',
72
72
  }),
73
+ pointerEvents: 'none',
73
74
  bottom: 0,
74
75
  left: 0,
75
76
  right: 0,
@@ -1 +1 @@
1
- {"version":3,"file":"DevLoadingView.js","sourceRoot":"","sources":["../../src/environment/DevLoadingView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAA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M,CAAC,IAAI,IAAG,OAAO,CAAQ,CACrC;gBAEP,oBAAC,IAAI,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;oBACtB,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,CAAC,QAAQ,IACzB,YAAY,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,wCAAwC,CAC1E,CACF,CACF,CACF,CACO,CACjB,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,iBAAiB,EAAE;QACjB,sFAAsF;QACtF,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC;YACxB,GAAG,EAAE,OAAO;YACZ,OAAO,EAAE,UAAU;SACpB,CAAC;QACF,MAAM,EAAE,CAAC;QACT,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,EAAE,EAAE,YAAY;KACzB;IAED,MAAM,EAAE;QACN,IAAI,EAAE,CAAC;QACP,QAAQ,EAAE,SAAS;QACnB,eAAe,EAAE,kBAAkB;QACnC,aAAa,EAAE,kBAAkB,EAAE,CAAC,MAAM;KAC3C;IACD,gBAAgB,EAAE;QAChB,IAAI,EAAE,CAAC;QACP,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,CAAC;QAChB,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,QAAQ;QACxB,SAAS,EAAE,QAAQ;KACpB;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,QAAQ,EAAE,EAAE;KACb;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,uBAAuB;KAC/B;CACF,CAAC,CAAC","sourcesContent":["import { EventEmitter } from 'expo-modules-core';\nimport React, { useEffect, useState, useRef, useMemo } from 'react';\nimport { Animated, StyleSheet, Text, Platform, View } from 'react-native';\n\nimport DevLoadingViewNativeModule from './DevLoadingViewNativeModule';\nimport { getInitialSafeArea } from './getInitialSafeArea';\n\nexport default function DevLoadingView() {\n const [message, setMessage] = useState('Refreshing...');\n const [isDevLoading, setIsDevLoading] = useState(false);\n const [isAnimating, setIsAnimating] = useState(false);\n const translateY = useRef(new Animated.Value(0)).current;\n const emitter = useMemo<EventEmitter>(() => {\n try {\n return new EventEmitter(DevLoadingViewNativeModule);\n } catch (error) {\n throw new Error(\n 'Failed to instantiate native emitter in `DevLoadingView` because the native module `DevLoadingView` is undefined: ' +\n error.message\n );\n }\n }, []);\n\n useEffect(() => {\n if (!emitter) return;\n\n function handleShowMessage(event: { message: string }) {\n setMessage(event.message);\n // TODO: if we show the refreshing banner and don't get a hide message\n // for 3 seconds, warn the user that it's taking a while and suggest\n // they reload\n\n translateY.setValue(0);\n setIsDevLoading(true);\n }\n\n function handleHide() {\n // TODO: if we showed the 'refreshing' banner less than 250ms ago, delay\n // switching to the 'finished' banner\n\n setIsAnimating(true);\n setIsDevLoading(false);\n Animated.timing(translateY, {\n toValue: 150,\n delay: 1000,\n duration: 350,\n useNativeDriver: Platform.OS !== 'web',\n }).start(({ finished }) => {\n if (finished) {\n setIsAnimating(false);\n translateY.setValue(0);\n }\n });\n }\n\n const showMessageSubscription = emitter.addListener(\n 'devLoadingView:showMessage',\n handleShowMessage\n );\n const hideSubscription = emitter.addListener('devLoadingView:hide', handleHide);\n\n return function cleanup() {\n showMessageSubscription.remove();\n hideSubscription.remove();\n };\n }, [translateY, emitter]);\n\n if (!isDevLoading && !isAnimating) {\n return null;\n }\n\n return (\n <Animated.View\n style={[styles.animatedContainer, { transform: [{ translateY }] }]}\n pointerEvents=\"none\">\n <View style={styles.banner}>\n <View style={styles.contentContainer}>\n <View style={{ flexDirection: 'row' }}>\n <Text style={styles.text}>{message}</Text>\n </View>\n\n <View style={{ flex: 1 }}>\n <Text style={styles.subtitle}>\n {isDevLoading ? 'Using Fast Refresh' : \"Don't see your changes? Reload the app\"}\n </Text>\n </View>\n </View>\n </View>\n </Animated.View>\n );\n}\n\nconst styles = StyleSheet.create({\n animatedContainer: {\n // @ts-expect-error: fixed is not a valid value for position in Yoga but it is on web.\n position: Platform.select({\n web: 'fixed',\n default: 'absolute',\n }),\n bottom: 0,\n left: 0,\n right: 0,\n zIndex: 42, // arbitrary\n },\n\n banner: {\n flex: 1,\n overflow: 'visible',\n backgroundColor: 'rgba(0,0,0,0.75)',\n paddingBottom: getInitialSafeArea().bottom,\n },\n contentContainer: {\n flex: 1,\n paddingTop: 10,\n paddingBottom: 5,\n alignItems: 'center',\n justifyContent: 'center',\n textAlign: 'center',\n },\n text: {\n color: '#fff',\n fontSize: 15,\n },\n subtitle: {\n color: 'rgba(255,255,255,0.8)',\n },\n});\n"]}
1
+ {"version":3,"file":"DevLoadingView.js","sourceRoot":"","sources":["../../src/environment/DevLoadingView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,0BAA0B,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,CAAC,OAAO,UAAU,cAAc;IACpC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;IACxD,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtD,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;IACzD,MAAM,OAAO,GAAG,OAAO,CAAe,GAA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AQ,EAAE,SAAS;QACnB,eAAe,EAAE,kBAAkB;QACnC,aAAa,EAAE,kBAAkB,EAAE,CAAC,MAAM;KAC3C;IACD,gBAAgB,EAAE;QAChB,IAAI,EAAE,CAAC;QACP,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,CAAC;QAChB,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,QAAQ;QACxB,SAAS,EAAE,QAAQ;KACpB;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM;QACb,QAAQ,EAAE,EAAE;KACb;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,uBAAuB;KAC/B;CACF,CAAC,CAAC","sourcesContent":["import { EventEmitter } from 'expo-modules-core';\nimport React, { useEffect, useState, useRef, useMemo } from 'react';\nimport { Animated, StyleSheet, Text, Platform, View } from 'react-native';\n\nimport DevLoadingViewNativeModule from './DevLoadingViewNativeModule';\nimport { getInitialSafeArea } from './getInitialSafeArea';\n\nexport default function DevLoadingView() {\n const [message, setMessage] = useState('Refreshing...');\n const [isDevLoading, setIsDevLoading] = useState(false);\n const [isAnimating, setIsAnimating] = useState(false);\n const translateY = useRef(new Animated.Value(0)).current;\n const emitter = useMemo<EventEmitter>(() => {\n try {\n return new EventEmitter(DevLoadingViewNativeModule);\n } catch (error) {\n throw new Error(\n 'Failed to instantiate native emitter in `DevLoadingView` because the native module `DevLoadingView` is undefined: ' +\n error.message\n );\n }\n }, []);\n\n useEffect(() => {\n if (!emitter) return;\n\n function handleShowMessage(event: { message: string }) {\n setMessage(event.message);\n // TODO: if we show the refreshing banner and don't get a hide message\n // for 3 seconds, warn the user that it's taking a while and suggest\n // they reload\n\n translateY.setValue(0);\n setIsDevLoading(true);\n }\n\n function handleHide() {\n // TODO: if we showed the 'refreshing' banner less than 250ms ago, delay\n // switching to the 'finished' banner\n\n setIsAnimating(true);\n setIsDevLoading(false);\n Animated.timing(translateY, {\n toValue: 150,\n delay: 1000,\n duration: 350,\n useNativeDriver: Platform.OS !== 'web',\n }).start(({ finished }) => {\n if (finished) {\n setIsAnimating(false);\n translateY.setValue(0);\n }\n });\n }\n\n const showMessageSubscription = emitter.addListener(\n 'devLoadingView:showMessage',\n handleShowMessage\n );\n const hideSubscription = emitter.addListener('devLoadingView:hide', handleHide);\n\n return function cleanup() {\n showMessageSubscription.remove();\n hideSubscription.remove();\n };\n }, [translateY, emitter]);\n\n if (!isDevLoading && !isAnimating) {\n return null;\n }\n\n return (\n <Animated.View style={[styles.animatedContainer, { transform: [{ translateY }] }]}>\n <View style={styles.banner}>\n <View style={styles.contentContainer}>\n <View style={{ flexDirection: 'row' }}>\n <Text style={styles.text}>{message}</Text>\n </View>\n\n <View style={{ flex: 1 }}>\n <Text style={styles.subtitle}>\n {isDevLoading ? 'Using Fast Refresh' : \"Don't see your changes? Reload the app\"}\n </Text>\n </View>\n </View>\n </View>\n </Animated.View>\n );\n}\n\nconst styles = StyleSheet.create({\n animatedContainer: {\n // @ts-expect-error: fixed is not a valid value for position in Yoga but it is on web.\n position: Platform.select({\n web: 'fixed',\n default: 'absolute',\n }),\n pointerEvents: 'none',\n bottom: 0,\n left: 0,\n right: 0,\n zIndex: 42, // arbitrary\n },\n\n banner: {\n flex: 1,\n overflow: 'visible',\n backgroundColor: 'rgba(0,0,0,0.75)',\n paddingBottom: getInitialSafeArea().bottom,\n },\n contentContainer: {\n flex: 1,\n paddingTop: 10,\n paddingBottom: 5,\n alignItems: 'center',\n justifyContent: 'center',\n textAlign: 'center',\n },\n text: {\n color: '#fff',\n fontSize: 15,\n },\n subtitle: {\n color: 'rgba(255,255,255,0.8)',\n },\n});\n"]}
@@ -0,0 +1,30 @@
1
+ type ExpoGoProjectConfig = {
2
+ mainModuleName?: string;
3
+ debuggerHost?: string;
4
+ logUrl?: string;
5
+ developer?: {
6
+ tool?: string;
7
+ [key: string]: any;
8
+ };
9
+ packagerOpts?: ExpoGoPackagerOpts;
10
+ };
11
+ type ExpoGoPackagerOpts = {
12
+ hostType?: string;
13
+ dev?: boolean;
14
+ strict?: boolean;
15
+ minify?: boolean;
16
+ urlType?: string;
17
+ urlRandomness?: string;
18
+ lanType?: string;
19
+ [key: string]: any;
20
+ };
21
+ /**
22
+ * Returns a boolean value whether the app is running in Expo Go.
23
+ */
24
+ export declare function isRunningInExpoGo(): boolean;
25
+ /**
26
+ * Returns an Expo Go project config from the manifest or `null` if the app is not running in Expo Go.
27
+ */
28
+ export declare function getExpoGoProjectConfig(): ExpoGoProjectConfig | null;
29
+ export {};
30
+ //# sourceMappingURL=ExpoGo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExpoGo.d.ts","sourceRoot":"","sources":["../../src/environment/ExpoGo.ts"],"names":[],"mappings":"AAOA,KAAK,mBAAmB,GAAG;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE;QACV,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,YAAY,CAAC,EAAE,kBAAkB,CAAC;CACnC,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC;AAYF;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAE3C;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,mBAAmB,GAAG,IAAI,CAEnE"}
@@ -0,0 +1,24 @@
1
+ import { requireNativeModule } from 'expo-modules-core';
2
+ // ExpoGo module is available only when the app is run in Expo Go,
3
+ // otherwise we use `null` instead of throwing an error.
4
+ const NativeExpoGoModule = (() => {
5
+ try {
6
+ return requireNativeModule('ExpoGo');
7
+ }
8
+ catch {
9
+ return null;
10
+ }
11
+ })();
12
+ /**
13
+ * Returns a boolean value whether the app is running in Expo Go.
14
+ */
15
+ export function isRunningInExpoGo() {
16
+ return NativeExpoGoModule != null;
17
+ }
18
+ /**
19
+ * Returns an Expo Go project config from the manifest or `null` if the app is not running in Expo Go.
20
+ */
21
+ export function getExpoGoProjectConfig() {
22
+ return NativeExpoGoModule?.projectConfig ?? null;
23
+ }
24
+ //# sourceMappingURL=ExpoGo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExpoGo.js","sourceRoot":"","sources":["../../src/environment/ExpoGo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AA6BxD,kEAAkE;AAClE,wDAAwD;AACxD,MAAM,kBAAkB,GAAG,CAAC,GAAwB,EAAE;IACpD,IAAI;QACF,OAAO,mBAAmB,CAAC,QAAQ,CAAC,CAAC;KACtC;IAAC,MAAM;QACN,OAAO,IAAI,CAAC;KACb;AACH,CAAC,CAAC,EAAE,CAAC;AAEL;;GAEG;AACH,MAAM,UAAU,iBAAiB;IAC/B,OAAO,kBAAkB,IAAI,IAAI,CAAC;AACpC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,sBAAsB;IACpC,OAAO,kBAAkB,EAAE,aAAa,IAAI,IAAI,CAAC;AACnD,CAAC","sourcesContent":["import { requireNativeModule } from 'expo-modules-core';\n\ntype ExpoGoModule = {\n expoVersion: string;\n projectConfig: ExpoGoProjectConfig;\n};\n\ntype ExpoGoProjectConfig = {\n mainModuleName?: string;\n debuggerHost?: string;\n logUrl?: string;\n developer?: {\n tool?: string;\n [key: string]: any;\n };\n packagerOpts?: ExpoGoPackagerOpts;\n};\n\ntype ExpoGoPackagerOpts = {\n hostType?: string;\n dev?: boolean;\n strict?: boolean;\n minify?: boolean;\n urlType?: string;\n urlRandomness?: string;\n lanType?: string;\n [key: string]: any;\n};\n\n// ExpoGo module is available only when the app is run in Expo Go,\n// otherwise we use `null` instead of throwing an error.\nconst NativeExpoGoModule = ((): ExpoGoModule | null => {\n try {\n return requireNativeModule('ExpoGo');\n } catch {\n return null;\n }\n})();\n\n/**\n * Returns a boolean value whether the app is running in Expo Go.\n */\nexport function isRunningInExpoGo(): boolean {\n return NativeExpoGoModule != null;\n}\n\n/**\n * Returns an Expo Go project config from the manifest or `null` if the app is not running in Expo Go.\n */\nexport function getExpoGoProjectConfig(): ExpoGoProjectConfig | null {\n return NativeExpoGoModule?.projectConfig ?? null;\n}\n"]}
@@ -12,75 +12,75 @@
12
12
  "expo-analytics-amplitude": "~11.3.0",
13
13
  "expo-app-auth": "~11.1.0",
14
14
  "expo-app-loader-provider": "~8.0.0",
15
- "expo-apple-authentication": "~6.1.0",
16
- "expo-application": "~5.3.0",
17
- "expo-asset": "~8.10.1",
18
- "expo-auth-session": "~5.0.2",
19
- "expo-av": "~13.4.1",
20
- "expo-background-fetch": "~11.3.0",
21
- "expo-barcode-scanner": "~12.5.3",
22
- "expo-battery": "~7.3.0",
23
- "expo-blur": "~12.4.1",
24
- "expo-brightness": "~11.4.0",
25
- "expo-build-properties": "~0.8.3",
26
- "expo-calendar": "~11.3.0",
27
- "expo-camera": "~13.4.2",
28
- "expo-cellular": "~5.3.0",
29
- "expo-checkbox": "~2.4.0",
30
- "expo-clipboard": "~4.3.0",
31
- "expo-constants": "~14.4.2",
32
- "expo-contacts": "~12.2.0",
33
- "expo-crypto": "~12.4.1",
34
- "expo-dev-client": "~2.4.6",
35
- "expo-device": "~5.4.0",
36
- "expo-document-picker": "~11.5.4",
37
- "expo-face-detector": "~12.2.0",
38
- "expo-file-system": "~15.4.2",
39
- "expo-font": "~11.4.0",
40
- "expo-gl": "~13.0.1",
15
+ "expo-apple-authentication": "~6.1.1",
16
+ "expo-application": "~5.3.1",
17
+ "expo-asset": "~8.11.0",
18
+ "expo-auth-session": "~5.1.1",
19
+ "expo-av": "~13.5.1",
20
+ "expo-background-fetch": "~11.4.0",
21
+ "expo-barcode-scanner": "~12.6.1",
22
+ "expo-battery": "~7.4.0",
23
+ "expo-blur": "~12.5.0",
24
+ "expo-brightness": "~11.5.0",
25
+ "expo-build-properties": "~0.9.0",
26
+ "expo-calendar": "~11.4.1",
27
+ "expo-camera": "~13.5.1",
28
+ "expo-cellular": "~5.4.1",
29
+ "expo-checkbox": "~2.5.0",
30
+ "expo-clipboard": "~4.4.0",
31
+ "expo-constants": "~14.5.1",
32
+ "expo-contacts": "~12.3.1",
33
+ "expo-crypto": "~12.5.1",
34
+ "expo-dev-client": "~3.0.0",
35
+ "expo-device": "~5.5.0",
36
+ "expo-document-picker": "~11.6.1",
37
+ "expo-face-detector": "~12.3.0",
38
+ "expo-file-system": "~15.5.1",
39
+ "expo-font": "~11.5.1",
40
+ "expo-gl": "~13.1.0",
41
41
  "expo-google-app-auth": "~8.3.0",
42
- "expo-haptics": "~12.4.0",
43
- "expo-image": "~1.3.2",
42
+ "expo-haptics": "~12.5.0",
43
+ "expo-image": "~1.4.1",
44
44
  "expo-image-loader": "~4.3.0",
45
- "expo-image-manipulator": "~11.3.0",
46
- "expo-image-picker": "~14.3.2",
47
- "expo-in-app-purchases": "~14.3.0",
48
- "expo-insights": "~0.2.0",
49
- "expo-intent-launcher": "~10.7.0",
50
- "expo-keep-awake": "~12.3.0",
51
- "expo-linear-gradient": "~12.3.0",
52
- "expo-linking": "~5.0.2",
53
- "expo-local-authentication": "~13.4.1",
54
- "expo-localization": "~14.3.0",
55
- "expo-location": "~16.1.0",
56
- "expo-mail-composer": "~12.3.0",
57
- "expo-media-library": "~15.4.1",
58
- "expo-module-template": "~10.9.5",
59
- "expo-modules-core": "~1.5.9",
60
- "expo-navigation-bar": "~2.3.0",
61
- "expo-network": "~5.4.0",
62
- "expo-notifications": "~0.20.1",
63
- "expo-permissions": "~14.2.1",
64
- "expo-print": "~12.4.2",
65
- "expo-random": "~13.2.0",
66
- "expo-router": "2.0.0",
67
- "expo-screen-capture": "~5.3.0",
68
- "expo-screen-orientation": "~6.0.5",
69
- "expo-secure-store": "~12.3.1",
70
- "expo-sensors": "~12.3.0",
71
- "expo-sharing": "~11.5.0",
45
+ "expo-image-manipulator": "~11.4.1",
46
+ "expo-image-picker": "~14.4.1",
47
+ "expo-in-app-purchases": "~14.4.1",
48
+ "expo-intent-launcher": "~10.8.0",
49
+ "expo-insights": "~0.3.0",
50
+ "expo-keep-awake": "~12.4.1",
51
+ "expo-linear-gradient": "~12.4.0",
52
+ "expo-linking": "~6.0.0",
53
+ "expo-local-authentication": "~13.5.0",
54
+ "expo-localization": "~14.4.0",
55
+ "expo-location": "~16.2.1",
56
+ "expo-mail-composer": "~12.4.0",
57
+ "expo-media-library": "~15.5.1",
58
+ "expo-module-template": "~10.10.0",
59
+ "expo-modules-core": "~1.6.0",
60
+ "expo-navigation-bar": "~2.4.1",
61
+ "expo-network": "~5.5.0",
62
+ "expo-notifications": "~0.22.0",
63
+ "expo-permissions": "~14.3.0",
64
+ "expo-print": "~12.5.1",
65
+ "expo-random": "~13.3.0",
66
+ "expo-router": "~3.0.0",
67
+ "expo-screen-capture": "~5.4.0",
68
+ "expo-screen-orientation": "~6.1.1",
69
+ "expo-secure-store": "~12.4.1",
70
+ "expo-sensors": "~12.4.1",
71
+ "expo-sharing": "~11.6.0",
72
72
  "expo-sms": "~11.4.0",
73
- "expo-speech": "~11.3.0",
74
- "expo-splash-screen": "~0.20.5",
75
- "expo-sqlite": "~11.3.2",
76
- "expo-status-bar": "~1.6.0",
77
- "expo-store-review": "~6.4.0",
78
- "expo-system-ui": "~2.4.0",
79
- "expo-task-manager": "~11.3.0",
80
- "expo-tracking-transparency": "~3.1.0",
81
- "expo-updates": "~0.18.11",
82
- "expo-video-thumbnails": "~7.4.0",
83
- "expo-web-browser": "~12.3.2",
73
+ "expo-speech": "~11.4.0",
74
+ "expo-splash-screen": "~0.21.1",
75
+ "expo-sqlite": "~11.5.0",
76
+ "expo-status-bar": "~1.7.1",
77
+ "expo-store-review": "~6.5.0",
78
+ "expo-system-ui": "~2.5.0",
79
+ "expo-task-manager": "~11.4.0",
80
+ "expo-tracking-transparency": "~3.2.0",
81
+ "expo-updates": "~0.19.1",
82
+ "expo-video-thumbnails": "~7.5.0",
83
+ "expo-web-browser": "~12.4.1",
84
84
  "lottie-react-native": "5.1.6",
85
85
  "react": "18.2.0",
86
86
  "react-dom": "18.2.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo",
3
- "version": "49.0.6",
3
+ "version": "50.0.0-alpha.1",
4
4
  "description": "The Expo SDK",
5
5
  "main": "build/Expo.js",
6
6
  "module": "build/Expo.js",
@@ -58,36 +58,28 @@
58
58
  "homepage": "https://github.com/expo/expo/tree/main/packages/expo",
59
59
  "dependencies": {
60
60
  "@babel/runtime": "^7.20.0",
61
- "@expo/cli": "0.10.11",
61
+ "@expo/cli": "0.11.1",
62
+ "@expo/config": "8.2.1",
63
+ "@expo/config-plugins": "7.3.1",
62
64
  "@expo/vector-icons": "^13.0.0",
63
- "@expo/config-plugins": "7.2.5",
64
- "@expo/config": "8.1.2",
65
- "babel-preset-expo": "~9.5.1",
66
- "expo-application": "~5.3.0",
67
- "expo-asset": "~8.10.1",
68
- "expo-constants": "~14.4.2",
69
- "expo-file-system": "~15.4.2",
70
- "expo-font": "~11.4.0",
71
- "expo-keep-awake": "~12.3.0",
65
+ "babel-preset-expo": "~9.6.1",
66
+ "expo-application": "~5.3.1",
67
+ "expo-asset": "~8.11.0",
68
+ "expo-constants": "~14.5.1",
69
+ "expo-file-system": "~15.5.1",
70
+ "expo-font": "~11.5.1",
71
+ "expo-keep-awake": "~12.4.1",
72
72
  "expo-modules-autolinking": "1.5.0",
73
- "expo-modules-core": "1.5.9",
74
- "fbemitter": "^3.0.0",
75
- "invariant": "^2.2.4",
76
- "md5-file": "^3.2.3",
77
- "node-fetch": "^2.6.7",
78
- "pretty-format": "^26.5.2",
79
- "uuid": "^3.4.0"
73
+ "expo-modules-core": "1.6.0",
74
+ "md5-file": "^3.2.3"
80
75
  },
81
76
  "devDependencies": {
82
- "@types/fbemitter": "^2.0.32",
83
- "@types/invariant": "^2.2.33",
84
77
  "@types/react": "~18.0.14",
85
78
  "@types/react-test-renderer": "^18.0.0",
86
- "@types/uuid": "^3.4.7",
87
- "expo-module-scripts": "^3.0.11",
79
+ "expo-module-scripts": "^3.1.0",
88
80
  "react": "18.2.0",
89
81
  "react-dom": "18.2.0",
90
82
  "react-native": "0.72.3"
91
83
  },
92
- "gitHead": "0d774d352ca6d11f83a3223199c8e5f6ba4c8e09"
84
+ "gitHead": "2240630a92eb79a4e4bf73e1439916c394876478"
93
85
  }
@@ -1,2 +0,0 @@
1
- export default function getInstallationIdAsync(): string;
2
- //# sourceMappingURL=getInstallationIdAsync.android.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getInstallationIdAsync.android.d.ts","sourceRoot":"","sources":["../../src/environment/getInstallationIdAsync.android.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,sBAAsB,WAE7C"}
@@ -1,5 +0,0 @@
1
- import * as Application from 'expo-application';
2
- export default function getInstallationIdAsync() {
3
- return Application.androidId;
4
- }
5
- //# sourceMappingURL=getInstallationIdAsync.android.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getInstallationIdAsync.android.js","sourceRoot":"","sources":["../../src/environment/getInstallationIdAsync.android.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAC;AAEhD,MAAM,CAAC,OAAO,UAAU,sBAAsB;IAC5C,OAAO,WAAW,CAAC,SAAU,CAAC;AAChC,CAAC","sourcesContent":["import * as Application from 'expo-application';\n\nexport default function getInstallationIdAsync() {\n return Application.androidId!;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export default function getInstallationIdAsync(): Promise<string>;
2
- //# sourceMappingURL=getInstallationIdAsync.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getInstallationIdAsync.d.ts","sourceRoot":"","sources":["../../src/environment/getInstallationIdAsync.ts"],"names":[],"mappings":"AAMA,wBAA8B,sBAAsB,oBAmBnD"}
@@ -1,23 +0,0 @@
1
- import * as Application from 'expo-application';
2
- import uuidv5 from 'uuid/v5';
3
- let installationId;
4
- const UUID_NAMESPACE = '29cc8a0d-747c-5f85-9ff9-f2f16636d963'; // uuidv5(0, "expo")
5
- export default async function getInstallationIdAsync() {
6
- if (installationId) {
7
- return installationId;
8
- }
9
- const identifierForVendor = await Application.getIosIdForVendorAsync();
10
- const bundleIdentifier = Application.applicationId;
11
- // It's unlikely identifierForVendor will be null (it returns null if the
12
- // device has been restarted but not yet unlocked), but let's handle this
13
- // case.
14
- if (identifierForVendor) {
15
- installationId = uuidv5(`${bundleIdentifier}-${identifierForVendor}`, UUID_NAMESPACE);
16
- }
17
- else {
18
- const installationTime = await Application.getInstallationTimeAsync();
19
- installationId = uuidv5(`${bundleIdentifier}-${installationTime.getTime()}`, UUID_NAMESPACE);
20
- }
21
- return installationId;
22
- }
23
- //# sourceMappingURL=getInstallationIdAsync.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getInstallationIdAsync.js","sourceRoot":"","sources":["../../src/environment/getInstallationIdAsync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAC;AAChD,OAAO,MAAM,MAAM,SAAS,CAAC;AAE7B,IAAI,cAA6B,CAAC;AAClC,MAAM,cAAc,GAAG,sCAAsC,CAAC,CAAC,oBAAoB;AAEnF,MAAM,CAAC,OAAO,CAAC,KAAK,UAAU,sBAAsB;IAClD,IAAI,cAAc,EAAE;QAClB,OAAO,cAAc,CAAC;KACvB;IAED,MAAM,mBAAmB,GAAG,MAAM,WAAW,CAAC,sBAAsB,EAAE,CAAC;IACvE,MAAM,gBAAgB,GAAG,WAAW,CAAC,aAAc,CAAC;IAEpD,yEAAyE;IACzE,yEAAyE;IACzE,QAAQ;IACR,IAAI,mBAAmB,EAAE;QACvB,cAAc,GAAG,MAAM,CAAC,GAAG,gBAAgB,IAAI,mBAAmB,EAAE,EAAE,cAAc,CAAC,CAAC;KACvF;SAAM;QACL,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,wBAAwB,EAAE,CAAC;QACtE,cAAc,GAAG,MAAM,CAAC,GAAG,gBAAgB,IAAI,gBAAgB,CAAC,OAAO,EAAE,EAAE,EAAE,cAAc,CAAC,CAAC;KAC9F;IAED,OAAO,cAAc,CAAC;AACxB,CAAC","sourcesContent":["import * as Application from 'expo-application';\nimport uuidv5 from 'uuid/v5';\n\nlet installationId: string | null;\nconst UUID_NAMESPACE = '29cc8a0d-747c-5f85-9ff9-f2f16636d963'; // uuidv5(0, \"expo\")\n\nexport default async function getInstallationIdAsync() {\n if (installationId) {\n return installationId;\n }\n\n const identifierForVendor = await Application.getIosIdForVendorAsync();\n const bundleIdentifier = Application.applicationId!;\n\n // It's unlikely identifierForVendor will be null (it returns null if the\n // device has been restarted but not yet unlocked), but let's handle this\n // case.\n if (identifierForVendor) {\n installationId = uuidv5(`${bundleIdentifier}-${identifierForVendor}`, UUID_NAMESPACE);\n } else {\n const installationTime = await Application.getInstallationTimeAsync();\n installationId = uuidv5(`${bundleIdentifier}-${installationTime.getTime()}`, UUID_NAMESPACE);\n }\n\n return installationId;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export default function getInstallationIdAsync(): Promise<string>;
2
- //# sourceMappingURL=getInstallationIdAsync.web.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getInstallationIdAsync.web.d.ts","sourceRoot":"","sources":["../../src/environment/getInstallationIdAsync.web.ts"],"names":[],"mappings":"AAMA,wBAA8B,sBAAsB,oBA2BnD"}
@@ -1,31 +0,0 @@
1
- import { v4 as uuidv4 } from 'uuid';
2
- const INSTALLATION_ID_KEY = 'installationId';
3
- let installationId = null;
4
- export default async function getInstallationIdAsync() {
5
- // Already cached value
6
- if (installationId) {
7
- return installationId;
8
- }
9
- try {
10
- // No cached value, fetch from persisted storage
11
- installationId = localStorage.getItem(INSTALLATION_ID_KEY);
12
- if (installationId) {
13
- return installationId;
14
- }
15
- }
16
- catch {
17
- // If we weren't able to fetch one (for whatever reason)
18
- // let's create a new one.
19
- }
20
- // No persisted value, set the cached value...
21
- installationId = uuidv4();
22
- // ...and try to persist it. Ignore the errors.
23
- try {
24
- localStorage.setItem(INSTALLATION_ID_KEY, installationId);
25
- }
26
- catch (error) {
27
- console.debug('Could not save installation ID in persisted storage, it will get reset.', error);
28
- }
29
- return installationId;
30
- }
31
- //# sourceMappingURL=getInstallationIdAsync.web.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getInstallationIdAsync.web.js","sourceRoot":"","sources":["../../src/environment/getInstallationIdAsync.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AAEpC,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAE7C,IAAI,cAAc,GAAkB,IAAI,CAAC;AAEzC,MAAM,CAAC,OAAO,CAAC,KAAK,UAAU,sBAAsB;IAClD,uBAAuB;IACvB,IAAI,cAAc,EAAE;QAClB,OAAO,cAAc,CAAC;KACvB;IAED,IAAI;QACF,gDAAgD;QAChD,cAAc,GAAG,YAAY,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;QAC3D,IAAI,cAAc,EAAE;YAClB,OAAO,cAAc,CAAC;SACvB;KACF;IAAC,MAAM;QACN,wDAAwD;QACxD,0BAA0B;KAC3B;IAED,8CAA8C;IAC9C,cAAc,GAAG,MAAM,EAAE,CAAC;IAC1B,+CAA+C;IAC/C,IAAI;QACF,YAAY,CAAC,OAAO,CAAC,mBAAmB,EAAE,cAAc,CAAC,CAAC;KAC3D;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,CAAC,KAAK,CAAC,yEAAyE,EAAE,KAAK,CAAC,CAAC;KACjG;IAED,OAAO,cAAc,CAAC;AACxB,CAAC","sourcesContent":["import { v4 as uuidv4 } from 'uuid';\n\nconst INSTALLATION_ID_KEY = 'installationId';\n\nlet installationId: string | null = null;\n\nexport default async function getInstallationIdAsync() {\n // Already cached value\n if (installationId) {\n return installationId;\n }\n\n try {\n // No cached value, fetch from persisted storage\n installationId = localStorage.getItem(INSTALLATION_ID_KEY);\n if (installationId) {\n return installationId;\n }\n } catch {\n // If we weren't able to fetch one (for whatever reason)\n // let's create a new one.\n }\n\n // No persisted value, set the cached value...\n installationId = uuidv4();\n // ...and try to persist it. Ignore the errors.\n try {\n localStorage.setItem(INSTALLATION_ID_KEY, installationId);\n } catch (error) {\n console.debug('Could not save installation ID in persisted storage, it will get reset.', error);\n }\n\n return installationId;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=logging.fx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"logging.fx.d.ts","sourceRoot":"","sources":["../../src/environment/logging.fx.ts"],"names":[],"mappings":""}
@@ -1,63 +0,0 @@
1
- import Constants from 'expo-constants';
2
- import { Platform } from 'expo-modules-core';
3
- import getDevServer from 'react-native/Libraries/Core/Devtools/getDevServer';
4
- // Metro and terser don't seem to be capable of shaking the imports unless they're wrapped in __DEV__.
5
- if (__DEV__) {
6
- // If the app is being run outside of the Expo Go app and not using expo-dev-menu,
7
- // then we can attempt to polyfill the `logUrl` to enable console logging in the CLI.
8
- if (
9
- // If this is defined then we can be define Constants.manifest.logUrl without worrying about the warning.
10
- Constants.__unsafeNoWarnManifest &&
11
- // Only attempt to set the URL if `Constants.__unsafeNoWarnManifest.logUrl` is not defined.
12
- !Constants.__unsafeNoWarnManifest.logUrl) {
13
- const devServerInfo = getDevServer();
14
- // Ensure the URL is remote and not local. i.e `file://`
15
- if (devServerInfo.bundleLoadedFromServer) {
16
- // url: `http://localhost:8081/`
17
- const url = !devServerInfo.url.endsWith('/') ? `${devServerInfo.url}/` : devServerInfo.url;
18
- // The standard Expo logUrl is `http://localhost:8081/logs`, this code assumes that the `logs` endpoint doesn't change.
19
- const logUrl = url + 'logs';
20
- Constants.__unsafeNoWarnManifest.logUrl = logUrl;
21
- if (Constants.expoGoConfig) {
22
- Constants.expoGoConfig.logUrl = logUrl;
23
- }
24
- }
25
- }
26
- else if (
27
- // If this is defined then we can be define Constants.manifest2.extra.expoGo.logUrl without worrying about the warning.
28
- Constants.__unsafeNoWarnManifest2 &&
29
- // Only attempt to set the URL if `Constants.__unsafeNoWarnManifest2.logUrl` is not defined.
30
- !Constants.__unsafeNoWarnManifest2.extra?.expoGo?.logUrl) {
31
- const devServerInfo = getDevServer();
32
- // Ensure the URL is remote and not local. i.e `file://`
33
- if (devServerInfo.bundleLoadedFromServer) {
34
- // url: `http://localhost:8081/`
35
- const url = !devServerInfo.url.endsWith('/') ? `${devServerInfo.url}/` : devServerInfo.url;
36
- // The standard Expo logUrl is `http://localhost:8081/logs`, this code assumes that the `logs` endpoint doesn't change.
37
- const logUrl = url + 'logs';
38
- if (Constants.__unsafeNoWarnManifest2.extra?.expoGo) {
39
- Constants.__unsafeNoWarnManifest2.extra.expoGo.logUrl = logUrl;
40
- }
41
- if (Constants.manifest2?.extra?.expoGo) {
42
- Constants.manifest2.extra.expoGo.logUrl = logUrl;
43
- }
44
- }
45
- }
46
- // TODO: Maybe warn that console logging will not be enabled.
47
- if (Constants.__unsafeNoWarnManifest?.logUrl ||
48
- Constants.__unsafeNoWarnManifest2?.extra?.expoGo?.logUrl) {
49
- // Enable logging to the Expo dev tools only if this JS is not running in a web browser (ex: the
50
- // remote debugger). In Expo Web we don't show console logs in the CLI, so there's no special case needed.
51
- if (Platform.isAsyncDebugging) {
52
- const RemoteLogging = require('../logs/RemoteLogging').default;
53
- RemoteLogging.enqueueRemoteLogAsync('info', {}, [
54
- 'You are now debugging remotely; check your browser console for your application logs.',
55
- ]);
56
- }
57
- else {
58
- const Logs = require('../logs/Logs');
59
- Logs.enableExpoCliLogging();
60
- }
61
- }
62
- }
63
- //# sourceMappingURL=logging.fx.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"logging.fx.js","sourceRoot":"","sources":["../../src/environment/logging.fx.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,YAAY,MAAM,mDAAmD,CAAC;AAE7E,sGAAsG;AACtG,IAAI,OAAO,EAAE;IACX,kFAAkF;IAClF,qFAAqF;IACrF;IACE,yGAAyG;IACzG,SAAS,CAAC,sBAAsB;QAChC,2FAA2F;QAC3F,CAAC,SAAS,CAAC,sBAAsB,CAAC,MAAM,EACxC;QACA,MAAM,aAAa,GAAG,YAAY,EAAE,CAAC;QACrC,wDAAwD;QACxD,IAAI,aAAa,CAAC,sBAAsB,EAAE;YACxC,gCAAgC;YAChC,MAAM,GAAG,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC;YAC3F,uHAAuH;YAEvH,MAAM,MAAM,GAAG,GAAG,GAAG,MAAM,CAAC;YAC5B,SAAS,CAAC,sBAAsB,CAAC,MAAM,GAAG,MAAM,CAAC;YACjD,IAAI,SAAS,CAAC,YAAY,EAAE;gBAC1B,SAAS,CAAC,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC;aACxC;SACF;KACF;SAAM;IACL,uHAAuH;IACvH,SAAS,CAAC,uBAAuB;QACjC,4FAA4F;QAC5F,CAAC,SAAS,CAAC,uBAAuB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EACxD;QACA,MAAM,aAAa,GAAG,YAAY,EAAE,CAAC;QACrC,wDAAwD;QACxD,IAAI,aAAa,CAAC,sBAAsB,EAAE;YACxC,gCAAgC;YAChC,MAAM,GAAG,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC;YAC3F,uHAAuH;YAEvH,MAAM,MAAM,GAAG,GAAG,GAAG,MAAM,CAAC;YAC5B,IAAI,SAAS,CAAC,uBAAuB,CAAC,KAAK,EAAE,MAAM,EAAE;gBACnD,SAAS,CAAC,uBAAuB,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC;aAChE;YACD,IAAI,SAAS,CAAC,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE;gBACtC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC;aAClD;SACF;KACF;IACD,6DAA6D;IAE7D,IACE,SAAS,CAAC,sBAAsB,EAAE,MAAM;QACxC,SAAS,CAAC,uBAAuB,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EACxD;QACA,gGAAgG;QAChG,0GAA0G;QAC1G,IAAI,QAAQ,CAAC,gBAAgB,EAAE;YAC7B,MAAM,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC;YAC/D,aAAa,CAAC,qBAAqB,CAAC,MAAM,EAAE,EAAE,EAAE;gBAC9C,uFAAuF;aACxF,CAAC,CAAC;SACJ;aAAM;YACL,MAAM,IAAI,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;YACrC,IAAI,CAAC,oBAAoB,EAAE,CAAC;SAC7B;KACF;CACF","sourcesContent":["import Constants from 'expo-constants';\nimport { Platform } from 'expo-modules-core';\nimport getDevServer from 'react-native/Libraries/Core/Devtools/getDevServer';\n\n// Metro and terser don't seem to be capable of shaking the imports unless they're wrapped in __DEV__.\nif (__DEV__) {\n // If the app is being run outside of the Expo Go app and not using expo-dev-menu,\n // then we can attempt to polyfill the `logUrl` to enable console logging in the CLI.\n if (\n // If this is defined then we can be define Constants.manifest.logUrl without worrying about the warning.\n Constants.__unsafeNoWarnManifest &&\n // Only attempt to set the URL if `Constants.__unsafeNoWarnManifest.logUrl` is not defined.\n !Constants.__unsafeNoWarnManifest.logUrl\n ) {\n const devServerInfo = getDevServer();\n // Ensure the URL is remote and not local. i.e `file://`\n if (devServerInfo.bundleLoadedFromServer) {\n // url: `http://localhost:8081/`\n const url = !devServerInfo.url.endsWith('/') ? `${devServerInfo.url}/` : devServerInfo.url;\n // The standard Expo logUrl is `http://localhost:8081/logs`, this code assumes that the `logs` endpoint doesn't change.\n\n const logUrl = url + 'logs';\n Constants.__unsafeNoWarnManifest.logUrl = logUrl;\n if (Constants.expoGoConfig) {\n Constants.expoGoConfig.logUrl = logUrl;\n }\n }\n } else if (\n // If this is defined then we can be define Constants.manifest2.extra.expoGo.logUrl without worrying about the warning.\n Constants.__unsafeNoWarnManifest2 &&\n // Only attempt to set the URL if `Constants.__unsafeNoWarnManifest2.logUrl` is not defined.\n !Constants.__unsafeNoWarnManifest2.extra?.expoGo?.logUrl\n ) {\n const devServerInfo = getDevServer();\n // Ensure the URL is remote and not local. i.e `file://`\n if (devServerInfo.bundleLoadedFromServer) {\n // url: `http://localhost:8081/`\n const url = !devServerInfo.url.endsWith('/') ? `${devServerInfo.url}/` : devServerInfo.url;\n // The standard Expo logUrl is `http://localhost:8081/logs`, this code assumes that the `logs` endpoint doesn't change.\n\n const logUrl = url + 'logs';\n if (Constants.__unsafeNoWarnManifest2.extra?.expoGo) {\n Constants.__unsafeNoWarnManifest2.extra.expoGo.logUrl = logUrl;\n }\n if (Constants.manifest2?.extra?.expoGo) {\n Constants.manifest2.extra.expoGo.logUrl = logUrl;\n }\n }\n }\n // TODO: Maybe warn that console logging will not be enabled.\n\n if (\n Constants.__unsafeNoWarnManifest?.logUrl ||\n Constants.__unsafeNoWarnManifest2?.extra?.expoGo?.logUrl\n ) {\n // Enable logging to the Expo dev tools only if this JS is not running in a web browser (ex: the\n // remote debugger). In Expo Web we don't show console logs in the CLI, so there's no special case needed.\n if (Platform.isAsyncDebugging) {\n const RemoteLogging = require('../logs/RemoteLogging').default;\n RemoteLogging.enqueueRemoteLogAsync('info', {}, [\n 'You are now debugging remotely; check your browser console for your application logs.',\n ]);\n } else {\n const Logs = require('../logs/Logs');\n Logs.enableExpoCliLogging();\n }\n }\n}\n"]}