expo-dev-launcher 3.6.2 → 3.6.3
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 +6 -0
- package/android/build.gradle +1 -1
- package/android/src/debug/assets/expo_dev_launcher_android.bundle +1 -1
- package/android/src/react-native-72/expo/modules/devlauncher/rncompatibility/DevLauncherDevSupportManager.kt +35 -3
- package/ios/main.jsbundle +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 3.6.3 — 2024-01-18
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- Fixed HMR not working on Android. ([#26441](https://github.com/expo/expo/pull/26441) by [@lukmccall](https://github.com/lukmccall))
|
|
18
|
+
|
|
13
19
|
## 3.6.2 — 2024-01-10
|
|
14
20
|
|
|
15
21
|
### 🐛 Bug fixes
|
package/android/build.gradle
CHANGED
|
@@ -483,7 +483,7 @@ __d((function(g,r,i,a,m,e,d){var t=r(d[0])(r(d[1]));r(d[2]);var n={vibrate:funct
|
|
|
483
483
|
__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,f=new WeakMap;return(t=function(t){return t?f: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 f=t(o);if(f&&f.has(n))return f.get(n);var u={},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(u,l,p):u[l]=n[l]}u.default=n,f&&f.set(n,u);return u})(r(d[0])).getEnforcing('Vibration');e.default=n}),434,[49]);
|
|
484
484
|
__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(d[3]),c=r(d[4]);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(t){return!1}}var f;r(d[5]).default;f=(function(f){e(p,f);var l,s,y=(l=p,s=o(),function(){var t,n=c(l);if(s){var e=c(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return u(this,t)});function p(){return t(this,p),y.apply(this,arguments)}return n(p,[{key:"render",value:function(){return null}}],[{key:"ignoreWarnings",value:function(t){}},{key:"install",value:function(){}},{key:"uninstall",value:function(){}}]),p})(r(d[6]).Component),m.exports=f}),435,[8,9,16,18,15,417,101]);
|
|
485
485
|
__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.')}}),436,[]);
|
|
486
|
-
__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]),h=r(d[11]),S=r(d[12]),p=e(r(d[13])),y=e(r(d[14])),b=r(d[15]),w=r(d[16]),C=["children"],N=["enabled","freezeOnBlur"],k=["active","activityState","children","isNativeStack","gestureResponseDistance","onGestureCancel"],x=["active","activityState","style","onComponentRef"],B=["enabled","hasTwoStates"];function j(e){var t=R();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 R(){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 O(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?O(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A=!0,H=A;var D=!1;var V,F,T,I,z,W,E,M,_,G;var U={get NativeScreen(){return V=V||r(d[17]).default},get NativeScreenContainer(){return F=F||r(d[18]).default},get NativeScreenNavigationContainer(){return T=T||this.NativeScreenContainer},get NativeScreenStack(){return I=I||r(d[19]).default},get NativeScreenStackHeaderConfig(){return z=z||r(d[20]).default},get NativeScreenStackHeaderSubview(){return W=W||r(d[21]).default},get NativeSearchBar(){return M=M||r(d[22]).default},get NativeSearchBarCommands(){return _=_||r(d[22]).Commands},get NativeFullWindowOverlay(){return G=G||r(d[23]).default}};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,w.jsx)(h.Freeze,{freeze:!!t&&c,children:n})}var q=(function(e){(0,i.default)(c,e);var o=j(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?H:n,o=t.freezeOnBlur,c=void 0===o?D:o,l=(0,u.default)(t,N),s=l.sheetAllowedDetents,v=void 0===s?'large':s,h=l.sheetLargestUndimmedDetent,S=void 0===h?'all':h,y=l.sheetGrabberVisible,b=void 0!==y&&y,C=l.sheetCornerRadius,B=void 0===C?-1:C,j=l.sheetExpandsWhenScrolledToEdge,R=void 0===j||j;if(i){var O,A,V,F;E=E||f.Animated.createAnimatedComponent(U.NativeScreen);var T=l.active,I=l.activityState,z=l.children,W=l.isNativeStack,M=l.gestureResponseDistance,_=l.onGestureCancel,G=(0,u.default)(l,k);void 0!==T&&void 0===I&&(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'),I=0!==T?2:0);return(0,w.jsx)(L,{freeze:c&&0===I,children:(0,w.jsx)(E,P(P({},G),{},{activityState:I,sheetAllowedDetents:v,sheetLargestUndimmedDetent:S,sheetGrabberVisible:b,sheetCornerRadius:B,sheetExpandsWhenScrolledToEdge:R,gestureResponseDistance:{start:null!=(O=null==M?void 0:M.start)?O:-1,end:null!=(A=null==M?void 0:M.end)?A:-1,top:null!=(V=null==M?void 0:M.top)?V:-1,bottom:null!=(F=null==M?void 0:M.bottom)?F:-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:W?f.Animated.event([{nativeEvent:{progress:this.progress,closing:this.closing,goingForward:this.goingForward}}],{useNativeDriver:!0}):void 0,onGestureCancel:null!=_?_:function(){},children:W?(0,w.jsx)(p.default.Provider,{value:{progress:this.progress,closing:this.closing,goingForward:this.goingForward},children:z}):z}))})}var q=l.active,J=l.activityState,K=l.style,Q=(l.onComponentRef,(0,u.default)(l,x));return void 0!==q&&void 0===J&&(J=0!==q?2:0),(0,w.jsx)(f.Animated.View,P({style:[K,{display:0!==J?'flex':'none'}],ref:this.setRef},Q))}}]),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=j(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 b.isSearchBarAvailableForCurrentPlatform?(0,w.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(q),X=(function(e){(0,i.default)(c,e);var o=j(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||q;return(0,w.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?H:t,i=e.hasTwoStates,o=(0,u.default)(e,B);return n?i?(0,w.jsx)(U.NativeScreenNavigationContainer,P({},o)):(0,w.jsx)(U.NativeScreenContainer,P({},o)):(0,w.jsx)(f.View,P({},o))},ScreenContext:Q,ScreenStack:function(e){var t=e.children,n=(0,u.default)(e,C),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:D;return(0,w.jsx)(L,{freeze:f&&i-t>1,children:e})}));return(0,w.jsx)(U.NativeScreenStack,P(P({},n),{},{children:o}))},InnerScreen:q,SearchBar:K,FullWindowOverlay:function(e){return console.warn('Importing FullWindowOverlay is only valid on iOS devices.'),(0,w.jsx)(f.View,P({},e))},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,w.jsx)(U.NativeScreenStackHeaderSubview,{type:"back",style:J.headerSubview,children:(0,w.jsx)(f.Image,P({resizeMode:"center",fadeDuration:0},e))})},ScreenStackHeaderRightView:function(e){return(0,w.jsx)(U.NativeScreenStackHeaderSubview,P(P({},e),{},{type:"right",style:J.headerSubview}))},ScreenStackHeaderLeftView:function(e){return(0,w.jsx)(U.NativeScreenStackHeaderSubview,P(P({},e),{},{type:"left",style:J.headerSubview}))},ScreenStackHeaderCenterView:function(e){return(0,w.jsx)(U.NativeScreenStackHeaderSubview,P(P({},e),{},{type:"center",style:J.headerSubview}))},ScreenStackHeaderSearchBarView:function(e){return(0,w.jsx)(U.NativeScreenStackHeaderSubview,P(P({},e),{},{type:"searchBar",style:J.headerSubview}))},enableScreens:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(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(S.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.'),D=e},screensEnabled:function(){return H},shouldUseActivityState:!0,useTransitionProgress:y.default,isSearchBarAvailableForCurrentPlatform:b.isSearchBarAvailableForCurrentPlatform,isNewBackTitleImplementation:b.isNewBackTitleImplementation,executeNativeBackPress:b.executeNativeBackPress}}),437,[6,8,9,16,18,15,40,180,51,101,2,438,439,440,441,442,219,443,444,445,446,447,448,449]);
|
|
486
|
+
__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])),f=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=O(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var l=o?Object.getOwnPropertyDescriptor(e,c):null;l&&(l.get||l.set)?Object.defineProperty(i,c,l):i[c]=e[c]}i.default=e,n&&n.set(e,i);return i})(r(d[9])),v=r(d[10]),h=r(d[11]),S=r(d[12]),p=e(r(d[13])),y=e(r(d[14])),b=r(d[15]),w=r(d[16]),C=["children"],N=["enabled","freezeOnBlur"],k=["active","activityState","children","isNativeStack","gestureResponseDistance","onGestureCancel"],j=["active","activityState","style","onComponentRef"],x=["enabled","hasTwoStates"];function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(O=function(e){return e?n:t})(e)}function B(e){var t=R();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 R(){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 P(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 A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=!0,H=D;var M=!1;var V,W,F,I,T,z,E,_,G,U;var L={get NativeScreen(){return V=V||r(d[17]).default},get NativeScreenContainer(){return W=W||r(d[18]).default},get NativeScreenNavigationContainer(){return F=F||this.NativeScreenContainer},get NativeScreenStack(){return I=I||r(d[19]).default},get NativeScreenStackHeaderConfig(){return T=T||r(d[20]).default},get NativeScreenStackHeaderSubview(){return z=z||r(d[21]).default},get NativeSearchBar(){return _=_||r(d[22]).default},get NativeSearchBarCommands(){return G=G||r(d[22]).Commands},get NativeFullWindowOverlay(){return U=U||r(d[23]).default}};function q(e){var t=e.freeze,n=e.children,i=f.default.useState(!1),o=(0,s.default)(i,2),c=o[0],l=o[1];return(0,f.useEffect)((function(){var e=setImmediate((function(){l(t)}));return function(){clearImmediate(e)}}),[t]),(0,w.jsx)(h.Freeze,{freeze:!!t&&c,children:n})}var J=(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 v.Animated.Value(0),e.progress=new v.Animated.Value(0),e.goingForward=new v.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?H:n,o=t.freezeOnBlur,c=void 0===o?M:o,l=(0,u.default)(t,N),s=l.sheetAllowedDetents,f=void 0===s?'large':s,h=l.sheetLargestUndimmedDetent,S=void 0===h?'all':h,y=l.sheetGrabberVisible,b=void 0!==y&&y,C=l.sheetCornerRadius,x=void 0===C?-1:C,O=l.sheetExpandsWhenScrolledToEdge,B=void 0===O||O;if(i){var R,P,D,V;E=E||v.Animated.createAnimatedComponent(L.NativeScreen);var W=l.active,F=l.activityState,I=l.children,T=l.isNativeStack,z=l.gestureResponseDistance,_=l.onGestureCancel,G=(0,u.default)(l,k);void 0!==W&&void 0===F&&(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'),F=0!==W?2:0);return(0,w.jsx)(q,{freeze:c&&0===F,children:(0,w.jsx)(E,A(A({},G),{},{activityState:F,sheetAllowedDetents:f,sheetLargestUndimmedDetent:S,sheetGrabberVisible:b,sheetCornerRadius:x,sheetExpandsWhenScrolledToEdge:B,gestureResponseDistance:{start:null!=(R=null==z?void 0:z.start)?R:-1,end:null!=(P=null==z?void 0:z.end)?P:-1,top:null!=(D=null==z?void 0:z.top)?D:-1,bottom:null!=(V=null==z?void 0:z.bottom)?V:-1},ref:function(t){var n,i;null!=t&&null!=(n=t.viewConfig)&&null!=(i=n.validAttributes)&&i.style&&(t.viewConfig.validAttributes.style=A(A({},t.viewConfig.validAttributes.style),{},{display:!1}),e.setRef(t))},onTransitionProgress:T?v.Animated.event([{nativeEvent:{progress:this.progress,closing:this.closing,goingForward:this.goingForward}}],{useNativeDriver:!0}):void 0,onGestureCancel:null!=_?_:function(){},children:T?(0,w.jsx)(p.default.Provider,{value:{progress:this.progress,closing:this.closing,goingForward:this.goingForward},children:I}):I}))})}var U=l.active,J=l.activityState,K=l.style,Q=(l.onComponentRef,(0,u.default)(l,j));return void 0!==U&&void 0===J&&(J=0!==U?2:0),(0,w.jsx)(v.Animated.View,A({style:[K,{display:0!==J?'flex':'none'}],ref:this.setRef},Q))}}]),c})(f.default.Component);var K=v.StyleSheet.create({headerSubview:{position:'absolute',top:0,right:0,flexDirection:'row',alignItems:'center',justifyContent:'center'}}),Q=(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=f.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 L.NativeSearchBarCommands.blur(e)}))}},{key:"focus",value:function(){this._callMethodWithRef((function(e){return L.NativeSearchBarCommands.focus(e)}))}},{key:"toggleCancelButton",value:function(e){this._callMethodWithRef((function(t){return L.NativeSearchBarCommands.toggleCancelButton(t,e)}))}},{key:"clearText",value:function(){this._callMethodWithRef((function(e){return L.NativeSearchBarCommands.clearText(e)}))}},{key:"setText",value:function(e){this._callMethodWithRef((function(t){return L.NativeSearchBarCommands.setText(t,e)}))}},{key:"render",value:function(){return b.isSearchBarAvailableForCurrentPlatform?(0,w.jsx)(L.NativeSearchBar,A(A({},this.props),{},{ref:this.nativeSearchBarRef})):(console.warn('Importing SearchBar is only valid on iOS and Android devices.'),v.View)}}]),c})(f.default.Component),X=f.default.createContext(J),Y=(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||J;return(0,w.jsx)(e,A({},this.props))}}]),c})(f.default.Component);Y.contextType=X,m.exports={Screen:Y,ScreenContainer:function(e){var t=e.enabled,n=void 0===t?H:t,i=e.hasTwoStates,o=(0,u.default)(e,x);return n?i?(0,w.jsx)(L.NativeScreenNavigationContainer,A({},o)):(0,w.jsx)(L.NativeScreenContainer,A({},o)):(0,w.jsx)(v.View,A({},o))},ScreenContext:X,ScreenStack:function(e){var t=e.children,n=(0,u.default)(e,C),i=f.default.Children.count(t),o=f.default.Children.map(t,(function(e,t){var n,o,c,l,u=e.props,s=e.key,f=null!=(n=null==u?void 0:u.descriptor)?n:null==u||null==(o=u.descriptors)?void 0:o[s],v=null!=(c=null==f||null==(l=f.options)?void 0:l.freezeOnBlur)?c:M;return(0,w.jsx)(q,{freeze:v&&i-t>1,children:e})}));return(0,w.jsx)(L.NativeScreenStack,A(A({},n),{},{children:o}))},InnerScreen:J,SearchBar:Q,FullWindowOverlay:function(e){return console.warn('Importing FullWindowOverlay is only valid on iOS devices.'),(0,w.jsx)(v.View,A({},e))},get NativeScreen(){return L.NativeScreen},get NativeScreenContainer(){return L.NativeScreenContainer},get NativeScreenNavigationContainer(){return L.NativeScreenNavigationContainer},get ScreenStackHeaderConfig(){return L.NativeScreenStackHeaderConfig},get ScreenStackHeaderSubview(){return L.NativeScreenStackHeaderSubview},get SearchBarCommands(){return L.NativeSearchBarCommands},ScreenStackHeaderBackButtonImage:function(e){return(0,w.jsx)(L.NativeScreenStackHeaderSubview,{type:"back",style:K.headerSubview,children:(0,w.jsx)(v.Image,A({resizeMode:"center",fadeDuration:0},e))})},ScreenStackHeaderRightView:function(e){return(0,w.jsx)(L.NativeScreenStackHeaderSubview,A(A({},e),{},{type:"right",style:K.headerSubview}))},ScreenStackHeaderLeftView:function(e){return(0,w.jsx)(L.NativeScreenStackHeaderSubview,A(A({},e),{},{type:"left",style:K.headerSubview}))},ScreenStackHeaderCenterView:function(e){return(0,w.jsx)(L.NativeScreenStackHeaderSubview,A(A({},e),{},{type:"center",style:K.headerSubview}))},ScreenStackHeaderSearchBarView:function(e){return(0,w.jsx)(L.NativeScreenStackHeaderSubview,A(A({},e),{},{type:"searchBar",style:K.headerSubview}))},enableScreens:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(H=e)&&!v.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(S.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.'),M=e},screensEnabled:function(){return H},shouldUseActivityState:!0,useTransitionProgress:y.default,isSearchBarAvailableForCurrentPlatform:b.isSearchBarAvailableForCurrentPlatform,isNewBackTitleImplementation:b.isNewBackTitleImplementation,executeNativeBackPress:b.executeNativeBackPress}}),437,[6,8,9,16,18,15,40,180,51,101,2,438,439,440,441,442,219,443,444,445,446,447,448,449]);
|
|
487
487
|
__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})}}),438,[101,219]);
|
|
488
488
|
__d((function(e,s,t,r,i,a,c){i.exports={name:"react-native",version:"0.73.2",description:"A framework for building native apps using React",license:"MIT",repository:{type:"git",url:"https://github.com/facebook/react-native.git",directory:"packages/react-native"},homepage:"https://reactnative.dev/",keywords:["react","react-native","android","ios","mobile","cross-platform","app-framework","mobile-development"],bugs:"https://github.com/facebook/react-native/issues",engines:{node:">=18"},bin:"./cli.js",types:"types","jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},files:["android","build.gradle.kts","cli.js","flow","gradle.properties","gradle/libs.versions.toml","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/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.6.3","@react-native-community/cli":"12.3.0","@react-native-community/cli-platform-android":"12.3.0","@react-native-community/cli-platform-ios":"12.3.0","@react-native/assets-registry":"0.73.1","@react-native/community-cli-plugin":"0.73.12","@react-native/codegen":"0.73.2","@react-native/gradle-plugin":"0.73.4","@react-native/js-polyfills":"0.73.1","@react-native/normalize-colors":"0.73.2","@react-native/virtualized-lists":"0.73.4","abort-controller":"^3.0.0",anser:"^1.4.9","ansi-regex":"^5.0.0","base64-js":"^1.5.1","deprecated-react-native-prop-types":"^5.0.0","event-target-shim":"^5.0.1","flow-enums-runtime":"^0.0.6",invariant:"^2.2.4","jest-environment-node":"^29.6.3","jsc-android":"^250231.0.0","memoize-one":"^5.0.0","metro-runtime":"^0.80.3","metro-source-map":"^0.80.3",mkdirp:"^0.5.1",nullthrows:"^1.1.1","pretty-format":"^26.5.2",promise:"^8.3.0","react-devtools-core":"^4.27.7","react-refresh":"^0.14.0","react-shallow-renderer":"^16.15.0","regenerator-runtime":"^0.13.2",scheduler:"0.24.0-canary-efb381bbf-20230505","stacktrace-parser":"^0.1.10","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"}]}}}),439,[]);
|
|
489
489
|
__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}),440,[101]);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
package expo.modules.devlauncher.rncompatibility
|
|
2
2
|
|
|
3
3
|
import android.content.Context
|
|
4
|
+
import android.net.Uri
|
|
4
5
|
import android.os.Handler
|
|
5
6
|
import android.os.Looper
|
|
6
7
|
import android.util.Log
|
|
@@ -66,7 +67,8 @@ class DevLauncherDevSupportManager(
|
|
|
66
67
|
|
|
67
68
|
// copied from https://github.com/facebook/react-native/blob/aa4da248c12e3ba41ecc9f1c547b21c208d9a15f/ReactAndroid/src/main/java/com/facebook/react/devsupport/BridgeDevSupportManager.java#L65
|
|
68
69
|
private var mIsSamplingProfilerEnabled = false
|
|
69
|
-
private val devSettings: DevLauncherInternalSettingsWrapper =
|
|
70
|
+
private val devSettings: DevLauncherInternalSettingsWrapper =
|
|
71
|
+
DevLauncherInternalSettingsWrapper(getDevSettings())
|
|
70
72
|
|
|
71
73
|
// copied from https://github.com/facebook/react-native/blob/aa4da248c12e3ba41ecc9f1c547b21c208d9a15f/ReactAndroid/src/main/java/com/facebook/react/devsupport/BridgeDevSupportManager.java#L88-L128
|
|
72
74
|
init {
|
|
@@ -99,7 +101,10 @@ class DevLauncherDevSupportManager(
|
|
|
99
101
|
|
|
100
102
|
override fun showNewJavaError(message: String?, e: Throwable) {
|
|
101
103
|
if (!DevLauncherController.wasInitialized()) {
|
|
102
|
-
Log.e(
|
|
104
|
+
Log.e(
|
|
105
|
+
"DevLauncher",
|
|
106
|
+
"DevLauncher wasn't initialized. Couldn't intercept native error handling."
|
|
107
|
+
)
|
|
103
108
|
super.showNewJavaError(message, e)
|
|
104
109
|
return
|
|
105
110
|
}
|
|
@@ -126,7 +131,8 @@ class DevLauncherDevSupportManager(
|
|
|
126
131
|
object : CallbackWithBundleLoader {
|
|
127
132
|
override fun onSuccess(bundleLoader: JSBundleLoader) {
|
|
128
133
|
bundleLoader.loadScript(currentContext!!.catalystInstance)
|
|
129
|
-
|
|
134
|
+
val bundleURL = controller?.manifest?.getBundleURL()
|
|
135
|
+
?: devServerHelper.getDevServerSplitBundleURL(bundlePath)
|
|
130
136
|
currentContext!!
|
|
131
137
|
.getJSModule(HMRClient::class.java)
|
|
132
138
|
.registerBundle(bundleURL)
|
|
@@ -226,6 +232,32 @@ class DevLauncherDevSupportManager(
|
|
|
226
232
|
}
|
|
227
233
|
}
|
|
228
234
|
|
|
235
|
+
override fun getSourceUrl(): String {
|
|
236
|
+
return controller?.manifest?.getBundleURL() ?: super.getSourceUrl()
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
override fun getSourceMapUrl(): String {
|
|
240
|
+
val defaultValue = super.getSourceMapUrl()
|
|
241
|
+
val bundleURL = controller?.manifest?.getBundleURL()
|
|
242
|
+
?: return defaultValue
|
|
243
|
+
|
|
244
|
+
val parsedURL = Uri.parse(bundleURL)
|
|
245
|
+
val customOptions = parsedURL.queryParameterNames.mapNotNull { key ->
|
|
246
|
+
if (key.startsWith("transform")) {
|
|
247
|
+
key to requireNotNull(parsedURL.getQueryParameter(key))
|
|
248
|
+
} else {
|
|
249
|
+
null
|
|
250
|
+
}
|
|
251
|
+
}.ifEmpty {
|
|
252
|
+
return defaultValue
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
val customOptionsString = customOptions.joinToString("&") { (key, value) ->
|
|
256
|
+
"$key=$value"
|
|
257
|
+
}
|
|
258
|
+
return "$defaultValue&$customOptionsString"
|
|
259
|
+
}
|
|
260
|
+
|
|
229
261
|
// copied from https://github.com/facebook/react-native/blob/aa4da248c12e3ba41ecc9f1c547b21c208d9a15f/ReactAndroid/src/main/java/com/facebook/react/devsupport/BridgeDevSupportManager.java#L233-L277
|
|
230
262
|
/** Starts of stops the sampling profiler */
|
|
231
263
|
private fun toggleJSSamplingProfiler() {
|
package/ios/main.jsbundle
CHANGED
|
@@ -483,7 +483,7 @@ __d((function(g,r,i,a,m,e,d){var t=r(d[0])(r(d[1])),n=(r(d[2]),!1),o=0,u=400;fun
|
|
|
483
483
|
__d((function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,f=new WeakMap;return(t=function(t){return t?f: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 f=t(o);if(f&&f.has(n))return f.get(n);var u={},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(u,l,p):u[l]=n[l]}u.default=n,f&&f.set(n,u);return u})(r(d[0])).getEnforcing('Vibration');e.default=n}),434,[49]);
|
|
484
484
|
__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(d[3]),c=r(d[4]);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(t){return!1}}var f;r(d[5]).default;f=(function(f){e(p,f);var l,s,y=(l=p,s=o(),function(){var t,n=c(l);if(s){var e=c(this).constructor;t=Reflect.construct(n,arguments,e)}else t=n.apply(this,arguments);return u(this,t)});function p(){return t(this,p),y.apply(this,arguments)}return n(p,[{key:"render",value:function(){return null}}],[{key:"ignoreWarnings",value:function(t){}},{key:"install",value:function(){}},{key:"uninstall",value:function(){}}]),p})(r(d[6]).Component),m.exports=f}),435,[8,9,16,18,15,416,101]);
|
|
485
485
|
__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicColorIOS=void 0;var t=r(d[0]);e.DynamicColorIOS=function(o){return(0,t.DynamicColorIOSPrivate)({light:o.light,dark:o.dark,highContrastLight:o.highContrastLight,highContrastDark:o.highContrastDark})}}),436,[69]);
|
|
486
|
-
__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]),h=r(d[11]),S=r(d[12]),p=e(r(d[13])),y=e(r(d[14])),b=r(d[15]),w=r(d[16]),C=["children"],N=["enabled","freezeOnBlur"],k=["active","activityState","children","isNativeStack","gestureResponseDistance","onGestureCancel"],x=["active","activityState","style","onComponentRef"],B=["enabled","hasTwoStates"];function j(e){var t=R();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 R(){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 O(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?O(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A=!0,H=A;var D=!1;var F,T,V,z,I,W,E,M,_,G;var U={get NativeScreen(){return F=F||r(d[17]).default},get NativeScreenContainer(){return T=T||r(d[18]).default},get NativeScreenNavigationContainer(){return V=V||r(d[19]).default},get NativeScreenStack(){return z=z||r(d[20]).default},get NativeScreenStackHeaderConfig(){return I=I||r(d[21]).default},get NativeScreenStackHeaderSubview(){return W=W||r(d[22]).default},get NativeSearchBar(){return M=M||r(d[23]).default},get NativeSearchBarCommands(){return _=_||r(d[23]).Commands},get NativeFullWindowOverlay(){return G=G||r(d[24]).default}};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,w.jsx)(h.Freeze,{freeze:!!t&&c,children:n})}var q=(function(e){(0,i.default)(c,e);var o=j(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?H:n,o=t.freezeOnBlur,c=void 0===o?D:o,l=(0,u.default)(t,N),s=l.sheetAllowedDetents,v=void 0===s?'large':s,h=l.sheetLargestUndimmedDetent,S=void 0===h?'all':h,y=l.sheetGrabberVisible,b=void 0!==y&&y,C=l.sheetCornerRadius,B=void 0===C?-1:C,j=l.sheetExpandsWhenScrolledToEdge,R=void 0===j||j;if(i){var O,A,F,T;E=E||f.Animated.createAnimatedComponent(U.NativeScreen);var V=l.active,z=l.activityState,I=l.children,W=l.isNativeStack,M=l.gestureResponseDistance,_=l.onGestureCancel,G=(0,u.default)(l,k);void 0!==V&&void 0===z&&(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'),z=0!==V?2:0);return(0,w.jsx)(L,{freeze:c&&0===z,children:(0,w.jsx)(E,P(P({},G),{},{activityState:z,sheetAllowedDetents:v,sheetLargestUndimmedDetent:S,sheetGrabberVisible:b,sheetCornerRadius:B,sheetExpandsWhenScrolledToEdge:R,gestureResponseDistance:{start:null!=(O=null==M?void 0:M.start)?O:-1,end:null!=(A=null==M?void 0:M.end)?A:-1,top:null!=(F=null==M?void 0:M.top)?F:-1,bottom:null!=(T=null==M?void 0:M.bottom)?T:-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:W?f.Animated.event([{nativeEvent:{progress:this.progress,closing:this.closing,goingForward:this.goingForward}}],{useNativeDriver:!0}):void 0,onGestureCancel:null!=_?_:function(){},children:W?(0,w.jsx)(p.default.Provider,{value:{progress:this.progress,closing:this.closing,goingForward:this.goingForward},children:I}):I}))})}var q=l.active,J=l.activityState,K=l.style,Q=(l.onComponentRef,(0,u.default)(l,x));return void 0!==q&&void 0===J&&(J=0!==q?2:0),(0,w.jsx)(f.Animated.View,P({style:[K,{display:0!==J?'flex':'none'}],ref:this.setRef},Q))}}]),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=j(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 b.isSearchBarAvailableForCurrentPlatform?(0,w.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(q),X=(function(e){(0,i.default)(c,e);var o=j(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||q;return(0,w.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?H:t,i=e.hasTwoStates,o=(0,u.default)(e,B);return n?i?(0,w.jsx)(U.NativeScreenNavigationContainer,P({},o)):(0,w.jsx)(U.NativeScreenContainer,P({},o)):(0,w.jsx)(f.View,P({},o))},ScreenContext:Q,ScreenStack:function(e){var t=e.children,n=(0,u.default)(e,C),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:D;return(0,w.jsx)(L,{freeze:f&&i-t>1,children:e})}));return(0,w.jsx)(U.NativeScreenStack,P(P({},n),{},{children:o}))},InnerScreen:q,SearchBar:K,FullWindowOverlay:function(e){return(0,w.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,w.jsx)(U.NativeScreenStackHeaderSubview,{type:"back",style:J.headerSubview,children:(0,w.jsx)(f.Image,P({resizeMode:"center",fadeDuration:0},e))})},ScreenStackHeaderRightView:function(e){return(0,w.jsx)(U.NativeScreenStackHeaderSubview,P(P({},e),{},{type:"right",style:J.headerSubview}))},ScreenStackHeaderLeftView:function(e){return(0,w.jsx)(U.NativeScreenStackHeaderSubview,P(P({},e),{},{type:"left",style:J.headerSubview}))},ScreenStackHeaderCenterView:function(e){return(0,w.jsx)(U.NativeScreenStackHeaderSubview,P(P({},e),{},{type:"center",style:J.headerSubview}))},ScreenStackHeaderSearchBarView:function(e){return(0,w.jsx)(U.NativeScreenStackHeaderSubview,P(P({},e),{},{type:"searchBar",style:J.headerSubview}))},enableScreens:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(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(S.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.'),D=e},screensEnabled:function(){return H},shouldUseActivityState:!0,useTransitionProgress:y.default,isSearchBarAvailableForCurrentPlatform:b.isSearchBarAvailableForCurrentPlatform,isNewBackTitleImplementation:b.isNewBackTitleImplementation,executeNativeBackPress:b.executeNativeBackPress}}),437,[6,8,9,16,18,15,40,180,51,101,2,438,439,440,441,442,220,443,444,445,446,447,448,449,450]);
|
|
486
|
+
__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])),f=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=B(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var l=o?Object.getOwnPropertyDescriptor(e,c):null;l&&(l.get||l.set)?Object.defineProperty(i,c,l):i[c]=e[c]}i.default=e,n&&n.set(e,i);return i})(r(d[9])),v=r(d[10]),h=r(d[11]),S=r(d[12]),p=e(r(d[13])),y=e(r(d[14])),b=r(d[15]),w=r(d[16]),C=["children"],N=["enabled","freezeOnBlur"],k=["active","activityState","children","isNativeStack","gestureResponseDistance","onGestureCancel"],j=["active","activityState","style","onComponentRef"],x=["enabled","hasTwoStates"];function B(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(B=function(e){return e?n:t})(e)}function O(e){var t=R();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 R(){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 P(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 A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){(0,l.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=!0,H=D;var M=!1;var W,F,T,V,I,z,E,_,G,U;var L={get NativeScreen(){return W=W||r(d[17]).default},get NativeScreenContainer(){return F=F||r(d[18]).default},get NativeScreenNavigationContainer(){return T=T||r(d[19]).default},get NativeScreenStack(){return V=V||r(d[20]).default},get NativeScreenStackHeaderConfig(){return I=I||r(d[21]).default},get NativeScreenStackHeaderSubview(){return z=z||r(d[22]).default},get NativeSearchBar(){return _=_||r(d[23]).default},get NativeSearchBarCommands(){return G=G||r(d[23]).Commands},get NativeFullWindowOverlay(){return U=U||r(d[24]).default}};function q(e){var t=e.freeze,n=e.children,i=f.default.useState(!1),o=(0,s.default)(i,2),c=o[0],l=o[1];return(0,f.useEffect)((function(){var e=setImmediate((function(){l(t)}));return function(){clearImmediate(e)}}),[t]),(0,w.jsx)(h.Freeze,{freeze:!!t&&c,children:n})}var J=(function(e){(0,i.default)(c,e);var o=O(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 v.Animated.Value(0),e.progress=new v.Animated.Value(0),e.goingForward=new v.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?H:n,o=t.freezeOnBlur,c=void 0===o?M:o,l=(0,u.default)(t,N),s=l.sheetAllowedDetents,f=void 0===s?'large':s,h=l.sheetLargestUndimmedDetent,S=void 0===h?'all':h,y=l.sheetGrabberVisible,b=void 0!==y&&y,C=l.sheetCornerRadius,x=void 0===C?-1:C,B=l.sheetExpandsWhenScrolledToEdge,O=void 0===B||B;if(i){var R,P,D,W;E=E||v.Animated.createAnimatedComponent(L.NativeScreen);var F=l.active,T=l.activityState,V=l.children,I=l.isNativeStack,z=l.gestureResponseDistance,_=l.onGestureCancel,G=(0,u.default)(l,k);void 0!==F&&void 0===T&&(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'),T=0!==F?2:0);return(0,w.jsx)(q,{freeze:c&&0===T,children:(0,w.jsx)(E,A(A({},G),{},{activityState:T,sheetAllowedDetents:f,sheetLargestUndimmedDetent:S,sheetGrabberVisible:b,sheetCornerRadius:x,sheetExpandsWhenScrolledToEdge:O,gestureResponseDistance:{start:null!=(R=null==z?void 0:z.start)?R:-1,end:null!=(P=null==z?void 0:z.end)?P:-1,top:null!=(D=null==z?void 0:z.top)?D:-1,bottom:null!=(W=null==z?void 0:z.bottom)?W:-1},ref:function(t){var n,i;null!=t&&null!=(n=t.viewConfig)&&null!=(i=n.validAttributes)&&i.style&&(t.viewConfig.validAttributes.style=A(A({},t.viewConfig.validAttributes.style),{},{display:!1}),e.setRef(t))},onTransitionProgress:I?v.Animated.event([{nativeEvent:{progress:this.progress,closing:this.closing,goingForward:this.goingForward}}],{useNativeDriver:!0}):void 0,onGestureCancel:null!=_?_:function(){},children:I?(0,w.jsx)(p.default.Provider,{value:{progress:this.progress,closing:this.closing,goingForward:this.goingForward},children:V}):V}))})}var U=l.active,J=l.activityState,K=l.style,Q=(l.onComponentRef,(0,u.default)(l,j));return void 0!==U&&void 0===J&&(J=0!==U?2:0),(0,w.jsx)(v.Animated.View,A({style:[K,{display:0!==J?'flex':'none'}],ref:this.setRef},Q))}}]),c})(f.default.Component);var K=v.StyleSheet.create({headerSubview:{position:'absolute',top:0,right:0,flexDirection:'row',alignItems:'center',justifyContent:'center'}}),Q=(function(e){(0,i.default)(c,e);var o=O(c);function c(e){var n;return(0,t.default)(this,c),(n=o.call(this,e)).nativeSearchBarRef=f.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 L.NativeSearchBarCommands.blur(e)}))}},{key:"focus",value:function(){this._callMethodWithRef((function(e){return L.NativeSearchBarCommands.focus(e)}))}},{key:"toggleCancelButton",value:function(e){this._callMethodWithRef((function(t){return L.NativeSearchBarCommands.toggleCancelButton(t,e)}))}},{key:"clearText",value:function(){this._callMethodWithRef((function(e){return L.NativeSearchBarCommands.clearText(e)}))}},{key:"setText",value:function(e){this._callMethodWithRef((function(t){return L.NativeSearchBarCommands.setText(t,e)}))}},{key:"render",value:function(){return b.isSearchBarAvailableForCurrentPlatform?(0,w.jsx)(L.NativeSearchBar,A(A({},this.props),{},{ref:this.nativeSearchBarRef})):(console.warn('Importing SearchBar is only valid on iOS and Android devices.'),v.View)}}]),c})(f.default.Component),X=f.default.createContext(J),Y=(function(e){(0,i.default)(c,e);var o=O(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||J;return(0,w.jsx)(e,A({},this.props))}}]),c})(f.default.Component);Y.contextType=X,m.exports={Screen:Y,ScreenContainer:function(e){var t=e.enabled,n=void 0===t?H:t,i=e.hasTwoStates,o=(0,u.default)(e,x);return n?i?(0,w.jsx)(L.NativeScreenNavigationContainer,A({},o)):(0,w.jsx)(L.NativeScreenContainer,A({},o)):(0,w.jsx)(v.View,A({},o))},ScreenContext:X,ScreenStack:function(e){var t=e.children,n=(0,u.default)(e,C),i=f.default.Children.count(t),o=f.default.Children.map(t,(function(e,t){var n,o,c,l,u=e.props,s=e.key,f=null!=(n=null==u?void 0:u.descriptor)?n:null==u||null==(o=u.descriptors)?void 0:o[s],v=null!=(c=null==f||null==(l=f.options)?void 0:l.freezeOnBlur)?c:M;return(0,w.jsx)(q,{freeze:v&&i-t>1,children:e})}));return(0,w.jsx)(L.NativeScreenStack,A(A({},n),{},{children:o}))},InnerScreen:J,SearchBar:Q,FullWindowOverlay:function(e){return(0,w.jsx)(L.NativeFullWindowOverlay,{style:{position:'absolute',width:'100%',height:'100%'},children:e.children})},get NativeScreen(){return L.NativeScreen},get NativeScreenContainer(){return L.NativeScreenContainer},get NativeScreenNavigationContainer(){return L.NativeScreenNavigationContainer},get ScreenStackHeaderConfig(){return L.NativeScreenStackHeaderConfig},get ScreenStackHeaderSubview(){return L.NativeScreenStackHeaderSubview},get SearchBarCommands(){return L.NativeSearchBarCommands},ScreenStackHeaderBackButtonImage:function(e){return(0,w.jsx)(L.NativeScreenStackHeaderSubview,{type:"back",style:K.headerSubview,children:(0,w.jsx)(v.Image,A({resizeMode:"center",fadeDuration:0},e))})},ScreenStackHeaderRightView:function(e){return(0,w.jsx)(L.NativeScreenStackHeaderSubview,A(A({},e),{},{type:"right",style:K.headerSubview}))},ScreenStackHeaderLeftView:function(e){return(0,w.jsx)(L.NativeScreenStackHeaderSubview,A(A({},e),{},{type:"left",style:K.headerSubview}))},ScreenStackHeaderCenterView:function(e){return(0,w.jsx)(L.NativeScreenStackHeaderSubview,A(A({},e),{},{type:"center",style:K.headerSubview}))},ScreenStackHeaderSearchBarView:function(e){return(0,w.jsx)(L.NativeScreenStackHeaderSubview,A(A({},e),{},{type:"searchBar",style:K.headerSubview}))},enableScreens:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(H=e)&&!v.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(S.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.'),M=e},screensEnabled:function(){return H},shouldUseActivityState:!0,useTransitionProgress:y.default,isSearchBarAvailableForCurrentPlatform:b.isSearchBarAvailableForCurrentPlatform,isNewBackTitleImplementation:b.isNewBackTitleImplementation,executeNativeBackPress:b.executeNativeBackPress}}),437,[6,8,9,16,18,15,40,180,51,101,2,438,439,440,441,442,220,443,444,445,446,447,448,449,450]);
|
|
487
487
|
__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})}}),438,[101,220]);
|
|
488
488
|
__d((function(e,s,t,r,i,a,c){i.exports={name:"react-native",version:"0.73.2",description:"A framework for building native apps using React",license:"MIT",repository:{type:"git",url:"https://github.com/facebook/react-native.git",directory:"packages/react-native"},homepage:"https://reactnative.dev/",keywords:["react","react-native","android","ios","mobile","cross-platform","app-framework","mobile-development"],bugs:"https://github.com/facebook/react-native/issues",engines:{node:">=18"},bin:"./cli.js",types:"types","jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},files:["android","build.gradle.kts","cli.js","flow","gradle.properties","gradle/libs.versions.toml","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/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.6.3","@react-native-community/cli":"12.3.0","@react-native-community/cli-platform-android":"12.3.0","@react-native-community/cli-platform-ios":"12.3.0","@react-native/assets-registry":"0.73.1","@react-native/community-cli-plugin":"0.73.12","@react-native/codegen":"0.73.2","@react-native/gradle-plugin":"0.73.4","@react-native/js-polyfills":"0.73.1","@react-native/normalize-colors":"0.73.2","@react-native/virtualized-lists":"0.73.4","abort-controller":"^3.0.0",anser:"^1.4.9","ansi-regex":"^5.0.0","base64-js":"^1.5.1","deprecated-react-native-prop-types":"^5.0.0","event-target-shim":"^5.0.1","flow-enums-runtime":"^0.0.6",invariant:"^2.2.4","jest-environment-node":"^29.6.3","jsc-android":"^250231.0.0","memoize-one":"^5.0.0","metro-runtime":"^0.80.3","metro-source-map":"^0.80.3",mkdirp:"^0.5.1",nullthrows:"^1.1.1","pretty-format":"^26.5.2",promise:"^8.3.0","react-devtools-core":"^4.27.7","react-refresh":"^0.14.0","react-shallow-renderer":"^16.15.0","regenerator-runtime":"^0.13.2",scheduler:"0.24.0-canary-efb381bbf-20230505","stacktrace-parser":"^0.1.10","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"}]}}}),439,[]);
|
|
489
489
|
__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}),440,[101]);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-dev-launcher",
|
|
3
3
|
"title": "Expo Development Launcher",
|
|
4
|
-
"version": "3.6.
|
|
4
|
+
"version": "3.6.3",
|
|
5
5
|
"description": "Pre-release version of the Expo development launcher package for testing.",
|
|
6
6
|
"main": "build/DevLauncher.js",
|
|
7
7
|
"types": "build/DevLauncher.d.ts",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"homepage": "https://docs.expo.dev",
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"ajv": "8.11.0",
|
|
34
|
-
"expo-dev-menu": "4.5.
|
|
34
|
+
"expo-dev-menu": "4.5.4",
|
|
35
35
|
"expo-manifests": "~0.13.0",
|
|
36
36
|
"resolve-from": "^5.0.0",
|
|
37
37
|
"semver": "^7.5.3"
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"./setupTests.ts"
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "102899632731658eecba006c0d1c79b98ba8f5f7"
|
|
70
70
|
}
|