react-native-inapp-inspector 2.5.15 → 2.5.16
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/dist/commonjs/components/Inspector/SettingsPanel.js +57 -85
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/customHooks/networkLogger.js +1 -1
- package/dist/commonjs/index.js +2 -2
- package/dist/commonjs/types/interfaces.d.ts +0 -3
- package/dist/esm/components/Inspector/SettingsPanel.js +399 -427
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/customHooks/networkLogger.js +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/types/interfaces.d.ts +0 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,a,_,h){h===void 0&&(h=_);var b=Object.getOwnPropertyDescriptor(a,_);(!b||("get"in b?!a.__esModule:b.writable||b.configurable))&&(b={enumerable:!0,get:function(){return a[_]}}),Object.defineProperty(o,h,b)}):(function(o,a,_,h){h===void 0&&(h=_),o[h]=a[_]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(o,a){Object.defineProperty(o,"default",{enumerable:!0,value:a})}):function(o,a){o.default=a}),__importStar=this&&this.__importStar||(function(){var o=function(a){return o=Object.getOwnPropertyNames||function(_){var h=[];for(var b in _)Object.prototype.hasOwnProperty.call(_,b)&&(h[h.length]=b);return h},o(a)};return function(a){if(a&&a.__esModule)return a;var _={};if(a!=null)for(var h=o(a),b=0;b<h.length;b++)h[b]!=="default"&&__createBinding(_,a,h[b]);return __setModuleDefault(_,a),_}})(),__importDefault=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importStar(require("react")),react_native_1=require("react-native"),InspectorContext_1=require("./InspectorContext"),TouchableScale_1=__importDefault(require("../TouchableScale")),Slider_1=__importDefault(require("../Slider")),styles_1=require("../../styles"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),constants_1=require("../../constants"),settingsStore_1=require("../../helpers/settingsStore"),networkLogger_1=require("../../customHooks/networkLogger"),consoleLogger_1=require("../../customHooks/consoleLogger"),analyticsLogger_1=require("../../customHooks/analyticsLogger"),crashHandler_1=require("../../customHooks/crashHandler"),reduxLogger_1=require("../../customHooks/reduxLogger"),i18n_1=require("../../i18n"),LanguageSelectorModal_1=require("./LanguageSelectorModal"),NetworkIcons_1=require("../NetworkIcons"),capture_1=require("../../capture"),NativeInspector_1=require("../../native/NativeInspector"),toast_1=require("../../helpers/toast"),memoryManager_1=require("../../helpers/memoryManager"),SettingsPanel=()=>{const{t:o}=(0,i18n_1.useTranslation)(),{settingsPage:a,setSettingsPage:_,settingsActiveSubTab:h,setSettingsActiveSubTab:b,tabVisibility:R,toggleTabVisibility:
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,a,_,h){h===void 0&&(h=_);var b=Object.getOwnPropertyDescriptor(a,_);(!b||("get"in b?!a.__esModule:b.writable||b.configurable))&&(b={enumerable:!0,get:function(){return a[_]}}),Object.defineProperty(o,h,b)}):(function(o,a,_,h){h===void 0&&(h=_),o[h]=a[_]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(o,a){Object.defineProperty(o,"default",{enumerable:!0,value:a})}):function(o,a){o.default=a}),__importStar=this&&this.__importStar||(function(){var o=function(a){return o=Object.getOwnPropertyNames||function(_){var h=[];for(var b in _)Object.prototype.hasOwnProperty.call(_,b)&&(h[h.length]=b);return h},o(a)};return function(a){if(a&&a.__esModule)return a;var _={};if(a!=null)for(var h=o(a),b=0;b<h.length;b++)h[b]!=="default"&&__createBinding(_,a,h[b]);return __setModuleDefault(_,a),_}})(),__importDefault=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importStar(require("react")),react_native_1=require("react-native"),InspectorContext_1=require("./InspectorContext"),TouchableScale_1=__importDefault(require("../TouchableScale")),Slider_1=__importDefault(require("../Slider")),styles_1=require("../../styles"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),constants_1=require("../../constants"),settingsStore_1=require("../../helpers/settingsStore"),networkLogger_1=require("../../customHooks/networkLogger"),consoleLogger_1=require("../../customHooks/consoleLogger"),analyticsLogger_1=require("../../customHooks/analyticsLogger"),crashHandler_1=require("../../customHooks/crashHandler"),reduxLogger_1=require("../../customHooks/reduxLogger"),i18n_1=require("../../i18n"),LanguageSelectorModal_1=require("./LanguageSelectorModal"),NetworkIcons_1=require("../NetworkIcons"),capture_1=require("../../capture"),NativeInspector_1=require("../../native/NativeInspector"),toast_1=require("../../helpers/toast"),memoryManager_1=require("../../helpers/memoryManager"),SettingsPanel=()=>{const{t:o}=(0,i18n_1.useTranslation)(),{settingsPage:a,setSettingsPage:_,settingsActiveSubTab:h,setSettingsActiveSubTab:b,tabVisibility:R,toggleTabVisibility:se,defaultTab:z,setDefaultTab:Se,isDark:I,setIsDark:ke,modalHeightPercent:L,setModalHeightPercent:Fe,modalAnimationType:Re,setModalAnimationType:ze,showUpdateToast:Z,setShowUpdateToast:Be,showConsoleLevels:Ie,setShowConsoleLevels:He,closeModal:no,logs:ee,consoleLogs:oe,analyticsEvents:re,reduxState:$,maxConsoleLogs:pe,setMaxConsoleLogs:De,maxAnalyticsEventsLimit:ce,setMaxAnalyticsEventsLimit:Pe,isAutoRamLimitEnabled:w,setIsAutoRamLimitEnabled:Le,deviceFreeRamMb:te,reduxAutoRefresh:ie,setReduxAutoRefreshState:$e,reduxExpandDepth:We,setReduxExpandDepth:Ee,setSelected:Oe,setSelectedEvent:Me,setReduxState:Ne,crashRecords:W,maxCrashLogs:de,setMaxCrashLogs:ge,crashIgnoredTypes:m,setCrashIgnoredTypes:je,crashModalTriggerPolicy:Ue,setCrashModalTriggerPolicyState:ue,applyCrashPolicyPreset:E,pushRecords:O,maxPushLogs:Ge,setMaxPushLogs:qe,clearAllPushLogs:Je,simulatePush:M,socketRecords:N,maxSocketLogs:Ye,setMaxSocketLogs:Ke,clearAllSocketLogs:Xe,simulateSocket:j,captureImageFormat:ae,setCaptureImageFormat:ye,captureAutoHide:x,setCaptureAutoHide:U,captureAudioMode:Ce,setCaptureAudioMode:he,captureFps:Ae,setCaptureFps:be,captureScale:so,setCaptureScale:po,captureBitrate:co,setCaptureBitrate:go,captureMaxDurationSeconds:uo,setCaptureMaxDurationSeconds:yo,captureAutoGif:T,setCaptureAutoGif:G,captureWidgetEnabled:B,setCaptureWidgetEnabled:me,peekOpacity:fe,setPeekOpacity:Qe,hiddenUrlPatterns:H,setHiddenUrlPatterns:le}=(0,InspectorContext_1.useInspector)(),[q,_e]=(0,react_1.useState)(""),[J,we]=(0,react_1.useState)(L),[Ze,xe]=(0,react_1.useState)(!1),eo=(0,i18n_1.getLanguage)(),Y=i18n_1.SUPPORTED_LANGUAGES.find(e=>e.code===eo)||i18n_1.SUPPORTED_LANGUAGES[0],Te=()=>{const e=q.trim();if(e){if(H.includes(e)){(0,toast_1.showToast)("Pattern already exists in filter list");return}try{new RegExp(e)}catch{}(0,NativeInspector_1.triggerNativeHaptic)("light"),le(r=>[...r,e]),_e(""),(0,toast_1.showToast)("Hidden URL pattern added")}},oo=e=>{const r=H[e];if(constants_1.DEFAULT_HIDDEN_URL_PATTERNS.includes(r)){(0,toast_1.showToast)("Default system filter cannot be removed");return}(0,NativeInspector_1.triggerNativeHaptic)("light"),le(C=>C.filter((f,v)=>v!==e)),(0,toast_1.showToast)("Pattern removed")};(0,react_1.useEffect)(()=>{we(L)},[L]);const V=(0,react_1.useRef)(new react_native_1.Animated.Value(1)).current;(0,react_1.useEffect)(()=>{V.setValue(0),react_native_1.Animated.spring(V,{toValue:1,friction:8,tension:65,useNativeDriver:!0}).start()},[h]);const K=(0,settingsStore_1.calculateRamBasedLimits)(te),S=(0,react_1.useMemo)(()=>[{id:1,key:"apis",label:"APIs (Network)",category:"core",icon:"apis",desc:"HTTP/HTTPS requests, GraphQL, Axios & WebSocket inspector"},{id:2,key:"logs",label:"Console Logs",category:"core",icon:"logs",desc:"Terminal console logs, warnings, errors & stack traces"},{id:3,key:"perf",label:"Performance & FPS",category:"telemetry",icon:"perf",desc:"Live 60 FPS graph, JS event loop queue lag, memory heap & jank monitor"},{id:4,key:"analytics",label:"Analytics Logger",category:"telemetry",icon:"analytics",desc:"Firebase & custom analytics events, user properties & params"},{id:5,key:"redux",label:"Redux Inspector",category:"telemetry",icon:"redux",desc:"Store state diffing, action history & reducer timeline"},{id:6,key:"storage",label:"Storage Inspector",category:"telemetry",icon:"storage",desc:"AsyncStorage & MMKV key-value store viewer with full CRUD support"},{id:7,key:"device",label:"Device Info",category:"diagnostic",icon:"device",desc:"Hardware specs, IP address, screen metrics, UDID & runtime stats"},{id:8,key:"crash",label:"Crash Protection",category:"diagnostic",icon:"crash",desc:"Runtime exception guard, breadcrumbs & memory snapshot"},{id:9,key:"media",label:"Screencast",category:"diagnostic",icon:"media",desc:"Screenshots, video recordings, audio narration & animated GIFs"},{id:10,key:"push",label:"Push Notifications",category:"telemetry",icon:"push",desc:"Universal push & local notification logger (Salesforce, FCM, APNs, Braze, Expo)"},{id:11,key:"socket",label:"WebSocket & Socket.IO",category:"telemetry",icon:"socket",desc:"Real-time WebSocket & Socket.IO message inspector, frames & event logger"}],[]),ro={apis:{color:AppColors_1.AppColors.blue500,bg:`${AppColors_1.AppColors.blue500}14`,border:`${AppColors_1.AppColors.blue500}2E`},logs:{color:AppColors_1.AppColors.purple,bg:`${AppColors_1.AppColors.purple}14`,border:`${AppColors_1.AppColors.purple}2E`},perf:{color:AppColors_1.AppColors.purple,bg:`${AppColors_1.AppColors.purple}14`,border:`${AppColors_1.AppColors.purple}2E`},analytics:{color:AppColors_1.AppColors.amber600,bg:`${AppColors_1.AppColors.amber600}14`,border:`${AppColors_1.AppColors.amber600}2E`},redux:{color:AppColors_1.AppColors.violet600,bg:`${AppColors_1.AppColors.violet600}14`,border:`${AppColors_1.AppColors.violet600}2E`},storage:{color:AppColors_1.AppColors.cyan600,bg:`${AppColors_1.AppColors.cyan600}14`,border:`${AppColors_1.AppColors.cyan600}2E`},device:{color:AppColors_1.AppColors.emerald600,bg:`${AppColors_1.AppColors.emerald600}14`,border:`${AppColors_1.AppColors.emerald600}2E`},crash:{color:AppColors_1.AppColors.red600,bg:`${AppColors_1.AppColors.red600}14`,border:`${AppColors_1.AppColors.red600}2E`},media:{color:AppColors_1.AppColors.pink600,bg:`${AppColors_1.AppColors.pink600}14`,border:`${AppColors_1.AppColors.pink600}2E`},push:{color:AppColors_1.AppColors.orange600,bg:`${AppColors_1.AppColors.orange600}14`,border:`${AppColors_1.AppColors.orange600}2E`},socket:{color:AppColors_1.AppColors.teal600,bg:`${AppColors_1.AppColors.teal600}14`,border:`${AppColors_1.AppColors.teal600}2E`}},X=(0,react_1.useMemo)(()=>S.filter(e=>!(e.key==="apis"||e.key==="redux"&&!(0,reduxLogger_1.isReduxConnected)()||e.key==="analytics"&&!(0,analyticsLogger_1.isAnalyticsConnected)())),[S]),to=S.filter(e=>e.key==="apis"||!!R?.[e.key]).length,D=(0,react_1.useMemo)(()=>X.length===0?!1:X.every(e=>!!R?.[e.key]),[X,R]),io=e=>{e!=="apis"&&((0,NativeInspector_1.triggerNativeHaptic)("light"),se(e))},ao=()=>{(0,NativeInspector_1.triggerNativeHaptic)("medium");const e=!D;X.forEach(r=>{!!R?.[r.key]!==e&&se(r.key)}),(0,toast_1.showToast)(e?"All modules enabled":"Optional modules disabled")},[ne,ve]=(0,react_1.useState)(!1),i=e=><react_native_1.View key={e.key}style={{paddingVertical:12,borderBottomWidth:e.isLast?0:1,borderBottomColor:AppColors_1.AppColors.dividerColor}}>
|
|
2
2
|
<TouchableScale_1.default disabled={!e.onPress}onPress={e.onPress}style={{flexDirection:"row",alignItems:"center",gap:12}}>
|
|
3
3
|
<react_native_1.View style={{width:36,height:36,borderRadius:10,backgroundColor:AppColors_1.AppColors.purpleShade50,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}2E`,alignItems:"center",justifyContent:"center"}}>
|
|
4
4
|
{e.icon}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
</react_native_1.Text>
|
|
33
33
|
</TouchableScale_1.default>})}
|
|
34
34
|
</react_native_1.View>}
|
|
35
|
-
</react_native_1.View>,
|
|
35
|
+
</react_native_1.View>,lo=()=><react_native_1.View style={{flex:1,backgroundColor:AppColors_1.AppColors.grayBackground}}>
|
|
36
36
|
<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:14}}showsVerticalScrollIndicator={!1}>
|
|
37
37
|
|
|
38
38
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:12,padding:3,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,flexDirection:"row",alignItems:"center",shadowColor:AppColors_1.AppColors.black,shadowOpacity:.04,shadowRadius:4,shadowOffset:{width:0,height:2},elevation:2}}>
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
</react_native_1.Text>
|
|
54
54
|
<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.purple}14`,paddingHorizontal:6,paddingVertical:1.5,borderRadius:10,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}25`}}>
|
|
55
55
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:AppColors_1.AppColors.purple}}>
|
|
56
|
-
{
|
|
56
|
+
{to} of {S.length}
|
|
57
57
|
</react_native_1.Text>
|
|
58
58
|
</react_native_1.View>
|
|
59
59
|
</react_native_1.View>
|
|
60
60
|
|
|
61
|
-
<TouchableScale_1.default onPress={
|
|
61
|
+
<TouchableScale_1.default onPress={ao}hitSlop={6}style={{paddingHorizontal:10,paddingVertical:4.5,borderRadius:7,backgroundColor:D?`${AppColors_1.AppColors.purple}14`:AppColors_1.AppColors.purple,borderWidth:1,borderColor:D?`${AppColors_1.AppColors.purple}30`:"transparent"}}>
|
|
62
62
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:D?AppColors_1.AppColors.purple:AppColors_1.AppColors.white}}>
|
|
63
63
|
{D?"Deselect All":"Select All"}
|
|
64
64
|
</react_native_1.Text>
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
<react_native_1.View style={{gap:8}}>
|
|
70
|
-
{S.map(e=>{const r=(0,reduxLogger_1.isReduxConnected)(),C=(0,analyticsLogger_1.isAnalyticsConnected)(),f=e.key==="redux"&&!r||e.key==="analytics"&&!C,v=e.key==="apis"||f,t=e.key==="apis"||!!R?.[e.key]&&!f,A=
|
|
70
|
+
{S.map(e=>{const r=(0,reduxLogger_1.isReduxConnected)(),C=(0,analyticsLogger_1.isAnalyticsConnected)(),f=e.key==="redux"&&!r||e.key==="analytics"&&!C,v=e.key==="apis"||f,t=e.key==="apis"||!!R?.[e.key]&&!f,A=ro[e.key]||{color:AppColors_1.AppColors.purple,bg:`${AppColors_1.AppColors.purple}14`,border:`${AppColors_1.AppColors.purple}2E`},F=e.key==="apis"||e.key==="logs"||e.key==="analytics"||e.key==="redux"||e.key==="crash"||e.key==="push"||e.key==="socket",P=e.key==="apis"?ee.length>0?`${ee.length} requests`:"":e.key==="logs"?oe.length>0?`${oe.length} logs`:"":e.key==="crash"?W&&W.length>0?`${W.length} crashes`:"":e.key==="analytics"?re.length>0?`${re.length} events`:"":e.key==="redux"?$&&Object.keys($).length>0?`${Object.keys($).length} slices`:"":e.key==="push"?O&&O.length>0?`${O.length} notifications`:"":e.key==="socket"&&N&&N.length>0?`${N.length} sockets`:"";return<react_native_1.View key={e.key}style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:13,borderWidth:1,borderColor:t?`${A.color}38`:AppColors_1.AppColors.grayBorderSecondary,padding:12,gap:8,shadowColor:AppColors_1.AppColors.black,shadowOpacity:t?.03:.01,shadowRadius:3,shadowOffset:{width:0,height:1.5},elevation:1.5}}>
|
|
71
71
|
|
|
72
72
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10}}>
|
|
73
73
|
|
|
@@ -118,17 +118,17 @@
|
|
|
118
118
|
</react_native_1.View>
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
<react_native_1.Switch value={t}disabled={v}onValueChange={()=>
|
|
121
|
+
<react_native_1.Switch value={t}disabled={v}onValueChange={()=>io(e.key)}trackColor={{false:AppColors_1.AppColors.grayBorderSecondary,true:AppColors_1.AppColors.purple}}thumbColor={AppColors_1.AppColors.white}ios_backgroundColor={AppColors_1.AppColors.grayBorderSecondary}style={{transform:[{scaleX:.8},{scaleY:.8}]}}/>
|
|
122
122
|
</react_native_1.View>
|
|
123
123
|
|
|
124
124
|
|
|
125
|
-
{(
|
|
125
|
+
{(P||F||e.key==="media")&&<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingTop:7,borderTopWidth:1,borderTopColor:`${AppColors_1.AppColors.dividerColor}99`,marginTop:1}}>
|
|
126
126
|
|
|
127
127
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:5,flex:1}}>
|
|
128
|
-
{
|
|
128
|
+
{P?<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:5}}>
|
|
129
129
|
<react_native_1.View style={{width:5.5,height:5.5,borderRadius:3,backgroundColor:t?A.color:AppColors_1.AppColors.grayTextWeak}}/>
|
|
130
130
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:10.5,lineHeight:14,color:t?AppColors_1.AppColors.grayTextStrong:AppColors_1.AppColors.grayTextWeak}}>
|
|
131
|
-
{
|
|
131
|
+
{P}
|
|
132
132
|
</react_native_1.Text>
|
|
133
133
|
</react_native_1.View>:<react_native_1.View/>}
|
|
134
134
|
</react_native_1.View>
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
</react_native_1.View>
|
|
169
169
|
</react_native_1.View>
|
|
170
170
|
|
|
171
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle Dark Theme"accessibilityState={{checked:I}}onPress={()=>{const e=!I;
|
|
171
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle Dark Theme"accessibilityState={{checked:I}}onPress={()=>{const e=!I;ke(e),(0,styles_1.toggleGlobalTheme)(e)}}style={{width:42,height:24,borderRadius:12,backgroundColor:I?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:I?"flex-end":"flex-start"}}>
|
|
172
172
|
<react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
|
|
173
173
|
</TouchableScale_1.default>
|
|
174
174
|
</react_native_1.View>
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
</react_native_1.View>
|
|
192
192
|
</react_native_1.View>
|
|
193
193
|
|
|
194
|
-
<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),
|
|
194
|
+
<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),xe(!0)}}style={{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.purpleShade50,paddingHorizontal:10,paddingVertical:6,borderRadius:8,gap:5,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}20`}}>
|
|
195
195
|
{Y?.flag?<react_native_1.Text style={{fontSize:13}}>{Y.flag}</react_native_1.Text>:<NetworkIcons_1.GlobeIcon size={14}color={AppColors_1.AppColors.purple}/>}
|
|
196
196
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:12,color:AppColors_1.AppColors.purple}}>
|
|
197
197
|
{Y?.nativeName||Y?.name||"English"}
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
</react_native_1.View>
|
|
225
225
|
</react_native_1.View>
|
|
226
226
|
|
|
227
|
-
{J!==
|
|
227
|
+
{J!==L&&<TouchableScale_1.default onPress={()=>{Fe(J)}}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:AppColors_1.AppColors.purple,paddingHorizontal:10,paddingVertical:5,borderRadius:7,shadowColor:AppColors_1.AppColors.purple,shadowOffset:{width:0,height:1},shadowOpacity:.28,shadowRadius:2,elevation:2}}>
|
|
228
228
|
<NetworkIcons_1.CheckIcon size={11}color={AppColors_1.AppColors.white}/>
|
|
229
229
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.white}}>
|
|
230
230
|
Save ({J}%)
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
</react_native_1.View>
|
|
234
234
|
|
|
235
235
|
<react_native_1.View style={{marginTop:6}}>
|
|
236
|
-
<Slider_1.default value={J}onValueChange={
|
|
236
|
+
<Slider_1.default value={J}onValueChange={we}min={50}max={90}step={5}quickPresets={[50,60,70,80,90]}formatLabel={e=>`${Math.round(e)}%`}/>
|
|
237
237
|
</react_native_1.View>
|
|
238
238
|
</react_native_1.View>
|
|
239
239
|
|
|
@@ -258,13 +258,13 @@
|
|
|
258
258
|
|
|
259
259
|
<react_native_1.View style={{backgroundColor:"rgba(6, 182, 212, 0.14)",paddingHorizontal:8,paddingVertical:3,borderRadius:6,borderWidth:1,borderColor:"rgba(6, 182, 212, 0.30)"}}>
|
|
260
260
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:"#06B6D4"}}>
|
|
261
|
-
{
|
|
261
|
+
{fe.toFixed(1)}
|
|
262
262
|
</react_native_1.Text>
|
|
263
263
|
</react_native_1.View>
|
|
264
264
|
</react_native_1.View>
|
|
265
265
|
|
|
266
266
|
<react_native_1.View style={{marginTop:6}}>
|
|
267
|
-
<Slider_1.default value={
|
|
267
|
+
<Slider_1.default value={fe}onValueChange={e=>{const r=Math.round(e*10)/10;Qe(r)}}min={.1}max={1}step={.1}quickPresets={[.1,.3,.5,.7,1]}formatLabel={e=>e.toFixed(1)}/>
|
|
268
268
|
</react_native_1.View>
|
|
269
269
|
</react_native_1.View>
|
|
270
270
|
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
</react_native_1.View>
|
|
288
288
|
|
|
289
289
|
<react_native_1.View style={{flexDirection:"row",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,padding:3,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor}}>
|
|
290
|
-
{[{key:"slide",label:"Slide Up"},{key:"fade",label:"Fade"},{key:"none",label:"None"}].map(e=>{const r=
|
|
290
|
+
{[{key:"slide",label:"Slide Up"},{key:"fade",label:"Fade"},{key:"none",label:"None"}].map(e=>{const r=Re===e.key;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="button"accessibilityLabel={`Set transition animation to ${e.label}`}accessibilityState={{selected:r}}onPress={()=>ze(e.key)}style={{flex:1,paddingVertical:7,alignItems:"center",borderRadius:8,backgroundColor:r?AppColors_1.AppColors.purple:"transparent"}}>
|
|
291
291
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,lineHeight:15,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}}>
|
|
292
292
|
{e.label}
|
|
293
293
|
</react_native_1.Text>
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
|
|
319
319
|
|
|
320
320
|
<react_native_1.View style={{marginTop:6,gap:6}}>
|
|
321
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`Default opening tab: ${S.find(e=>e.key===z)?.label||"APIs"}`}onPress={()=>
|
|
321
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`Default opening tab: ${S.find(e=>e.key===z)?.label||"APIs"}`}onPress={()=>ve(e=>!e)}style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,borderWidth:1.5,borderColor:ne?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,paddingHorizontal:14,paddingVertical:11}}>
|
|
322
322
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10,flex:1}}>
|
|
323
323
|
<react_native_1.View style={{width:8,height:8,borderRadius:4,backgroundColor:AppColors_1.AppColors.purple}}/>
|
|
324
324
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:AppColors_1.AppColors.primaryBlack}}>
|
|
@@ -331,14 +331,14 @@
|
|
|
331
331
|
</react_native_1.View>
|
|
332
332
|
</react_native_1.View>
|
|
333
333
|
|
|
334
|
-
<react_native_1.View style={{transform:[{rotate:
|
|
334
|
+
<react_native_1.View style={{transform:[{rotate:ne?"180deg":"0deg"}]}}>
|
|
335
335
|
<NetworkIcons_1.ChevronDownIcon color={AppColors_1.AppColors.grayText}size={15}/>
|
|
336
336
|
</react_native_1.View>
|
|
337
337
|
</TouchableScale_1.default>
|
|
338
338
|
|
|
339
339
|
|
|
340
|
-
{
|
|
341
|
-
{S.filter(e=>e.key==="apis"||R?.[e.key]).map((e,r,C)=>{const f=z===e.key,v=r===C.length-1;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="button"accessibilityLabel={`Select ${e.label} as default tab`}onPress={()=>{
|
|
340
|
+
{ne&&<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,overflow:"hidden",shadowColor:AppColors_1.AppColors.black,shadowOpacity:.08,shadowRadius:6,shadowOffset:{width:0,height:3},elevation:4}}>
|
|
341
|
+
{S.filter(e=>e.key==="apis"||R?.[e.key]).map((e,r,C)=>{const f=z===e.key,v=r===C.length-1;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="button"accessibilityLabel={`Select ${e.label} as default tab`}onPress={()=>{Se(e.key),ve(!1)}}style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:14,paddingVertical:11,backgroundColor:f?`${AppColors_1.AppColors.purple}0F`:"transparent",borderBottomWidth:v?0:1,borderBottomColor:AppColors_1.AppColors.dividerColor}}>
|
|
342
342
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10}}>
|
|
343
343
|
<react_native_1.View style={{width:6,height:6,borderRadius:3,backgroundColor:f?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}}/>
|
|
344
344
|
<react_native_1.Text style={{fontFamily:f?AppFonts_1.AppFonts.interBold:AppFonts_1.AppFonts.interMedium,fontSize:13,color:f?AppColors_1.AppColors.purple:AppColors_1.AppColors.primaryBlack}}>
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
</react_native_1.View>
|
|
373
373
|
</react_native_1.View>
|
|
374
374
|
|
|
375
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle NPM Update Toast"accessibilityState={{checked:
|
|
375
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle NPM Update Toast"accessibilityState={{checked:Z}}onPress={()=>Be(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:Z?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:Z?"flex-end":"flex-start"}}>
|
|
376
376
|
<react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
|
|
377
377
|
</TouchableScale_1.default>
|
|
378
378
|
</react_native_1.View>
|
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
</react_native_1.View>
|
|
403
403
|
</react_native_1.View>
|
|
404
404
|
|
|
405
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle auto RAM limit calculation"accessibilityState={{checked:w}}onPress={()=>
|
|
405
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle auto RAM limit calculation"accessibilityState={{checked:w}}onPress={()=>Le(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:w?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:w?"flex-end":"flex-start"}}>
|
|
406
406
|
<react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
|
|
407
407
|
</TouchableScale_1.default>
|
|
408
408
|
</react_native_1.View>
|
|
@@ -419,12 +419,12 @@
|
|
|
419
419
|
Detected Available RAM
|
|
420
420
|
</react_native_1.Text>
|
|
421
421
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayText,marginTop:1}}>
|
|
422
|
-
{
|
|
422
|
+
{te} MB available on device
|
|
423
423
|
</react_native_1.Text>
|
|
424
424
|
</react_native_1.View>
|
|
425
425
|
<react_native_1.View style={{paddingHorizontal:10,paddingVertical:5,borderRadius:8,backgroundColor:w?`${AppColors_1.AppColors.purple}12`:AppColors_1.AppColors.grayBackground,borderWidth:1,borderColor:w?`${AppColors_1.AppColors.purple}26`:AppColors_1.AppColors.dividerColor}}>
|
|
426
426
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,lineHeight:15,color:w?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayText}}>
|
|
427
|
-
{
|
|
427
|
+
{te} MB
|
|
428
428
|
</react_native_1.Text>
|
|
429
429
|
</react_native_1.View>
|
|
430
430
|
</react_native_1.View>
|
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
</react_native_1.View>
|
|
444
444
|
|
|
445
445
|
<react_native_1.View style={{flexDirection:"row",flexWrap:"wrap",gap:8,marginTop:4}}>
|
|
446
|
-
{[{label:"Logs",value:w?K.maxConsoleLogs:
|
|
446
|
+
{[{label:"Logs",value:w?K.maxConsoleLogs:pe,color:AppColors_1.AppColors.sky500},{label:"Analytics",value:w?K.maxAnalyticsEvents:ce,color:AppColors_1.AppColors.purple},{label:"Crash",value:w?K.maxCrashRecords:de,color:AppColors_1.AppColors.errorColor}].map(e=><react_native_1.View key={e.label}style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${e.color}14`,borderWidth:1,borderColor:`${e.color}33`}}>
|
|
447
447
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,lineHeight:14,color:e.color}}>
|
|
448
448
|
{e.label}:
|
|
449
449
|
</react_native_1.Text>
|
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
</react_native_1.View>
|
|
519
519
|
</react_native_1.View>
|
|
520
520
|
|
|
521
|
-
{i({icon:<NetworkIcons_1.CameraIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.enableFloatingWidget","Enable Floating Widget"),description:o("settings.media.enableFloatingWidgetDesc","Shows draggable quick screenshot & video recording button on screen"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),
|
|
521
|
+
{i({icon:<NetworkIcons_1.CameraIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.enableFloatingWidget","Enable Floating Widget"),description:o("settings.media.enableFloatingWidgetDesc","Shows draggable quick screenshot & video recording button on screen"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),me(e=>!e),(0,toast_1.showToast)(`Capture widget: ${B?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),me(e=>!e),(0,toast_1.showToast)(`Capture widget: ${B?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:B?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:B?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
|
|
522
522
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:B?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayText}}>
|
|
523
523
|
{B?o("settings.media.enabled","ON"):"OFF"}
|
|
524
524
|
</react_native_1.Text>
|
|
@@ -542,7 +542,7 @@
|
|
|
542
542
|
</react_native_1.View>
|
|
543
543
|
|
|
544
544
|
{i({icon:<NetworkIcons_1.ImageIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.imageFormat","Image Format"),description:o("settings.media.imageFormatDesc","Export formats (PNG lossless, JPEG lossy, WebP)"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
545
|
-
{["png","jpeg","webp"].map(e=>{const r=
|
|
545
|
+
{["png","jpeg","webp"].map(e=>{const r=ae===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ye(e),(0,toast_1.showToast)(`Screenshot format: ${e.toUpperCase()}`)}}style={{paddingHorizontal:9,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
546
546
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
547
547
|
{e.toUpperCase()}
|
|
548
548
|
</react_native_1.Text>
|
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
</react_native_1.View>
|
|
574
574
|
|
|
575
575
|
{i({icon:<NetworkIcons_1.MicrophoneIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.audioMode","Audio Source"),description:o("settings.media.audioModeDesc","Record video with muted, app audio, or microphone commentary"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
576
|
-
{[{key:"none",label:"Muted"},{key:"app",label:"App"},{key:"mic",label:"Mic"}].map(e=>{const r=
|
|
576
|
+
{[{key:"none",label:"Muted"},{key:"app",label:"App"},{key:"mic",label:"Mic"}].map(e=>{const r=Ce===e.key;return<TouchableScale_1.default key={e.key}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),he(e.key),(0,toast_1.showToast)(`Audio source: ${e.label}`)}}style={{paddingHorizontal:8,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
577
577
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
578
578
|
{e.label}
|
|
579
579
|
</react_native_1.Text>
|
|
@@ -581,7 +581,7 @@
|
|
|
581
581
|
</react_native_1.View>})}
|
|
582
582
|
|
|
583
583
|
{i({icon:<NetworkIcons_1.FilmIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.frameRate","Recording Frame Rate (FPS)"),description:o("settings.media.frameRateDesc","Target video smoothness: 15, 24, 30, or 60 FPS"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
584
|
-
{[15,24,30,60].map(e=>{const r=
|
|
584
|
+
{[15,24,30,60].map(e=>{const r=Ae===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),be(e),(0,toast_1.showToast)(`Recording FPS: ${e}`)}}style={{paddingHorizontal:7,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
585
585
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
586
586
|
{e}fps
|
|
587
587
|
</react_native_1.Text>
|
|
@@ -623,7 +623,7 @@
|
|
|
623
623
|
</react_native_1.Text>
|
|
624
624
|
</react_native_1.View>
|
|
625
625
|
</react_native_1.View>
|
|
626
|
-
{H.length>0&&<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),
|
|
626
|
+
{H.length>0&&<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),le([...constants_1.DEFAULT_HIDDEN_URL_PATTERNS]),(0,toast_1.showToast)(o("settings.apis.resetFilterToast","Reset to default URL filters"))}}hitSlop={8}style={{paddingHorizontal:8,paddingVertical:4.5,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}33`,alignSelf:"flex-start"}}>
|
|
627
627
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.purple}}>
|
|
628
628
|
{o("common.resetDefaults","Reset Defaults")}
|
|
629
629
|
</react_native_1.Text>
|
|
@@ -633,8 +633,8 @@
|
|
|
633
633
|
|
|
634
634
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:8,backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,paddingHorizontal:10,paddingVertical:react_native_1.Platform.OS==="ios"?8:4}}>
|
|
635
635
|
<NetworkIcons_1.CodeBracketsIcon size={14}color={AppColors_1.AppColors.grayTextWeak}/>
|
|
636
|
-
<react_native_1.TextInput style={{flex:1,fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,lineHeight:16,color:AppColors_1.AppColors.primaryBlack,padding:0}}placeholder={o("settings.apis.addPatternPlaceholder","e.g. https://api.example.com or .*analytics.*")}placeholderTextColor={AppColors_1.AppColors.grayTextWeak}value={q}onChangeText={
|
|
637
|
-
<TouchableScale_1.default onPress={
|
|
636
|
+
<react_native_1.TextInput style={{flex:1,fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,lineHeight:16,color:AppColors_1.AppColors.primaryBlack,padding:0}}placeholder={o("settings.apis.addPatternPlaceholder","e.g. https://api.example.com or .*analytics.*")}placeholderTextColor={AppColors_1.AppColors.grayTextWeak}value={q}onChangeText={_e}autoCapitalize="none"autoCorrect={!1}onSubmitEditing={Te}returnKeyType="done"/>
|
|
637
|
+
<TouchableScale_1.default onPress={Te}disabled={!q.trim()}style={{paddingHorizontal:10,paddingVertical:5.5,borderRadius:7,backgroundColor:q.trim()?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}33`}}>
|
|
638
638
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.white}}>
|
|
639
639
|
{o("common.add","+ Add")}
|
|
640
640
|
</react_native_1.Text>
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
</react_native_1.View>
|
|
657
657
|
{C?<react_native_1.View style={{padding:5,borderRadius:5,backgroundColor:`${AppColors_1.AppColors.grayTextWeak}18`,alignItems:"center",justifyContent:"center"}}>
|
|
658
658
|
<NetworkIcons_1.LockIcon size={12}color={AppColors_1.AppColors.grayTextWeak}/>
|
|
659
|
-
</react_native_1.View>:<TouchableScale_1.default onPress={()=>
|
|
659
|
+
</react_native_1.View>:<TouchableScale_1.default onPress={()=>oo(r)}hitSlop={8}style={{padding:5,borderRadius:5,backgroundColor:`${AppColors_1.AppColors.errorColor}14`}}>
|
|
660
660
|
<NetworkIcons_1.TrashIcon size={12}color={AppColors_1.AppColors.errorColor}/>
|
|
661
661
|
</TouchableScale_1.default>}
|
|
662
662
|
</react_native_1.View>})}
|
|
@@ -668,7 +668,7 @@
|
|
|
668
668
|
|
|
669
669
|
|
|
670
670
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
671
|
-
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.apis.clearNetworkLogs"),description:o("settings.apis.clearNetworkLogsDescription",{count:
|
|
671
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.apis.clearNetworkLogs"),description:o("settings.apis.clearNetworkLogsDescription",{count:ee.length}),isLast:!0,onPress:()=>{(0,networkLogger_1.clearNetworkLogs)(),Oe(null),react_native_1.Alert.alert(o("common.success"),o("settings.apis.networkLogsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
672
672
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
673
673
|
{o("common.clear")}
|
|
674
674
|
</react_native_1.Text>
|
|
@@ -677,46 +677,18 @@
|
|
|
677
677
|
<react_native_1.View style={{height:48}}/>
|
|
678
678
|
</react_native_1.ScrollView>;else if(a==="logs")k=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
679
679
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
680
|
-
{i({icon:<NetworkIcons_1.TerminalIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.logs.maxConsoleLogs"),description:o("settings.logs.maxConsoleLogsDescription"),numericInput:{value:
|
|
680
|
+
{i({icon:<NetworkIcons_1.TerminalIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.logs.maxConsoleLogs"),description:o("settings.logs.maxConsoleLogsDescription"),numericInput:{value:pe,onChange:De,min:10,max:100,placeholder:"Enter max logs (10-100)"}})}
|
|
681
681
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
682
682
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,lineHeight:17,color:AppColors_1.AppColors.primaryBlack,paddingTop:6}}>
|
|
683
683
|
{o("settings.logs.logLevels")}
|
|
684
684
|
</react_native_1.Text>
|
|
685
|
-
{["info","warn","error"].map(e=>{const r=
|
|
685
|
+
{["info","warn","error"].map(e=>{const r=Ie?.[e],C=e==="error"?AppColors_1.AppColors.errorColor:e==="warn"?AppColors_1.AppColors.warningIconGold:AppColors_1.AppColors.skyBlue,f=o(e==="info"?"settings.logs.showInfo":e==="warn"?"settings.logs.showWarn":"settings.logs.showError"),v=o(e==="info"?"settings.logs.showInfoDesc":e==="warn"?"settings.logs.showWarnDesc":"settings.logs.showErrorDesc");return i({icon:<react_native_1.View style={{width:12,height:12,borderRadius:6,backgroundColor:C}}/>,label:f,description:v,isLast:e==="error",onPress:()=>He(t=>({...t,[e]:!t[e]})),right:<react_native_1.View style={{width:22,height:22,borderRadius:6,borderWidth:2,borderColor:r?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak,backgroundColor:r?`${AppColors_1.AppColors.purple}1A`:"transparent",alignItems:"center",justifyContent:"center"}}>
|
|
686
686
|
{r&&<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.purple}/>}
|
|
687
687
|
</react_native_1.View>})})}
|
|
688
688
|
</react_native_1.View>
|
|
689
689
|
|
|
690
|
-
|
|
691
|
-
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,overflow:"hidden",padding:16,gap:14}}>
|
|
692
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.grayTextWeak,letterSpacing:.8}}>
|
|
693
|
-
{o("settings.logFiltersDeduplication")}
|
|
694
|
-
</react_native_1.Text>
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}>
|
|
698
|
-
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10,flex:1}}>
|
|
699
|
-
<react_native_1.View style={{width:32,height:32,borderRadius:8,backgroundColor:AppColors_1.AppColors.purpleShade50,alignItems:"center",justifyContent:"center"}}>
|
|
700
|
-
<NetworkIcons_1.EyeIcon color={AppColors_1.AppColors.purple}size={15}/>
|
|
701
|
-
</react_native_1.View>
|
|
702
|
-
<react_native_1.View style={{flex:1}}>
|
|
703
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:AppColors_1.AppColors.primaryBlack}}>
|
|
704
|
-
{o("settings.general.duplicateLogs")}
|
|
705
|
-
</react_native_1.Text>
|
|
706
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayText,marginTop:1}}>
|
|
707
|
-
{o("settings.general.duplicateLogsDescription")}
|
|
708
|
-
</react_native_1.Text>
|
|
709
|
-
</react_native_1.View>
|
|
710
|
-
</react_native_1.View>
|
|
711
|
-
|
|
712
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle show duplicate logs"accessibilityState={{checked:Z}}onPress={()=>Ie(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:Z?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:Z?"flex-end":"flex-start"}}>
|
|
713
|
-
<react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
|
|
714
|
-
</TouchableScale_1.default>
|
|
715
|
-
</react_native_1.View>
|
|
716
|
-
</react_native_1.View>
|
|
717
|
-
|
|
718
690
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
719
|
-
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.logs.clearConsoleLogs"),description:o("settings.logs.clearConsoleLogsDescription",{count:
|
|
691
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.logs.clearConsoleLogs"),description:o("settings.logs.clearConsoleLogsDescription",{count:oe.length}),isLast:!0,onPress:()=>{(0,consoleLogger_1.clearConsoleLogs)(),react_native_1.Alert.alert(o("common.success"),o("settings.logs.consoleLogsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
720
692
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
721
693
|
{o("common.clear")}
|
|
722
694
|
</react_native_1.Text>
|
|
@@ -725,10 +697,10 @@
|
|
|
725
697
|
<react_native_1.View style={{height:48}}/>
|
|
726
698
|
</react_native_1.ScrollView>;else if(a==="analytics")k=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
727
699
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary}}>
|
|
728
|
-
{i({icon:<NetworkIcons_1.AnalyticsIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.analytics.maxAnalyticsEvents"),description:o("settings.analytics.maxAnalyticsEventsDescription",{count:
|
|
700
|
+
{i({icon:<NetworkIcons_1.AnalyticsIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.analytics.maxAnalyticsEvents"),description:o("settings.analytics.maxAnalyticsEventsDescription",{count:re.length}),numericInput:{value:ce,onChange:Pe,min:10,max:75,placeholder:"Enter max events (10-75)"},isLast:!0})}
|
|
729
701
|
</react_native_1.View>
|
|
730
702
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
731
|
-
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.analytics.clearAnalyticsEvents"),description:o("settings.analytics.clearAnalyticsEventsDescription"),isLast:!0,onPress:()=>{(0,analyticsLogger_1.clearAnalyticsEvents)(),
|
|
703
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.analytics.clearAnalyticsEvents"),description:o("settings.analytics.clearAnalyticsEventsDescription"),isLast:!0,onPress:()=>{(0,analyticsLogger_1.clearAnalyticsEvents)(),Me(null),react_native_1.Alert.alert(o("common.success"),o("settings.analytics.analyticsEventsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
732
704
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
733
705
|
{o("common.clear")}
|
|
734
706
|
</react_native_1.Text>
|
|
@@ -737,15 +709,15 @@
|
|
|
737
709
|
<react_native_1.View style={{height:48}}/>
|
|
738
710
|
</react_native_1.ScrollView>;else if(a==="redux")k=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
739
711
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
740
|
-
{i({icon:<NetworkIcons_1.ReduxIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.redux.autoRefresh"),description:o("settings.redux.autoRefreshDescription"),onPress:()
|
|
741
|
-
{
|
|
712
|
+
{i({icon:<NetworkIcons_1.ReduxIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.redux.autoRefresh"),description:o("settings.redux.autoRefreshDescription"),onPress:()=>$e(e=>!e),right:<react_native_1.View style={{width:22,height:22,borderRadius:6,borderWidth:2,borderColor:ie?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak,backgroundColor:ie?`${AppColors_1.AppColors.purple}1A`:"transparent",alignItems:"center",justifyContent:"center"}}>
|
|
713
|
+
{ie&&<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.purple}/>}
|
|
742
714
|
</react_native_1.View>})}
|
|
743
715
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
744
|
-
{i({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.redux.defaultJsonExpandDepth"),description:o("settings.redux.defaultJsonExpandDepthDescription"),picker:{options:[1,2,3,5],selectedValue:
|
|
716
|
+
{i({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.redux.defaultJsonExpandDepth"),description:o("settings.redux.defaultJsonExpandDepthDescription"),picker:{options:[1,2,3,5],selectedValue:We,onSelect:Ee},isLast:!0})}
|
|
745
717
|
</react_native_1.View>
|
|
746
718
|
|
|
747
719
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
748
|
-
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.redux.clearReduxState"),description:o($?"settings.redux.clearReduxStateDescription":"settings.redux.clearReduxStateEmpty"),isLast:!0,onPress:()=>{
|
|
720
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.redux.clearReduxState"),description:o($?"settings.redux.clearReduxStateDescription":"settings.redux.clearReduxStateEmpty"),isLast:!0,onPress:()=>{Ne(null),react_native_1.Alert.alert(o("common.success"),o("settings.redux.reduxStateCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
749
721
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
750
722
|
{o("common.clear")}
|
|
751
723
|
</react_native_1.Text>
|
|
@@ -804,7 +776,7 @@
|
|
|
804
776
|
{o("settings.crash.categoryMatrix","ERROR INTERCEPTION & IGNORED CATEGORIES")}
|
|
805
777
|
</react_native_1.Text>
|
|
806
778
|
|
|
807
|
-
{v.map((t,A)=>{const F=!!m?.[t.key],
|
|
779
|
+
{v.map((t,A)=>{const F=!!m?.[t.key],P=A===v.length-1;return i({key:t.key,icon:t.icon,label:t.label,description:t.desc,isLast:P,onPress:()=>{je(Ve=>({...Ve,[t.key]:!Ve[t.key]}))},right:<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:8}}>
|
|
808
780
|
<react_native_1.View style={{paddingHorizontal:6,paddingVertical:2.5,borderRadius:5,backgroundColor:F?`${AppColors_1.AppColors.warningIconGold}18`:`${AppColors_1.AppColors.greenColor}18`}}>
|
|
809
781
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:F?AppColors_1.AppColors.warningIconGold:AppColors_1.AppColors.greenColor}}>
|
|
810
782
|
{F?o("settings.crash.ignoredBadge","IGNORED"):o("settings.crash.protectedBadge","PROTECTED")}
|
|
@@ -818,14 +790,14 @@
|
|
|
818
790
|
|
|
819
791
|
|
|
820
792
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary}}>
|
|
821
|
-
{i({icon:<NetworkIcons_1.ShieldAlertIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.crash.modalTriggerTitle","Modal Alert Display Policy"),description:o("settings.crash.modalTriggerDesc","Configure when the full-screen diagnostic modal appears"),isLast:!0,picker:{options:["fatal_only","all_errors","silent_tab_only"],selectedValue:
|
|
793
|
+
{i({icon:<NetworkIcons_1.ShieldAlertIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.crash.modalTriggerTitle","Modal Alert Display Policy"),description:o("settings.crash.modalTriggerDesc","Configure when the full-screen diagnostic modal appears"),isLast:!0,picker:{options:["fatal_only","all_errors","silent_tab_only"],selectedValue:Ue||"fatal_only",onSelect:t=>ue(t),formatLabel:t=>t==="fatal_only"?o("settings.crash.policyFatalOnly","Fatal Only"):t==="all_errors"?o("settings.crash.policyAllErrors","All Caught"):o("settings.crash.policySilent","Silent Only")}})}
|
|
822
794
|
</react_native_1.View>
|
|
823
795
|
|
|
824
796
|
|
|
825
797
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
826
|
-
{i({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.crash.maxCrashLogs","Max Crash Logs Buffer"),description:o("settings.crash.maxCrashLogsDesc","How many crash records to preserve in history (5-100)"),numericInput:{value:
|
|
798
|
+
{i({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.crash.maxCrashLogs","Max Crash Logs Buffer"),description:o("settings.crash.maxCrashLogsDesc","How many crash records to preserve in history (5-100)"),numericInput:{value:de,onChange:ge,min:5,max:100,placeholder:"Enter max crashes (5-100)"}})}
|
|
827
799
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
828
|
-
{i({icon:<NetworkIcons_1.RefreshCcwIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.crash.resetDefaults","Reset to Defaults"),description:o("settings.crash.resetDefaultsDesc","Restore recommended balanced crash protection settings"),onPress:()=>{E("balanced"),
|
|
800
|
+
{i({icon:<NetworkIcons_1.RefreshCcwIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.crash.resetDefaults","Reset to Defaults"),description:o("settings.crash.resetDefaultsDesc","Restore recommended balanced crash protection settings"),onPress:()=>{E("balanced"),ge(50),ue("fatal_only"),react_native_1.Alert.alert(o("common.success","Success"),o("settings.crash.resetDefaultsDesc","Restore recommended balanced crash protection settings"))},right:<react_native_1.View style={{paddingHorizontal:10,paddingVertical:5,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}33`}}>
|
|
829
801
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.purple}}>
|
|
830
802
|
{o("settings.reset","Reset")}
|
|
831
803
|
</react_native_1.Text>
|
|
@@ -841,7 +813,7 @@
|
|
|
841
813
|
</react_native_1.ScrollView>}else a==="push"?k=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
842
814
|
|
|
843
815
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
844
|
-
{i({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:"Max Push Notification Logs",description:"Buffer size limit for recorded push payloads (10-200)",numericInput:{value:
|
|
816
|
+
{i({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:"Max Push Notification Logs",description:"Buffer size limit for recorded push payloads (10-200)",numericInput:{value:Ge,onChange:qe,min:10,max:200,placeholder:"Enter max logs (10-200)"}})}
|
|
845
817
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
846
818
|
{i({icon:<NetworkIcons_1.BellIcon color={AppColors_1.AppColors.greenColor}size={16}/>,label:"Universal Ingestion Engine",description:"Captures any push domain (Salesforce, FCM, APNs, Expo, Braze, Custom)",isLast:!0,right:<react_native_1.View style={{paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.greenColor}1F`}}>
|
|
847
819
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.greenColor}}>
|
|
@@ -888,7 +860,7 @@
|
|
|
888
860
|
|
|
889
861
|
|
|
890
862
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
891
|
-
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("push.clearTitle","Clear Push History"),description:`Permanently remove all ${O?.length||0} recorded notifications`,isLast:!0,onPress:()=>{
|
|
863
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("push.clearTitle","Clear Push History"),description:`Permanently remove all ${O?.length||0} recorded notifications`,isLast:!0,onPress:()=>{Je(),react_native_1.Alert.alert(o("common.success","Success"),o("settings.pushHistoryCleared","Push notification history cleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
892
864
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
893
865
|
{o("common.clear")}
|
|
894
866
|
</react_native_1.Text>
|
|
@@ -898,7 +870,7 @@
|
|
|
898
870
|
</react_native_1.ScrollView>:a==="socket"?k=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
899
871
|
|
|
900
872
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
901
|
-
{i({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:"Max WebSocket Connections",description:"Ring buffer limit for active & closed socket sessions (10-200)",numericInput:{value:
|
|
873
|
+
{i({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:"Max WebSocket Connections",description:"Ring buffer limit for active & closed socket sessions (10-200)",numericInput:{value:Ye,onChange:Ke,min:10,max:200,placeholder:"Enter max sockets (10-200)"}})}
|
|
902
874
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
903
875
|
{i({icon:<NetworkIcons_1.WebsocketIcon color={AppColors_1.AppColors.greenColor}size={16}/>,label:"Global WebSocket Interceptor",description:"Automatic capture for WebSocket, WSS & Socket.IO traffic",isLast:!0,right:<react_native_1.View style={{paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.greenColor}1F`}}>
|
|
904
876
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.greenColor}}>
|
|
@@ -945,7 +917,7 @@
|
|
|
945
917
|
|
|
946
918
|
|
|
947
919
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
948
|
-
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("socket.clearTitle","Clear All WebSocket Logs").replace("All WebSocket Logs","Socket History"),description:`Permanently remove all ${N?.length||0} recorded sessions`,isLast:!0,onPress:()=>{
|
|
920
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("socket.clearTitle","Clear All WebSocket Logs").replace("All WebSocket Logs","Socket History"),description:`Permanently remove all ${N?.length||0} recorded sessions`,isLast:!0,onPress:()=>{Xe(),react_native_1.Alert.alert(o("common.success","Success"),o("settings.socketHistoryCleared","WebSocket history cleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
949
921
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
950
922
|
{o("common.clear")}
|
|
951
923
|
</react_native_1.Text>
|
|
@@ -963,7 +935,7 @@
|
|
|
963
935
|
</react_native_1.View>
|
|
964
936
|
|
|
965
937
|
<react_native_1.View style={{flexDirection:"row",flexWrap:"wrap",gap:8}}>
|
|
966
|
-
<TouchableScale_1.default onPress={async()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),await capture_1.ScreenCapture.takeScreenshot({format:
|
|
938
|
+
<TouchableScale_1.default onPress={async()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),await capture_1.ScreenCapture.takeScreenshot({format:ae.toLowerCase(),quality:.9,hideInspector:x})&&((0,NativeInspector_1.triggerNativeHaptic)("success"),(0,toast_1.showToast)(o("settings.simulator.screenshotSaved","Screenshot captured and saved!")))}}style={{backgroundColor:`${AppColors_1.AppColors.purple}14`,borderColor:`${AppColors_1.AppColors.purple}33`,borderWidth:1,paddingHorizontal:12,paddingVertical:7,borderRadius:8,flexDirection:"row",alignItems:"center",gap:6}}>
|
|
967
939
|
<NetworkIcons_1.CameraIcon color={AppColors_1.AppColors.purple}size={14}/>
|
|
968
940
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.purple}}>
|
|
969
941
|
Take Screenshot
|
|
@@ -989,7 +961,7 @@
|
|
|
989
961
|
</react_native_1.View>
|
|
990
962
|
|
|
991
963
|
{i({icon:<NetworkIcons_1.ImageIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.imageFormat","Image Format"),description:o("settings.media.imageFormatDesc","Export formats (PNG lossless, JPEG lossy, WebP)"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
992
|
-
{["png","jpeg","webp"].map(e=>{const r=
|
|
964
|
+
{["png","jpeg","webp"].map(e=>{const r=ae===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ye(e),(0,toast_1.showToast)(`Screenshot format: ${e.toUpperCase()}`)}}style={{paddingHorizontal:9,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
993
965
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
994
966
|
{e.toUpperCase()}
|
|
995
967
|
</react_native_1.Text>
|
|
@@ -1020,7 +992,7 @@
|
|
|
1020
992
|
</react_native_1.View>
|
|
1021
993
|
|
|
1022
994
|
{i({icon:<NetworkIcons_1.MicrophoneIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.audioMode","Audio Source"),description:o("settings.media.audioModeDesc","Record video with muted, app audio, or microphone commentary"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
1023
|
-
{[{key:"none",label:"Muted"},{key:"app",label:"App"},{key:"mic",label:"Mic"}].map(e=>{const r=
|
|
995
|
+
{[{key:"none",label:"Muted"},{key:"app",label:"App"},{key:"mic",label:"Mic"}].map(e=>{const r=Ce===e.key;return<TouchableScale_1.default key={e.key}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),he(e.key),(0,toast_1.showToast)(`Audio source: ${e.label}`)}}style={{paddingHorizontal:8,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
1024
996
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
1025
997
|
{e.label}
|
|
1026
998
|
</react_native_1.Text>
|
|
@@ -1028,7 +1000,7 @@
|
|
|
1028
1000
|
</react_native_1.View>})}
|
|
1029
1001
|
|
|
1030
1002
|
{i({icon:<NetworkIcons_1.FilmIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.frameRate","Recording Frame Rate (FPS)"),description:o("settings.media.frameRateDesc","Target video smoothness: 15, 24, 30, or 60 FPS"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
1031
|
-
{[15,24,30,60].map(e=>{const r=
|
|
1003
|
+
{[15,24,30,60].map(e=>{const r=Ae===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),be(e),(0,toast_1.showToast)(`Recording FPS: ${e}`)}}style={{paddingHorizontal:7,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
1032
1004
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
1033
1005
|
{e}fps
|
|
1034
1006
|
</react_native_1.Text>
|
|
@@ -1054,7 +1026,7 @@
|
|
|
1054
1026
|
</react_native_1.ScrollView>);const Q=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current;return(0,react_1.useEffect)(()=>{a!=="main"&&(Q.setValue(0),react_native_1.Animated.spring(Q,{toValue:1,friction:8,tension:65,useNativeDriver:!0}).start())},[a]),<react_native_1.View style={{flex:1,backgroundColor:AppColors_1.AppColors.grayBackground}}>
|
|
1055
1027
|
|
|
1056
1028
|
<react_native_1.View style={[react_native_1.StyleSheet.absoluteFill,a!=="main"&&{pointerEvents:"none"}]}>
|
|
1057
|
-
{
|
|
1029
|
+
{lo()}
|
|
1058
1030
|
</react_native_1.View>
|
|
1059
1031
|
|
|
1060
1032
|
|
|
@@ -1063,5 +1035,5 @@
|
|
|
1063
1035
|
</react_native_1.Animated.View>}
|
|
1064
1036
|
|
|
1065
1037
|
|
|
1066
|
-
<LanguageSelectorModal_1.LanguageSelectorModal visible={
|
|
1038
|
+
<LanguageSelectorModal_1.LanguageSelectorModal visible={Ze}onClose={()=>xe(!1)}/>
|
|
1067
1039
|
</react_native_1.View>};exports.default=SettingsPanel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "2.5.
|
|
1
|
+
export declare const LIB_VERSION = "2.5.16";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LIB_VERSION=void 0,exports.LIB_VERSION="2.5.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.LIB_VERSION=void 0,exports.LIB_VERSION="2.5.16";
|