expo-dev-launcher 2.4.4 → 2.4.6

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/CHANGELOG.md CHANGED
@@ -10,6 +10,18 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 2.4.6 — 2023-07-04
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 2.4.5 — 2023-06-30
18
+
19
+ ### 🐛 Bug fixes
20
+
21
+ - Enable network inspector by default even the `EX_DEV_CLIENT_NETWORK_INSPECTOR` property is not defined. ([#23185](https://github.com/expo/expo/pull/23185) by [@kudo](https://github.com/kudo))
22
+ - Fixed iOS build errors in `use_frameworks!` mode. ([#23218](https://github.com/expo/expo/pull/23218) by [@kudo](https://github.com/kudo))
23
+ - Added support for React Native 0.72.1. ([#23262](https://github.com/expo/expo/pull/23262) by [@kudo](https://github.com/kudo))
24
+
13
25
  ## 2.4.4 — 2023-06-28
14
26
 
15
27
  ### 🐛 Bug fixes
@@ -41,7 +41,7 @@ android {
41
41
  minSdkVersion safeExtGet('minSdkVersion', 21)
42
42
  targetSdkVersion safeExtGet("targetSdkVersion", 33)
43
43
  versionCode 9
44
- versionName "2.4.4"
44
+ versionName "2.4.6"
45
45
  }
46
46
 
47
47
  lintOptions {
@@ -422,7 +422,7 @@ __d((function(g,r,i,a,m,_e,d){'use strict';var t=r(d[0]),n=r(d[1]),e=r(d[2]),u=r
422
422
  __d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicColorIOS=void 0;e.DynamicColorIOS=function(o){throw new Error('DynamicColorIOS is not available on this platform.')}}),416,[]);
423
423
  __d((function(g,r,_i,a,m,_e,d){var e=r(d[0]),t=e(r(d[1])),n=e(r(d[2])),i=e(r(d[3])),o=e(r(d[4])),c=e(r(d[5])),l=e(r(d[6])),u=e(r(d[7])),s=e(r(d[8])),v=e(r(d[9])),f=r(d[10]),S=r(d[11]),h=r(d[12]),p=e(r(d[13])),y=e(r(d[14])),w=r(d[15]),N=r(d[16]),b=["children"],C=["enabled","freezeOnBlur"],k=["active","activityState","children","isNativeStack","gestureResponseDistance"],x=["active","activityState","style","onComponentRef"],R=["enabled","hasTwoStates"];function B(e){var t=O();return function(){var n,i=(0,c.default)(e);if(t){var l=(0,c.default)(this).constructor;n=Reflect.construct(i,arguments,l)}else n=i.apply(this,arguments);return(0,o.default)(this,n)}}function O(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var H='ios'===f.Platform.OS||'android'===f.Platform.OS||'windows'===f.Platform.OS,A=H;var F=!1;var I,V,z,D,T,W,M,_,q,E;var U={get NativeScreen(){return I=I||r(d[17]).default},get NativeScreenContainer(){return V=V||r(d[18]).default},get NativeScreenNavigationContainer(){return z=z||('ios'===f.Platform.OS?(0,f.requireNativeComponent)('RNSScreenNavigationContainer'):this.NativeScreenContainer)},get NativeScreenStack(){return D=D||(0,f.requireNativeComponent)('RNSScreenStack')},get NativeScreenStackHeaderConfig(){return T=T||(0,f.requireNativeComponent)('RNSScreenStackHeaderConfig')},get NativeScreenStackHeaderSubview(){return W=W||(0,f.requireNativeComponent)('RNSScreenStackHeaderSubview')},get NativeSearchBar(){return _=_||r(d[19]).default},get NativeSearchBarCommands(){return q=q||r(d[19]).Commands},get NativeFullWindowOverlay(){return E=E||(0,f.requireNativeComponent)('RNSFullWindowOverlay')}};function L(e){var t=e.freeze,n=e.children,i=v.default.useState(!1),o=(0,s.default)(i,2),c=o[0],l=o[1];return t!==c&&setImmediate((function(){l(t)})),(0,N.jsx)(S.Freeze,{freeze:!!t&&c,children:n})}var G=(function(e){(0,i.default)(c,e);var o=B(c);function c(){var e;(0,t.default)(this,c);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return(e=o.call.apply(o,[this].concat(i))).ref=null,e.closing=new f.Animated.Value(0),e.progress=new f.Animated.Value(0),e.goingForward=new f.Animated.Value(0),e.setRef=function(t){e.ref=t,null==e.props.onComponentRef||e.props.onComponentRef(t)},e}return(0,n.default)(c,[{key:"setNativeProps",value:function(e){var t;null==(t=this.ref)||t.setNativeProps(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.enabled,i=void 0===n?A:n,o=t.freezeOnBlur,c=void 0===o?F:o,l=(0,u.default)(t,C);if(i&&H){var s,v,S,h;M=M||f.Animated.createAnimatedComponent(U.NativeScreen);var y=l.active,w=l.activityState,b=l.children,R=l.isNativeStack,B=l.gestureResponseDistance,O=(0,u.default)(l,k);void 0!==y&&void 0===w&&(console.warn('It appears that you are using old version of react-navigation library. Please update @react-navigation/bottom-tabs, @react-navigation/stack and @react-navigation/drawer to version 5.10.0 or above to take full advantage of new functionality added to react-native-screens'),w=0!==y?2:0);return(0,N.jsx)(L,{freeze:c&&0===w,children:(0,N.jsx)(M,P(P({},O),{},{activityState:w,gestureResponseDistance:{start:null!=(s=null==B?void 0:B.start)?s:-1,end:null!=(v=null==B?void 0:B.end)?v:-1,top:null!=(S=null==B?void 0:B.top)?S:-1,bottom:null!=(h=null==B?void 0:B.bottom)?h:-1},ref:function(t){var n,i;null!=t&&null!=(n=t.viewConfig)&&null!=(i=n.validAttributes)&&i.style&&(t.viewConfig.validAttributes.style=P(P({},t.viewConfig.validAttributes.style),{},{display:!1}),e.setRef(t))},onTransitionProgress:R?f.Animated.event([{nativeEvent:{progress:this.progress,closing:this.closing,goingForward:this.goingForward}}],{useNativeDriver:!0}):void 0,children:R?(0,N.jsx)(p.default.Provider,{value:{progress:this.progress,closing:this.closing,goingForward:this.goingForward},children:b}):b}))})}var j=l.active,I=l.activityState,V=l.style,z=(l.onComponentRef,(0,u.default)(l,x));return void 0!==j&&void 0===I&&(I=0!==j?2:0),(0,N.jsx)(f.Animated.View,P({style:[V,{display:0!==I?'flex':'none'}],ref:this.setRef},z))}}]),c})(v.default.Component);var J=f.StyleSheet.create({headerSubview:{position:'absolute',top:0,right:0,flexDirection:'row',alignItems:'center',justifyContent:'center'}}),K=(function(e){(0,i.default)(c,e);var o=B(c);function c(e){var n;return(0,t.default)(this,c),(n=o.call(this,e)).nativeSearchBarRef=v.default.createRef(),n}return(0,n.default)(c,[{key:"_callMethodWithRef",value:function(e){var t=this.nativeSearchBarRef.current;t?e(t):console.warn('Reference to native search bar component has not been updated yet')}},{key:"blur",value:function(){this._callMethodWithRef((function(e){return U.NativeSearchBarCommands.blur(e)}))}},{key:"focus",value:function(){this._callMethodWithRef((function(e){return U.NativeSearchBarCommands.focus(e)}))}},{key:"toggleCancelButton",value:function(e){this._callMethodWithRef((function(t){return U.NativeSearchBarCommands.toggleCancelButton(t,e)}))}},{key:"clearText",value:function(){this._callMethodWithRef((function(e){return U.NativeSearchBarCommands.clearText(e)}))}},{key:"setText",value:function(e){this._callMethodWithRef((function(t){return U.NativeSearchBarCommands.setText(t,e)}))}},{key:"render",value:function(){return w.isSearchBarAvailableForCurrentPlatform?(0,N.jsx)(U.NativeSearchBar,P(P({},this.props),{},{ref:this.nativeSearchBarRef})):(console.warn('Importing SearchBar is only valid on iOS and Android devices.'),f.View)}}]),c})(v.default.Component),Q=v.default.createContext(G),X=(function(e){(0,i.default)(c,e);var o=B(c);function c(){return(0,t.default)(this,c),o.apply(this,arguments)}return(0,n.default)(c,[{key:"render",value:function(){var e=this.context||G;return(0,N.jsx)(e,P({},this.props))}}]),c})(v.default.Component);X.contextType=Q,m.exports={Screen:X,ScreenContainer:function(e){var t=e.enabled,n=void 0===t?A:t,i=e.hasTwoStates,o=(0,u.default)(e,R);return n&&H?i?(0,N.jsx)(U.NativeScreenNavigationContainer,P({},o)):(0,N.jsx)(U.NativeScreenContainer,P({},o)):(0,N.jsx)(f.View,P({},o))},ScreenContext:Q,ScreenStack:function(e){var t=e.children,n=(0,u.default)(e,b),i=v.default.Children.count(t),o=v.default.Children.map(t,(function(e,t){var n,o,c,l,u=e.props,s=e.key,v=null!=(n=null==u?void 0:u.descriptor)?n:null==u||null==(o=u.descriptors)?void 0:o[s],f=null!=(c=null==v||null==(l=v.options)?void 0:l.freezeOnBlur)?c:F;return(0,N.jsx)(L,{freeze:f&&i-t>1,children:e})}));return(0,N.jsx)(U.NativeScreenStack,P(P({},n),{},{children:o}))},InnerScreen:G,SearchBar:K,FullWindowOverlay:function(e){return'ios'!==f.Platform.OS?(console.warn('Importing FullWindowOverlay is only valid on iOS devices.'),(0,N.jsx)(f.View,P({},e))):(0,N.jsx)(U.NativeFullWindowOverlay,{style:{position:'absolute',width:'100%',height:'100%'},children:e.children})},get NativeScreen(){return U.NativeScreen},get NativeScreenContainer(){return U.NativeScreenContainer},get NativeScreenNavigationContainer(){return U.NativeScreenNavigationContainer},get ScreenStackHeaderConfig(){return U.NativeScreenStackHeaderConfig},get ScreenStackHeaderSubview(){return U.NativeScreenStackHeaderSubview},get SearchBarCommands(){return U.NativeSearchBarCommands},ScreenStackHeaderBackButtonImage:function(e){return(0,N.jsx)(U.NativeScreenStackHeaderSubview,{type:"back",style:J.headerSubview,children:(0,N.jsx)(f.Image,P({resizeMode:"center",fadeDuration:0},e))})},ScreenStackHeaderRightView:function(e){return(0,N.jsx)(U.NativeScreenStackHeaderSubview,P(P({},e),{},{type:"right",style:J.headerSubview}))},ScreenStackHeaderLeftView:function(e){return(0,N.jsx)(U.NativeScreenStackHeaderSubview,P(P({},e),{},{type:"left",style:J.headerSubview}))},ScreenStackHeaderCenterView:function(e){return(0,N.jsx)(U.NativeScreenStackHeaderSubview,P(P({},e),{},{type:"center",style:J.headerSubview}))},ScreenStackHeaderSearchBarView:function(e){return(0,N.jsx)(U.NativeScreenStackHeaderSubview,P(P({},e),{},{type:"searchBar",style:J.headerSubview}))},enableScreens:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(A=H&&e)&&!f.UIManager.getViewManagerConfig('RNSScreen')&&console.error("Screen native module hasn't been linked. Please check the react-native-screens README for more details")},enableFreeze:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=parseInt(h.version.split('.')[1]);0===t||t>=64||!e||console.warn('react-freeze library requires at least react-native 0.64. Please upgrade your react-native version in order to use this feature.'),F=e},screensEnabled:function(){return A},shouldUseActivityState:!0,useTransitionProgress:y.default,isSearchBarAvailableForCurrentPlatform:w.isSearchBarAvailableForCurrentPlatform,isNewBackTitleImplementation:w.isNewBackTitleImplementation,executeNativeBackPress:w.executeNativeBackPress}}),417,[6,15,16,32,34,36,31,164,47,96,2,418,419,420,421,422,204,423,424,425]);
424
424
  __d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Freeze=function(o){var u=o.freeze,c=o.children,l=o.placeholder,p=void 0===l?null:l;return(0,n.jsx)(t.Suspense,{fallback:p,children:(0,n.jsx)(f,{freeze:u,children:c})})};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=o(n);if(f&&f.has(t))return f.get(t);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(u,l,p):u[l]=t[l]}u.default=t,f&&f.set(t,u);return u})(r(d[0])),n=r(d[1]);function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,f=new WeakMap;return(o=function(t){return t?f:n})(t)}function f(o){var f=o.freeze,u=o.children,c=(0,t.useRef)({}).current;if(f&&!c.promise)throw c.promise=new Promise((function(t){c.resolve=t})),c.promise;if(f)throw c.promise;return c.promise&&(c.resolve(),c.promise=void 0),(0,n.jsx)(t.Fragment,{children:u})}}),418,[96,204]);
425
- __d((function(e,s,t,r,i,c,a){i.exports={name:"react-native",version:"0.72.0",bin:"./cli.js",description:"A framework for building native apps using React",license:"MIT",repository:"github:facebook/react-native",engines:{node:">=16"},types:"types","jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},files:["android","build.gradle.kts","cli.js","flow","flow-typed","gradle.properties","index.js","interface.js","jest-preset.js","jest","Libraries","LICENSE","local-cli","React-Core.podspec","react-native.config.js","React.podspec","React","ReactAndroid","ReactCommon","README.md","rn-get-polyfills.js","scripts/compose-source-maps.js","scripts/find-node-for-xcode.sh","scripts/generate-codegen-artifacts.js","scripts/generate-provider-cli.js","scripts/generate-specs-cli.js","scripts/codegen","!scripts/codegen/__tests__","!scripts/codegen/__test_fixtures__","scripts/hermes/hermes-utils.js","scripts/hermes/prepare-hermes-for-build.js","scripts/ios-configure-glog.sh","scripts/xcode/with-environment.sh","scripts/launchPackager.bat","scripts/launchPackager.command","scripts/native_modules.rb","scripts/node-binary.sh","scripts/packager.sh","scripts/packager-reporter.js","scripts/react_native_pods_utils/script_phases.rb","scripts/react_native_pods_utils/script_phases.sh","scripts/react_native_pods.rb","scripts/cocoapods","!scripts/cocoapods/__tests__","scripts/react-native-xcode.sh","sdks/.hermesversion","sdks/hermes-engine","sdks/hermesc","settings.gradle.kts","template.config.js","template","!template/node_modules","!template/package-lock.json","!template/yarn.lock","third-party-podspecs","types"],scripts:{prepack:"cp ../../README.md ."},peerDependencies:{react:"18.2.0"},dependencies:{"@jest/create-cache-key-function":"^29.2.1","@react-native-community/cli":"11.3.2","@react-native-community/cli-platform-android":"11.3.2","@react-native-community/cli-platform-ios":"11.3.2","@react-native/assets-registry":"^0.72.0","@react-native/codegen":"^0.72.6","@react-native/gradle-plugin":"^0.72.10","@react-native/js-polyfills":"^0.72.1","@react-native/normalize-colors":"^0.72.0","@react-native/virtualized-lists":"^0.72.5","abort-controller":"^3.0.0",anser:"^1.4.9","base64-js":"^1.1.2","deprecated-react-native-prop-types":"4.1.0","event-target-shim":"^5.0.1","flow-enums-runtime":"^0.0.5",invariant:"^2.2.4","jest-environment-node":"^29.2.1","jsc-android":"^250231.0.0","memoize-one":"^5.0.0","metro-runtime":"0.76.5","metro-source-map":"0.76.5",mkdirp:"^0.5.1",nullthrows:"^1.1.1","pretty-format":"^26.5.2",promise:"^8.3.0","react-devtools-core":"^4.27.2","react-refresh":"^0.4.0","react-shallow-renderer":"^16.15.0","regenerator-runtime":"^0.13.2",scheduler:"0.24.0-canary-efb381bbf-20230505","stacktrace-parser":"^0.1.10","use-sync-external-store":"^1.0.0","whatwg-fetch":"^3.0.0",ws:"^6.2.2",yargs:"^17.6.2"},codegenConfig:{libraries:[{name:"FBReactNativeSpec",type:"modules",ios:{},android:{},jsSrcsDir:"Libraries"},{name:"rncore",type:"components",ios:{},android:{},jsSrcsDir:"Libraries"}]}}}),419,[]);
425
+ __d((function(e,s,t,r,i,c,a){i.exports={name:"react-native",version:"0.72.1",bin:"./cli.js",description:"A framework for building native apps using React",license:"MIT",repository:"github:facebook/react-native",engines:{node:">=16"},types:"types","jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},files:["android","build.gradle.kts","cli.js","flow","flow-typed","gradle.properties","index.js","interface.js","jest-preset.js","jest","Libraries","LICENSE","local-cli","React-Core.podspec","react-native.config.js","React.podspec","React","ReactAndroid","ReactCommon","README.md","rn-get-polyfills.js","scripts/compose-source-maps.js","scripts/find-node-for-xcode.sh","scripts/generate-codegen-artifacts.js","scripts/generate-provider-cli.js","scripts/generate-specs-cli.js","scripts/codegen","!scripts/codegen/__tests__","!scripts/codegen/__test_fixtures__","scripts/hermes/hermes-utils.js","scripts/hermes/prepare-hermes-for-build.js","scripts/ios-configure-glog.sh","scripts/xcode/with-environment.sh","scripts/launchPackager.bat","scripts/launchPackager.command","scripts/native_modules.rb","scripts/node-binary.sh","scripts/packager.sh","scripts/packager-reporter.js","scripts/react_native_pods_utils/script_phases.rb","scripts/react_native_pods_utils/script_phases.sh","scripts/react_native_pods.rb","scripts/cocoapods","!scripts/cocoapods/__tests__","scripts/react-native-xcode.sh","sdks/.hermesversion","sdks/hermes-engine","sdks/hermesc","settings.gradle.kts","template.config.js","template","!template/node_modules","!template/package-lock.json","!template/yarn.lock","third-party-podspecs","types"],scripts:{prepack:"cp ../../README.md ."},peerDependencies:{react:"18.2.0"},dependencies:{"@jest/create-cache-key-function":"^29.2.1","@react-native-community/cli":"11.3.3","@react-native-community/cli-platform-android":"11.3.3","@react-native-community/cli-platform-ios":"11.3.3","@react-native/assets-registry":"^0.72.0","@react-native/codegen":"^0.72.6","@react-native/gradle-plugin":"^0.72.11","@react-native/js-polyfills":"^0.72.1","@react-native/normalize-colors":"^0.72.0","@react-native/virtualized-lists":"^0.72.6","abort-controller":"^3.0.0",anser:"^1.4.9","base64-js":"^1.1.2","deprecated-react-native-prop-types":"4.1.0","event-target-shim":"^5.0.1","flow-enums-runtime":"^0.0.5",invariant:"^2.2.4","jest-environment-node":"^29.2.1","jsc-android":"^250231.0.0","memoize-one":"^5.0.0","metro-runtime":"0.76.5","metro-source-map":"0.76.5",mkdirp:"^0.5.1",nullthrows:"^1.1.1","pretty-format":"^26.5.2",promise:"^8.3.0","react-devtools-core":"^4.27.2","react-refresh":"^0.4.0","react-shallow-renderer":"^16.15.0","regenerator-runtime":"^0.13.2",scheduler:"0.24.0-canary-efb381bbf-20230505","stacktrace-parser":"^0.1.10","use-sync-external-store":"^1.0.0","whatwg-fetch":"^3.0.0",ws:"^6.2.2",yargs:"^17.6.2"},codegenConfig:{libraries:[{name:"FBReactNativeSpec",type:"modules",ios:{},android:{},jsSrcsDir:"Libraries"},{name:"rncore",type:"components",ios:{},android:{},jsSrcsDir:"Libraries"}]}}}),419,[]);
426
426
  __d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n}),420,[96]);
427
427
  __d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=n.useContext(o.default);if(void 0===t)throw new Error("Couldn't find values for transition progress. Are you inside a screen in Native Stack?");return t};var n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,o&&o.set(t,f);return f})(r(d[1])),o=t(r(d[2]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}}),421,[6,96,420]);
428
428
  __d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.executeNativeBackPress=function(){return t.BackHandler.exitApp(),!0},e.isSearchBarAvailableForCurrentPlatform=e.isNewBackTitleImplementation=void 0;var t=r(d[0]),l=['ios','android'].includes(t.Platform.OS);e.isSearchBarAvailableForCurrentPlatform=l;e.isNewBackTitleImplementation=!0}),422,[2]);
@@ -549,7 +549,7 @@ __d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.
549
549
  __d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.DeviceEventEmitter}});var t=r(d[0])}),543,[2]);
550
550
  __d((function(g,r,i,a,m,_e,d){var t=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.CodedError=void 0;var e=t(r(d[1])),n=t(r(d[2])),o=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5]));function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var l=(function(t){(0,o.default)(h,t);var l,s,v=(l=h,s=f(),function(){var t,e=(0,c.default)(l);if(s){var n=(0,c.default)(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return(0,u.default)(this,t)});function h(t,e){var o;return(0,n.default)(this,h),(o=v.call(this,e)).code=t,o}return(0,e.default)(h)})((0,t(r(d[6])).default)(Error));_e.CodedError=l}),544,[6,16,15,32,34,36,37]);
551
551
  __d((function(g,r,i,a,m,_e,d){var e=r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.UnavailabilityError=void 0;var t=e(r(d[1])),n=e(r(d[2])),o=e(r(d[3])),u=e(r(d[4])),l=e(r(d[5])),c=e(r(d[6]));function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var s=(function(e){(0,o.default)(p,e);var s,v,y=(s=p,v=f(),function(){var e,t=(0,l.default)(s);if(v){var n=(0,l.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,u.default)(this,e)});function p(e,t){return(0,n.default)(this,p),y.call(this,'ERR_UNAVAILABLE',`The method or property ${e}.${t} is not available on ${c.default.OS}, are you sure you've linked all the native dependencies properly?`)}return(0,t.default)(p)})(r(d[7]).CodedError);_e.UnavailabilityError=s}),545,[6,16,15,32,34,36,541,544]);
552
- __d((function(g,r,i,a,m,e,d){var o=r(d[0]),C=(r(d[1]),o(r(d[2])),r(d[3]));o(r(d[4]));g.ExpoModulesCore_CodedError=C.CodedError}),546,[6,537,541,544,547]);
552
+ __d((function(g,r,i,a,m,e,d){var o=r(d[0]),l=(r(d[1]),o(r(d[2])),r(d[3]));o(r(d[4]));globalThis.ExpoModulesCore_CodedError=l.CodedError}),546,[6,537,541,544,547]);
553
553
  __d((function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=o(r(d[1])).default.ExpoModulesCoreErrorManager;e.default=u}),547,[6,538]);
554
554
  __d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,f){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=s.currentVersion,c=s.versionToRemove,h=s.replacement,p=v(n),_=`${p}:${f}:${h}`;$[_]||($[_]=!0);if(!u||!c||(0,o.default)(u,c)>=0){var E=`\`${f}\` has been removed`;throw c&&(E=`${E} as of version "${c}"`),h&&h.length&&(E=`${E} please migrate to: \`${h}\``),new t.CodedError("ERR_DEPRECATED_API",l(n,E))}var b=`\`${f}\` has been deprecated`;h&&h.length&&(b=`${b} in favor of \`${h}\``);c&&c.length&&(b=`${b} and will be removed in version "${c}"`);console.warn(l(n,b))};var o=n(r(d[1])),t=r(d[2]),$={};function l(n,o){return`${n}: ${o}`}function v(n){return n.replace(/[-.]/g,'_').toUpperCase()}}),548,[6,549,544]);
555
555
  __d((function(g,r,_i,a,m,e,d){var t,n;t=this,n=function(){var t=/^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;function n(t){var n,i,o=t.replace(/^v/,'').replace(/\+.*$/,''),f=(i='-',-1===(n=o).indexOf(i)?n.length:n.indexOf(i)),u=o.substring(0,f).split('.');return u.push(o.substring(f+1)),u}function i(t){return isNaN(Number(t))?t:Number(t)}function o(n){if('string'!=typeof n)throw new TypeError('Invalid argument expected string');if(!t.test(n))throw new Error('Invalid argument not valid semver (\''+n+'\' received)')}function f(t,f){[t,f].forEach(o);for(var u=n(t),p=n(f),s=0;s<Math.max(u.length-1,p.length-1);s++){var v=parseInt(u[s]||0,10),c=parseInt(p[s]||0,10);if(v>c)return 1;if(c>v)return-1}var l=u[u.length-1],h=p[p.length-1];if(l&&h){var y=l.split('.').map(i),x=h.split('.').map(i);for(s=0;s<Math.max(y.length,x.length);s++){if(void 0===y[s]||'string'==typeof x[s]&&'number'==typeof y[s])return-1;if(void 0===x[s]||'string'==typeof y[s]&&'number'==typeof x[s])return 1;if(y[s]>x[s])return 1;if(x[s]>y[s])return-1}}else if(l||h)return l?-1:1;return 0}var u=['>','>=','=','<','<='],p={'>':[1],'>=':[0,1],'=':[0],'<=':[-1,0],'<':[-1]};function s(t){if('string'!=typeof t)throw new TypeError('Invalid operator type, expected string but got '+typeof t);if(-1===u.indexOf(t))throw new TypeError('Invalid operator, expected one of '+u.join('|'))}return f.validate=function(n){return'string'==typeof n&&t.test(n)},f.compare=function(t,n,i){s(i);var o=f(t,n);return p[i].indexOf(o)>-1},f},'function'==typeof define&&define.amd?define([],n):'object'==typeof e?m.exports=n():t.compareVersions=n()}),549,[]);
@@ -23,7 +23,7 @@ abstract class DevLauncherPlugin : Plugin<Project> {
23
23
 
24
24
  override fun apply(project: Project) {
25
25
  val enableNetworkInspector = project.properties["EX_DEV_CLIENT_NETWORK_INSPECTOR"]?.toString()?.toBoolean()
26
- if (enableNetworkInspector != null && enableNetworkInspector) {
26
+ if (enableNetworkInspector == null || enableNetworkInspector) {
27
27
  // When expo-network-addons is installed, we will let it do the bytecode manipulation
28
28
  val networkAddonsInstalled = project.findProject(":expo-network-addons") != null
29
29
  if (networkAddonsInstalled) {
@@ -37,7 +37,7 @@ Pod::Spec.new do |s|
37
37
  other_c_flags += " -DEX_DEV_LAUNCHER_URL=\"\\\"" + escaped_dev_launcher_url + "\\\"\""
38
38
  end
39
39
  other_swift_flags = "$(inherited)"
40
- if ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] == '1'
40
+ unless ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] == 'false'
41
41
  other_swift_flags += ' -DEX_DEV_CLIENT_NETWORK_INSPECTOR'
42
42
  end
43
43
 
@@ -50,18 +50,25 @@ Pod::Spec.new do |s|
50
50
  'OTHER_CFLAGS' => other_c_flags,
51
51
  }
52
52
 
53
+ header_search_paths = [
54
+ '"$(PODS_ROOT)/Headers/Private/React-Core"',
55
+ '"${PODS_ROOT}/Headers/Public/RNReanimated"',
56
+ '"$(PODS_CONFIGURATION_BUILD_DIR)/EXManifests/Swift Compatibility Header"',
57
+ '"$(PODS_CONFIGURATION_BUILD_DIR)/EXUpdatesInterface/Swift Compatibility Header"',
58
+ ]
59
+
53
60
  # Swift/Objective-C compatibility
54
61
  s.pod_target_xcconfig = {
55
62
  'DEFINES_MODULE' => 'YES',
56
63
  'OTHER_CFLAGS[config=Debug]' => other_c_flags,
57
64
  'OTHER_SWIFT_FLAGS[config=Debug]' => other_swift_flags,
58
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/Headers/Private/React-Core\" \"$(PODS_ROOT)/Headers/Public/RNReanimated\"",
65
+ 'HEADER_SEARCH_PATHS' => header_search_paths.join(' '),
59
66
  'FRAMEWORK_SEARCH_PATHS' => '"${PODS_CONFIGURATION_BUILD_DIR}/RNReanimated"',
60
67
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
61
68
  }
62
69
 
63
70
  s.user_target_xcconfig = {
64
- "HEADER_SEARCH_PATHS" => "\"${PODS_CONFIGURATION_BUILD_DIR}/expo-dev-launcher/Swift Compatibility Header\"",
71
+ 'HEADER_SEARCH_PATHS' => '"${PODS_CONFIGURATION_BUILD_DIR}/expo-dev-launcher/Swift Compatibility Header"',
65
72
  }
66
73
 
67
74
  s.dependency "React-Core"
@@ -1,7 +1,7 @@
1
1
  // Copyright 2015-present 650 Industries. All rights reserved.
2
2
 
3
- #import "EXDevLauncher.h"
4
- #import "EXDevLauncherController.h"
3
+ #import <EXDevLauncher/EXDevLauncher.h>
4
+ #import <EXDevLauncher/EXDevLauncherController.h>
5
5
 
6
6
  #if __has_include(<EXDevLauncher/EXDevLauncher-Swift.h>)
7
7
  // For cocoapods framework, the generated swift header will be inside EXDevLauncher module
@@ -1,5 +1,5 @@
1
- #import "EXDevLauncherBridgeDelegate.h"
2
- #import "EXDevLauncherController.h"
1
+ #import <EXDevLauncher/EXDevLauncherBridgeDelegate.h>
2
+ #import <EXDevLauncher/EXDevLauncherController.h>
3
3
 
4
4
  #import <React/RCTBundleURLProvider.h>
5
5
  #if __has_include(<React_RCTAppDelegate/RCTAppSetupUtils.h>)
@@ -3,8 +3,18 @@
3
3
 
4
4
  #import <UIKit/UIKit.h>
5
5
 
6
+ // When `use_frameworks!` is used, the generated Swift header is inside modules.
7
+ // Otherwise, it's available only locally with double-quoted imports.
8
+ #if __has_include(<EXUpdatesInterface/EXUpdatesInterface-Swift.h>)
6
9
  #import <EXUpdatesInterface/EXUpdatesInterface-Swift.h>
10
+ #else
11
+ #import "EXUpdatesInterface-Swift.h"
12
+ #endif
13
+ #if __has_include(<EXManifests/EXManifests-Swift.h>)
7
14
  #import <EXManifests/EXManifests-Swift.h>
15
+ #else
16
+ #import "EXManifests-Swift.h"
17
+ #endif
8
18
 
9
19
  NS_ASSUME_NONNULL_BEGIN
10
20
 
@@ -8,15 +8,15 @@
8
8
  #import <React/RCTConstants.h>
9
9
  #import <React/RCTKeyCommands.h>
10
10
 
11
- #import "EXDevLauncherController.h"
12
- #import "EXDevLauncherRCTBridge.h"
13
- #import "EXDevLauncherManifestParser.h"
14
- #import "EXDevLauncherLoadingView.h"
15
- #import "EXDevLauncherRCTDevSettings.h"
16
- #import "EXDevLauncherUpdatesHelper.h"
17
- #import "RCTPackagerConnection+EXDevLauncherPackagerConnectionInterceptor.h"
18
-
19
- #import "EXDevLauncherBridgeDelegate.h"
11
+ #import <EXDevLauncher/EXDevLauncherController.h>
12
+ #import <EXDevLauncher/EXDevLauncherRCTBridge.h>
13
+ #import <EXDevLauncher/EXDevLauncherManifestParser.h>
14
+ #import <EXDevLauncher/EXDevLauncherLoadingView.h>
15
+ #import <EXDevLauncher/EXDevLauncherRCTDevSettings.h>
16
+ #import <EXDevLauncher/EXDevLauncherUpdatesHelper.h>
17
+ #import <EXDevLauncher/RCTPackagerConnection+EXDevLauncherPackagerConnectionInterceptor.h>
18
+
19
+ #import <EXDevLauncher/EXDevLauncherBridgeDelegate.h>
20
20
 
21
21
  #if __has_include(<EXDevLauncher/EXDevLauncher-Swift.h>)
22
22
  // For cocoapods framework, the generated swift header will be inside EXDevLauncher module
@@ -1,4 +1,4 @@
1
- #import "EXDevLauncherController.h"
1
+ #import <EXDevLauncher/EXDevLauncherController.h>
2
2
 
3
3
  @import EXDevMenuInterface;
4
4
 
@@ -1,6 +1,6 @@
1
1
  // Copyright 2021-present 650 Industries. All rights reserved.
2
2
 
3
- #import "EXDevLauncherUpdatesHelper.h"
3
+ #import <EXDevLauncher/EXDevLauncherUpdatesHelper.h>
4
4
 
5
5
  NS_ASSUME_NONNULL_BEGIN
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Copyright 2018-present 650 Industries. All rights reserved.
2
2
 
3
- #import "EXRCTAppDelegateInterceptor.h"
3
+ #import <EXDevLauncher/EXRCTAppDelegateInterceptor.h>
4
4
 
5
5
  #import <memory>
6
6
  #import <cxxreact/JSExecutor.h>
@@ -3,7 +3,7 @@
3
3
  #import <React/RCTRedBox.h>
4
4
  #import <React/RCTLogBox.h>
5
5
 
6
- #import "EXDevLauncherRedBoxProtocol.h"
6
+ #import <EXDevLauncher/EXDevLauncherRedBoxProtocol.h>
7
7
 
8
8
  NS_ASSUME_NONNULL_BEGIN
9
9
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  #import <React/RCTAssert.h>
4
4
 
5
- #import "EXDevLauncherRedBox.h"
6
- #import "EXDevLauncherController.h"
5
+ #import <EXDevLauncher/EXDevLauncherRedBox.h>
6
+ #import <EXDevLauncher/EXDevLauncherController.h>
7
7
 
8
8
  #if __has_include(<EXDevLauncher/EXDevLauncher-Swift.h>)
9
9
  // For cocoapods framework, the generated swift header will be inside EXDevLauncher module
@@ -140,7 +140,7 @@
140
140
  // These errors should be handled by LogBox
141
141
  return;
142
142
  }
143
-
143
+
144
144
  // hide method was removed from the RCTLogBox interface in RN 0.64
145
145
  if ([self.logBox respondsToSelector:@selector(hide)]) {
146
146
  [self.logBox performSelector:@selector(hide)];
@@ -1,7 +1,7 @@
1
1
  // Copyright 2015-present 650 Industries. All rights reserved.
2
2
 
3
- #import "EXDevLauncherManifestParser.h"
4
- #import "EXDevLauncherController.h"
3
+ #import <EXDevLauncher/EXDevLauncherManifestParser.h>
4
+ #import <EXDevLauncher/EXDevLauncherController.h>
5
5
 
6
6
  #if __has_include(<EXDevLauncher/EXDevLauncher-Swift.h>)
7
7
  // For cocoapods framework, the generated swift header will be inside EXDevLauncher module
@@ -1,6 +1,6 @@
1
1
  // Copyright 2015-present 650 Industries. All rights reserved.
2
2
 
3
- #import "EXDevLauncherLoadingView.h"
3
+ #import <EXDevLauncher/EXDevLauncherLoadingView.h>
4
4
 
5
5
  #if __has_include(<React/RCTDevLoadingViewProtocol.h>)
6
6
 
@@ -1,8 +1,8 @@
1
1
  // Copyright 2015-present 650 Industries. All rights reserved.
2
2
 
3
- #import "EXDevLauncherRCTBridge.h"
4
- #import "EXDevLauncherController.h"
5
- #import "RCTCxxBridge+Private.h"
3
+ #import <EXDevLauncher/EXDevLauncherRCTBridge.h>
4
+ #import <EXDevLauncher/EXDevLauncherController.h>
5
+ #import <EXDevLauncher/RCTCxxBridge+Private.h>
6
6
 
7
7
  #import <React/RCTPerformanceLogger.h>
8
8
  #import <React/RCTDevSettings.h>
@@ -1,6 +1,6 @@
1
1
  // Copyright 2015-present 650 Industries. All rights reserved.
2
2
 
3
- #import "EXDevLauncherRCTDevSettings.h"
3
+ #import <EXDevLauncher/EXDevLauncherRCTDevSettings.h>
4
4
 
5
5
  @implementation EXDevLauncherRCTDevSettings
6
6
 
@@ -4,7 +4,7 @@
4
4
  * This file is compiled without ARC - the memory needs to be managed by hand.
5
5
  */
6
6
 
7
- #import "RCTPackagerConnection+EXDevLauncherPackagerConnectionInterceptor.h"
7
+ #import <EXDevLauncher/RCTPackagerConnection+EXDevLauncherPackagerConnectionInterceptor.h>
8
8
 
9
9
  #import <React/RCTReconnectingWebSocket.h>
10
10