react-native-inapp-inspector 2.3.18 → 2.3.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +57 -0
  2. package/dist/commonjs/analytics.js +1 -24
  3. package/dist/commonjs/bundle.js +1 -16
  4. package/dist/commonjs/capture.d.ts +2 -0
  5. package/dist/commonjs/capture.js +1 -32
  6. package/dist/commonjs/components/AnalyticsDetail.js +92 -623
  7. package/dist/commonjs/components/AnalyticsEventCard.js +54 -350
  8. package/dist/commonjs/components/AnalyticsGraph.js +70 -370
  9. package/dist/commonjs/components/AnimatedEntrance.js +1 -11
  10. package/dist/commonjs/components/AppHeaderLogo.js +7 -134
  11. package/dist/commonjs/components/BrandCircleIcon.js +73 -118
  12. package/dist/commonjs/components/BrandSquareIcon.js +63 -108
  13. package/dist/commonjs/components/CodeSnippet.js +48 -623
  14. package/dist/commonjs/components/ConsoleLogCard.js +63 -537
  15. package/dist/commonjs/components/CopyButton.js +3 -89
  16. package/dist/commonjs/components/DiffViewer.js +19 -83
  17. package/dist/commonjs/components/DomainHeader.js +27 -127
  18. package/dist/commonjs/components/EmptyState.d.ts +1 -0
  19. package/dist/commonjs/components/EmptyState.js +10 -87
  20. package/dist/commonjs/components/EndOfListFooter.js +7 -81
  21. package/dist/commonjs/components/ErrorBoundary.js +72 -566
  22. package/dist/commonjs/components/HeadersSection.js +31 -110
  23. package/dist/commonjs/components/HighlightText.js +17 -58
  24. package/dist/commonjs/components/Inspector/AboutModal.d.ts +6 -0
  25. package/dist/commonjs/components/Inspector/AboutModal.js +351 -0
  26. package/dist/commonjs/components/Inspector/AnalyticsFilterModal.js +98 -797
  27. package/dist/commonjs/components/Inspector/AnalyticsTab.js +284 -930
  28. package/dist/commonjs/components/Inspector/BundleTab.js +551 -2918
  29. package/dist/commonjs/components/Inspector/ConsoleTab.js +79 -492
  30. package/dist/commonjs/components/Inspector/CrashDetail.js +123 -672
  31. package/dist/commonjs/components/Inspector/CrashFilterModal.js +66 -498
  32. package/dist/commonjs/components/Inspector/CrashTab.js +98 -670
  33. package/dist/commonjs/components/Inspector/DebuggingTab.js +64 -871
  34. package/dist/commonjs/components/Inspector/DeviceInfoTab.js +143 -907
  35. package/dist/commonjs/components/Inspector/FabLauncher.js +85 -54
  36. package/dist/commonjs/components/Inspector/FeatureUnderDevNotice.js +6 -99
  37. package/dist/commonjs/components/Inspector/FeedbackModal.d.ts +9 -0
  38. package/dist/commonjs/components/Inspector/FeedbackModal.js +167 -521
  39. package/dist/commonjs/components/Inspector/InspectorContext.js +1 -21
  40. package/dist/commonjs/components/Inspector/InspectorHeader.js +219 -1093
  41. package/dist/commonjs/components/Inspector/LogDetail.js +168 -994
  42. package/dist/commonjs/components/Inspector/MainScreen.js +60 -332
  43. package/dist/commonjs/components/Inspector/MediaGalleryTab.js +136 -278
  44. package/dist/commonjs/components/Inspector/MediaPreviewModal.js +134 -361
  45. package/dist/commonjs/components/Inspector/NavigationTracker.js +1 -12
  46. package/dist/commonjs/components/Inspector/NetworkDetail.js +96 -432
  47. package/dist/commonjs/components/Inspector/NetworkFilterModal.js +60 -576
  48. package/dist/commonjs/components/Inspector/NetworkTab.js +84 -514
  49. package/dist/commonjs/components/Inspector/NpmStarPrompt.js +17 -433
  50. package/dist/commonjs/components/Inspector/NpmUpdateToast.js +25 -298
  51. package/dist/commonjs/components/Inspector/PerformanceTab.js +182 -1397
  52. package/dist/commonjs/components/Inspector/ReduxDetail.js +188 -1089
  53. package/dist/commonjs/components/Inspector/ReduxTab.js +85 -701
  54. package/dist/commonjs/components/Inspector/SettingsPanel.js +431 -3431
  55. package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +11 -180
  56. package/dist/commonjs/components/Inspector/StorageTab.js +93 -826
  57. package/dist/commonjs/components/Inspector/TabBar.js +47 -183
  58. package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +34 -408
  59. package/dist/commonjs/components/JsonViewer.js +168 -380
  60. package/dist/commonjs/components/LogCard.js +57 -567
  61. package/dist/commonjs/components/LogSyntaxHighlighter.js +11 -130
  62. package/dist/commonjs/components/MetaAccordion.js +69 -238
  63. package/dist/commonjs/components/MiniBarChart.js +3 -56
  64. package/dist/commonjs/components/MiniLineChart.js +3 -58
  65. package/dist/commonjs/components/NetworkIcons.d.ts +7 -0
  66. package/dist/commonjs/components/NetworkIcons.js +479 -997
  67. package/dist/commonjs/components/QRCodeView.js +5 -79
  68. package/dist/commonjs/components/SectionHeader.js +15 -37
  69. package/dist/commonjs/components/SegmentedTabs.js +7 -61
  70. package/dist/commonjs/components/SkeletonPlaceholder.js +11 -180
  71. package/dist/commonjs/components/Slider.js +15 -243
  72. package/dist/commonjs/components/SourcePageCard.js +30 -89
  73. package/dist/commonjs/components/Toast.js +5 -147
  74. package/dist/commonjs/components/TouchableScale.js +3 -24
  75. package/dist/commonjs/components/TreeNode.js +55 -130
  76. package/dist/commonjs/console.js +1 -16
  77. package/dist/commonjs/constants/index.js +1 -32
  78. package/dist/commonjs/constants/telemetryConfig.js +1 -6
  79. package/dist/commonjs/constants/version.d.ts +1 -1
  80. package/dist/commonjs/constants/version.js +1 -4
  81. package/dist/commonjs/crash.js +1 -23
  82. package/dist/commonjs/customHooks/analyticsLogger.js +1 -250
  83. package/dist/commonjs/customHooks/bundleAnalyzer.js +1 -957
  84. package/dist/commonjs/customHooks/consoleLogger.js +6 -445
  85. package/dist/commonjs/customHooks/crashHandler.js +7 -656
  86. package/dist/commonjs/customHooks/logFilters.js +1 -23
  87. package/dist/commonjs/customHooks/networkLogger.js +2 -536
  88. package/dist/commonjs/customHooks/performanceTracker.js +63 -750
  89. package/dist/commonjs/customHooks/reduxLogger.js +2 -313
  90. package/dist/commonjs/customHooks/storageInspector.js +1 -435
  91. package/dist/commonjs/customHooks/useAccordion.js +1 -18
  92. package/dist/commonjs/decorators/index.js +1 -100
  93. package/dist/commonjs/helpers/gaAnalyticsRegistry.js +1 -148
  94. package/dist/commonjs/helpers/index.js +8 -921
  95. package/dist/commonjs/helpers/memoryManager.js +1 -99
  96. package/dist/commonjs/helpers/qrGenerator.js +1 -367
  97. package/dist/commonjs/helpers/remoteConfig.js +1 -165
  98. package/dist/commonjs/helpers/searchQueryParser.js +1 -62
  99. package/dist/commonjs/helpers/settingsStore.js +1 -144
  100. package/dist/commonjs/helpers/telemetry.js +1 -501
  101. package/dist/commonjs/helpers/toast.js +1 -20
  102. package/dist/commonjs/i18n/index.js +1 -90
  103. package/dist/commonjs/i18n/locales/en.json +1 -1122
  104. package/dist/commonjs/index.js +5 -2153
  105. package/dist/commonjs/metro.js +6 -468
  106. package/dist/commonjs/native/NativeInspector.d.ts +3 -0
  107. package/dist/commonjs/native/NativeInspector.js +1 -402
  108. package/dist/commonjs/native/NativeNetworkInspector.d.ts +1 -0
  109. package/dist/commonjs/native/NativeNetworkInspector.js +1 -4
  110. package/dist/commonjs/network.js +1 -13
  111. package/dist/commonjs/performance.js +1 -29
  112. package/dist/commonjs/redux.js +1 -20
  113. package/dist/commonjs/storage.js +1 -14
  114. package/dist/commonjs/styles/AppColors.js +1 -423
  115. package/dist/commonjs/styles/AppFonts.js +1 -17
  116. package/dist/commonjs/styles/common.js +1 -190
  117. package/dist/commonjs/styles/index.d.ts +6 -0
  118. package/dist/commonjs/styles/index.js +1 -1589
  119. package/dist/commonjs/types/enums.d.ts +2 -1
  120. package/dist/commonjs/types/enums.js +1 -150
  121. package/dist/commonjs/types/index.js +1 -18
  122. package/dist/commonjs/types/interfaces.d.ts +7 -0
  123. package/dist/commonjs/types/interfaces.js +1 -2
  124. package/dist/esm/analytics.js +1 -2
  125. package/dist/esm/bundle.js +1 -2
  126. package/dist/esm/capture.d.ts +2 -0
  127. package/dist/esm/capture.js +1 -29
  128. package/dist/esm/components/AnalyticsDetail.js +171 -664
  129. package/dist/esm/components/AnalyticsEventCard.js +77 -335
  130. package/dist/esm/components/AnalyticsGraph.js +95 -357
  131. package/dist/esm/components/AnimatedEntrance.js +1 -6
  132. package/dist/esm/components/AppHeaderLogo.js +7 -94
  133. package/dist/esm/components/BrandCircleIcon.js +114 -119
  134. package/dist/esm/components/BrandSquareIcon.js +73 -78
  135. package/dist/esm/components/CodeSnippet.js +58 -595
  136. package/dist/esm/components/ConsoleLogCard.js +91 -526
  137. package/dist/esm/components/CopyButton.js +3 -51
  138. package/dist/esm/components/DiffViewer.js +22 -48
  139. package/dist/esm/components/DomainHeader.js +43 -138
  140. package/dist/esm/components/EmptyState.d.ts +1 -0
  141. package/dist/esm/components/EmptyState.js +17 -56
  142. package/dist/esm/components/EndOfListFooter.js +15 -83
  143. package/dist/esm/components/ErrorBoundary.js +125 -582
  144. package/dist/esm/components/HeadersSection.js +52 -93
  145. package/dist/esm/components/HighlightText.js +17 -53
  146. package/dist/esm/components/Inspector/AboutModal.d.ts +6 -0
  147. package/dist/esm/components/Inspector/AboutModal.js +351 -0
  148. package/dist/esm/components/Inspector/AnalyticsFilterModal.js +225 -886
  149. package/dist/esm/components/Inspector/AnalyticsTab.js +296 -904
  150. package/dist/esm/components/Inspector/BundleTab.js +1175 -3502
  151. package/dist/esm/components/Inspector/ConsoleTab.js +113 -488
  152. package/dist/esm/components/Inspector/CrashDetail.js +236 -747
  153. package/dist/esm/components/Inspector/CrashFilterModal.js +149 -541
  154. package/dist/esm/components/Inspector/CrashTab.js +177 -711
  155. package/dist/esm/components/Inspector/DebuggingTab.js +156 -923
  156. package/dist/esm/components/Inspector/DeviceInfoTab.js +199 -924
  157. package/dist/esm/components/Inspector/FabLauncher.js +85 -49
  158. package/dist/esm/components/Inspector/FeatureUnderDevNotice.js +14 -70
  159. package/dist/esm/components/Inspector/FeedbackModal.d.ts +9 -0
  160. package/dist/esm/components/Inspector/FeedbackModal.js +182 -499
  161. package/dist/esm/components/Inspector/InspectorContext.js +1 -12
  162. package/dist/esm/components/Inspector/InspectorHeader.js +309 -1145
  163. package/dist/esm/components/Inspector/LogDetail.js +235 -1023
  164. package/dist/esm/components/Inspector/MainScreen.js +86 -320
  165. package/dist/esm/components/Inspector/MediaGalleryTab.js +157 -259
  166. package/dist/esm/components/Inspector/MediaPreviewModal.js +153 -340
  167. package/dist/esm/components/Inspector/NavigationTracker.js +1 -10
  168. package/dist/esm/components/Inspector/NetworkDetail.js +141 -472
  169. package/dist/esm/components/Inspector/NetworkFilterModal.js +122 -597
  170. package/dist/esm/components/Inspector/NetworkTab.js +125 -517
  171. package/dist/esm/components/Inspector/NpmStarPrompt.js +58 -434
  172. package/dist/esm/components/Inspector/NpmUpdateToast.js +45 -281
  173. package/dist/esm/components/Inspector/PerformanceTab.js +393 -1570
  174. package/dist/esm/components/Inspector/ReduxDetail.js +307 -1170
  175. package/dist/esm/components/Inspector/ReduxTab.js +144 -722
  176. package/dist/esm/components/Inspector/SettingsPanel.js +647 -3609
  177. package/dist/esm/components/Inspector/SkeletonPlaceholder.js +30 -163
  178. package/dist/esm/components/Inspector/StorageTab.js +172 -866
  179. package/dist/esm/components/Inspector/TabBar.js +52 -183
  180. package/dist/esm/components/Inspector/UpdateAvailableModal.js +79 -416
  181. package/dist/esm/components/JsonViewer.js +179 -353
  182. package/dist/esm/components/LogCard.js +93 -565
  183. package/dist/esm/components/LogSyntaxHighlighter.js +11 -123
  184. package/dist/esm/components/MetaAccordion.js +136 -267
  185. package/dist/esm/components/MiniBarChart.js +3 -18
  186. package/dist/esm/components/MiniLineChart.js +3 -20
  187. package/dist/esm/components/NetworkIcons.d.ts +7 -0
  188. package/dist/esm/components/NetworkIcons.js +481 -817
  189. package/dist/esm/components/QRCodeView.js +8 -45
  190. package/dist/esm/components/SectionHeader.js +22 -39
  191. package/dist/esm/components/SegmentedTabs.js +8 -57
  192. package/dist/esm/components/SkeletonPlaceholder.js +30 -163
  193. package/dist/esm/components/Slider.js +24 -213
  194. package/dist/esm/components/SourcePageCard.js +65 -86
  195. package/dist/esm/components/Toast.js +10 -117
  196. package/dist/esm/components/TouchableScale.js +3 -19
  197. package/dist/esm/components/TreeNode.js +58 -95
  198. package/dist/esm/console.js +1 -2
  199. package/dist/esm/constants/index.js +1 -28
  200. package/dist/esm/constants/telemetryConfig.js +1 -3
  201. package/dist/esm/constants/version.d.ts +1 -1
  202. package/dist/esm/constants/version.js +1 -1
  203. package/dist/esm/crash.js +1 -2
  204. package/dist/esm/customHooks/analyticsLogger.js +1 -230
  205. package/dist/esm/customHooks/bundleAnalyzer.js +1 -944
  206. package/dist/esm/customHooks/consoleLogger.js +6 -432
  207. package/dist/esm/customHooks/crashHandler.js +7 -630
  208. package/dist/esm/customHooks/logFilters.js +1 -20
  209. package/dist/esm/customHooks/networkLogger.js +2 -519
  210. package/dist/esm/customHooks/performanceTracker.js +63 -723
  211. package/dist/esm/customHooks/reduxLogger.js +2 -293
  212. package/dist/esm/customHooks/storageInspector.js +1 -418
  213. package/dist/esm/customHooks/useAccordion.js +1 -16
  214. package/dist/esm/decorators/index.js +1 -95
  215. package/dist/esm/helpers/gaAnalyticsRegistry.js +1 -143
  216. package/dist/esm/helpers/index.js +8 -861
  217. package/dist/esm/helpers/memoryManager.js +1 -91
  218. package/dist/esm/helpers/qrGenerator.js +1 -364
  219. package/dist/esm/helpers/remoteConfig.js +1 -160
  220. package/dist/esm/helpers/searchQueryParser.js +1 -59
  221. package/dist/esm/helpers/settingsStore.js +1 -134
  222. package/dist/esm/helpers/telemetry.js +1 -489
  223. package/dist/esm/helpers/toast.js +1 -15
  224. package/dist/esm/i18n/index.js +1 -78
  225. package/dist/esm/i18n/locales/en.json +1 -1122
  226. package/dist/esm/index.js +7 -1967
  227. package/dist/esm/metro.js +6 -459
  228. package/dist/esm/native/NativeInspector.d.ts +3 -0
  229. package/dist/esm/native/NativeInspector.js +1 -370
  230. package/dist/esm/native/NativeNetworkInspector.d.ts +1 -0
  231. package/dist/esm/native/NativeNetworkInspector.js +1 -2
  232. package/dist/esm/network.js +1 -1
  233. package/dist/esm/performance.js +1 -2
  234. package/dist/esm/redux.js +1 -1
  235. package/dist/esm/storage.js +1 -1
  236. package/dist/esm/styles/AppColors.js +1 -417
  237. package/dist/esm/styles/AppFonts.js +1 -13
  238. package/dist/esm/styles/common.js +1 -186
  239. package/dist/esm/styles/index.d.ts +6 -0
  240. package/dist/esm/styles/index.js +1 -1551
  241. package/dist/esm/types/enums.d.ts +2 -1
  242. package/dist/esm/types/enums.js +1 -147
  243. package/dist/esm/types/index.js +1 -2
  244. package/dist/esm/types/interfaces.d.ts +7 -0
  245. package/dist/esm/types/interfaces.js +1 -1
  246. package/ios/NetworkInspectorModule.mm +253 -136
  247. package/package.json +5 -3
  248. package/react-native-inapp-inspector.podspec +1 -1
  249. package/src/native/NativeInspector.ts +17 -0
  250. package/src/native/NativeNetworkInspector.ts +1 -0
  251. package/src/analytics.ts +0 -35
  252. package/src/bundle.ts +0 -25
  253. package/src/capture.ts +0 -101
  254. package/src/components/AnalyticsDetail.tsx +0 -870
  255. package/src/components/AnalyticsEventCard.tsx +0 -444
  256. package/src/components/AnalyticsGraph.tsx +0 -583
  257. package/src/components/AnimatedEntrance.tsx +0 -20
  258. package/src/components/AppHeaderLogo.tsx +0 -143
  259. package/src/components/BrandCircleIcon.tsx +0 -144
  260. package/src/components/BrandSquareIcon.tsx +0 -184
  261. package/src/components/CodeSnippet.tsx +0 -725
  262. package/src/components/ConsoleLogCard.tsx +0 -679
  263. package/src/components/CopyButton.tsx +0 -87
  264. package/src/components/DiffViewer.tsx +0 -82
  265. package/src/components/DomainHeader.tsx +0 -224
  266. package/src/components/EmptyState.tsx +0 -95
  267. package/src/components/EndOfListFooter.tsx +0 -100
  268. package/src/components/ErrorBoundary.tsx +0 -688
  269. package/src/components/HeadersSection.tsx +0 -172
  270. package/src/components/HighlightText.tsx +0 -100
  271. package/src/components/Inspector/AnalyticsFilterModal.tsx +0 -1250
  272. package/src/components/Inspector/AnalyticsTab.tsx +0 -1362
  273. package/src/components/Inspector/BundleTab.tsx +0 -4768
  274. package/src/components/Inspector/ConsoleTab.tsx +0 -726
  275. package/src/components/Inspector/CrashDetail.tsx +0 -997
  276. package/src/components/Inspector/CrashFilterModal.tsx +0 -721
  277. package/src/components/Inspector/CrashTab.tsx +0 -933
  278. package/src/components/Inspector/DebuggingTab.tsx +0 -1103
  279. package/src/components/Inspector/DeviceInfoTab.tsx +0 -1397
  280. package/src/components/Inspector/FabLauncher.tsx +0 -80
  281. package/src/components/Inspector/FeatureUnderDevNotice.tsx +0 -94
  282. package/src/components/Inspector/FeedbackModal.tsx +0 -626
  283. package/src/components/Inspector/InspectorContext.tsx +0 -28
  284. package/src/components/Inspector/InspectorHeader.tsx +0 -1545
  285. package/src/components/Inspector/LogDetail.tsx +0 -1431
  286. package/src/components/Inspector/MainScreen.tsx +0 -459
  287. package/src/components/Inspector/MediaGalleryTab.tsx +0 -355
  288. package/src/components/Inspector/MediaPreviewModal.tsx +0 -435
  289. package/src/components/Inspector/NavigationTracker.tsx +0 -13
  290. package/src/components/Inspector/NetworkDetail.tsx +0 -795
  291. package/src/components/Inspector/NetworkFilterModal.tsx +0 -730
  292. package/src/components/Inspector/NetworkTab.tsx +0 -820
  293. package/src/components/Inspector/NpmStarPrompt.tsx +0 -532
  294. package/src/components/Inspector/NpmUpdateToast.tsx +0 -387
  295. package/src/components/Inspector/PerformanceTab.tsx +0 -1967
  296. package/src/components/Inspector/ReduxDetail.tsx +0 -1651
  297. package/src/components/Inspector/ReduxTab.tsx +0 -987
  298. package/src/components/Inspector/SettingsPanel.tsx +0 -4580
  299. package/src/components/Inspector/SkeletonPlaceholder.tsx +0 -206
  300. package/src/components/Inspector/StorageTab.tsx +0 -1159
  301. package/src/components/Inspector/TabBar.tsx +0 -263
  302. package/src/components/Inspector/UpdateAvailableModal.tsx +0 -555
  303. package/src/components/JsonViewer.tsx +0 -547
  304. package/src/components/LogCard.tsx +0 -694
  305. package/src/components/LogSyntaxHighlighter.tsx +0 -178
  306. package/src/components/MetaAccordion.tsx +0 -355
  307. package/src/components/MiniBarChart.tsx +0 -42
  308. package/src/components/MiniLineChart.tsx +0 -33
  309. package/src/components/NetworkIcons.tsx +0 -2599
  310. package/src/components/QRCodeView.tsx +0 -75
  311. package/src/components/SectionHeader.tsx +0 -101
  312. package/src/components/SegmentedTabs.tsx +0 -83
  313. package/src/components/SkeletonPlaceholder.tsx +0 -206
  314. package/src/components/Slider.tsx +0 -300
  315. package/src/components/SourcePageCard.tsx +0 -150
  316. package/src/components/Toast.tsx +0 -131
  317. package/src/components/TouchableScale.tsx +0 -61
  318. package/src/components/TreeNode.tsx +0 -171
  319. package/src/console.ts +0 -24
  320. package/src/constants/index.ts +0 -41
  321. package/src/constants/telemetryConfig.ts +0 -4
  322. package/src/constants/version.ts +0 -3
  323. package/src/crash.ts +0 -32
  324. package/src/customHooks/analyticsLogger.ts +0 -336
  325. package/src/customHooks/bundleAnalyzer.ts +0 -1256
  326. package/src/customHooks/consoleLogger.ts +0 -530
  327. package/src/customHooks/crashHandler.ts +0 -944
  328. package/src/customHooks/logFilters.ts +0 -32
  329. package/src/customHooks/networkLogger.ts +0 -624
  330. package/src/customHooks/performanceTracker.ts +0 -1014
  331. package/src/customHooks/reduxLogger.ts +0 -406
  332. package/src/customHooks/storageInspector.ts +0 -513
  333. package/src/customHooks/useAccordion.tsx +0 -27
  334. package/src/decorators/index.ts +0 -184
  335. package/src/helpers/gaAnalyticsRegistry.ts +0 -204
  336. package/src/helpers/index.ts +0 -1092
  337. package/src/helpers/memoryManager.ts +0 -138
  338. package/src/helpers/qrGenerator.ts +0 -430
  339. package/src/helpers/remoteConfig.ts +0 -212
  340. package/src/helpers/searchQueryParser.ts +0 -84
  341. package/src/helpers/settingsStore.ts +0 -171
  342. package/src/helpers/telemetry.ts +0 -568
  343. package/src/helpers/toast.ts +0 -17
  344. package/src/i18n/index.ts +0 -104
  345. package/src/i18n/locales/en.json +0 -1125
  346. package/src/index.tsx +0 -2635
  347. package/src/metro.ts +0 -598
  348. package/src/network.ts +0 -22
  349. package/src/performance.ts +0 -38
  350. package/src/redux.ts +0 -23
  351. package/src/storage.ts +0 -18
  352. package/src/styles/AppColors.ts +0 -455
  353. package/src/styles/AppFonts.ts +0 -26
  354. package/src/styles/common.ts +0 -209
  355. package/src/styles/index.ts +0 -1606
  356. package/src/types/enums.ts +0 -208
  357. package/src/types/index.ts +0 -34
  358. package/src/types/interfaces.ts +0 -530
@@ -1,288 +1,17 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- var __importDefault = (this && this.__importDefault) || function (mod) {
36
- return (mod && mod.__esModule) ? mod : { "default": mod };
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.DebuggingTab = void 0;
40
- const react_1 = __importStar(require("react"));
41
- const react_native_1 = require("react-native");
42
- const AppColors_1 = require("../../styles/AppColors");
43
- const AppFonts_1 = require("../../styles/AppFonts");
44
- const QRCodeView_1 = __importDefault(require("../QRCodeView"));
45
- const TouchableScale_1 = __importDefault(require("../TouchableScale"));
46
- const toast_1 = require("../../helpers/toast");
47
- const NativeInspector_1 = require("../../native/NativeInspector");
48
- const NetworkIcons_1 = require("../NetworkIcons");
49
- const react_native_svg_1 = __importStar(require("react-native-svg"));
50
- const TerminalConsoleIcon = ({ color = AppColors_1.AppColors.purple, size = 13 }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
51
- <react_native_svg_1.Path d="M4 17l6-6-6-6M12 19h8" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
52
- </react_native_svg_1.default>);
53
- const DebuggingTab = () => {
54
- const detectedConfig = (0, react_1.useMemo)(() => {
55
- const scriptURL = react_native_1.NativeModules.SourceCode?.scriptURL || '';
56
- let host = 'localhost';
57
- let port = 8081;
58
- try {
59
- if (scriptURL.includes('://')) {
60
- const urlWithoutScheme = scriptURL.split('://')[1];
61
- const hostAndPort = urlWithoutScheme.split('/')[0];
62
- if (hostAndPort.includes(':')) {
63
- const parts = hostAndPort.split(':');
64
- host = parts[0];
65
- const parsedPort = parseInt(parts[1], 10);
66
- if (!isNaN(parsedPort))
67
- port = parsedPort;
68
- }
69
- else {
70
- host = hostAndPort;
71
- }
72
- }
73
- }
74
- catch { }
75
- return { host, port, scriptURL };
76
- }, []);
77
- const [hostIp, setHostIp] = (0, react_1.useState)(() => {
78
- if (detectedConfig.host &&
79
- detectedConfig.host !== 'localhost' &&
80
- detectedConfig.host !== '127.0.0.1' &&
81
- detectedConfig.host !== '10.0.2.2') {
82
- return detectedConfig.host;
83
- }
84
- return '192.168.1.2';
85
- });
86
- const [port, setPort] = (0, react_1.useState)(detectedConfig.port || 8083);
87
- const [apkFileName, setApkFileName] = (0, react_1.useState)('app-debug.apk');
88
- const [apkSizeMb, setApkSizeMb] = (0, react_1.useState)(null);
89
- const [selectedScheme, setSelectedScheme] = (0, react_1.useState)('assembleRelease');
90
- const [isCleanBuild, setIsCleanBuild] = (0, react_1.useState)(true);
91
- const [buildStatus, setBuildStatus] = (0, react_1.useState)({
92
- status: 'idle',
93
- scheme: 'assembleRelease',
94
- clean: true,
95
- progress: 0,
96
- currentTask: '',
97
- error: null,
98
- apkName: null,
99
- apkSize: null,
100
- });
101
- const pollingRef = (0, react_1.useRef)(null);
102
- const progressAnim = (0, react_1.useRef)(new react_native_1.Animated.Value(0)).current;
103
- const [showVerboseLogs, setShowVerboseLogs] = (0, react_1.useState)(true);
104
- const verboseScrollRef = (0, react_1.useRef)(null);
105
- (0, react_1.useEffect)(() => {
106
- react_native_1.Animated.timing(progressAnim, {
107
- toValue: Math.max(0, Math.min(100, buildStatus.progress)),
108
- duration: 350,
109
- useNativeDriver: false,
110
- }).start();
111
- }, [buildStatus.progress, progressAnim]);
112
- (0, react_1.useEffect)(() => {
113
- if (buildStatus.logs && buildStatus.logs.length > 0) {
114
- setTimeout(() => {
115
- verboseScrollRef.current?.scrollToEnd({ animated: true });
116
- }, 50);
117
- }
118
- }, [buildStatus.logs]);
119
- const fetchMetroTelemetry = (0, react_1.useCallback)(async () => {
120
- const hostsToTry = Array.from(new Set([detectedConfig.host, '10.0.2.2', 'localhost', '127.0.0.1'].filter(Boolean)));
121
- const portsToTry = Array.from(new Set([detectedConfig.port, 8083, 8081, 8082].filter(Boolean)));
122
- for (const h of hostsToTry) {
123
- for (const p of portsToTry) {
124
- try {
125
- const controller = new AbortController();
126
- const timeoutId = setTimeout(() => controller.abort(), 1200);
127
- const res = await fetch(`http://${h}:${p}/__inapp_inspector/apk-info`, {
128
- signal: controller.signal,
129
- });
130
- clearTimeout(timeoutId);
131
- if (res.ok) {
132
- const data = await res.json();
133
- if (data.hostIp &&
134
- data.hostIp !== '127.0.0.1' &&
135
- data.hostIp !== 'localhost' &&
136
- data.hostIp !== '10.0.2.2') {
137
- setHostIp(data.hostIp);
138
- }
139
- if (data.port) {
140
- setPort(data.port);
141
- }
142
- if (data.apkName) {
143
- setApkFileName(data.apkName);
144
- }
145
- if (data.apkSize) {
146
- setApkSizeMb((data.apkSize / (1024 * 1024)).toFixed(1));
147
- }
148
- return;
149
- }
150
- }
151
- catch { }
152
- }
153
- }
154
- }, [detectedConfig.host, detectedConfig.port]);
155
- (0, react_1.useEffect)(() => {
156
- fetchMetroTelemetry();
157
- }, [fetchMetroTelemetry]);
158
- (0, react_1.useEffect)(() => {
159
- return () => {
160
- if (pollingRef.current) {
161
- clearInterval(pollingRef.current);
162
- }
163
- };
164
- }, []);
165
- const pollBuildStatus = (0, react_1.useCallback)(() => {
166
- if (pollingRef.current)
167
- clearInterval(pollingRef.current);
168
- const targetHost = detectedConfig.host || '10.0.2.2';
169
- pollingRef.current = setInterval(async () => {
170
- try {
171
- const res = await fetch(`http://${targetHost}:${port}/__inapp_inspector/build-status`);
172
- if (res.ok) {
173
- const data = await res.json();
174
- setBuildStatus(data);
175
- if (data.status === 'completed') {
176
- if (pollingRef.current)
177
- clearInterval(pollingRef.current);
178
- (0, NativeInspector_1.triggerNativeHaptic)('success');
179
- (0, toast_1.showToast)('✓ APK Build Generated Successfully!');
180
- if (data.apkSize) {
181
- setApkSizeMb((data.apkSize / (1024 * 1024)).toFixed(1));
182
- }
183
- if (data.apkName) {
184
- setApkFileName(data.apkName);
185
- }
186
- fetchMetroTelemetry();
187
- }
188
- else if (data.status === 'failed') {
189
- if (pollingRef.current)
190
- clearInterval(pollingRef.current);
191
- (0, NativeInspector_1.triggerNativeHaptic)('error');
192
- (0, toast_1.showToast)('✕ Build Failed: ' + (data.error || 'Gradle error'));
193
- }
194
- }
195
- }
196
- catch { }
197
- }, 1000);
198
- }, [detectedConfig.host, port, fetchMetroTelemetry]);
199
- const handleStartBuild = async () => {
200
- (0, NativeInspector_1.triggerNativeHaptic)('medium');
201
- setBuildStatus({
202
- status: 'running',
203
- scheme: selectedScheme,
204
- clean: isCleanBuild,
205
- progress: 5,
206
- currentTask: isCleanBuild ? 'Cleaning build cache...' : 'Initializing build...',
207
- error: null,
208
- apkName: null,
209
- apkSize: null,
210
- });
211
- const hostsToTry = Array.from(new Set([detectedConfig.host, '10.0.2.2', 'localhost', '127.0.0.1'].filter(Boolean)));
212
- const portsToTry = Array.from(new Set([port, 8083, 8081, 8082].filter(Boolean)));
213
- let buildTriggered = false;
214
- for (const h of hostsToTry) {
215
- for (const p of portsToTry) {
216
- try {
217
- const controller = new AbortController();
218
- const timeoutId = setTimeout(() => controller.abort(), 2000);
219
- const res = await fetch(`http://${h}:${p}/__inapp_inspector/build-apk?scheme=${selectedScheme}&clean=${isCleanBuild}`, { signal: controller.signal });
220
- clearTimeout(timeoutId);
221
- if (res.ok) {
222
- buildTriggered = true;
223
- pollBuildStatus();
224
- return;
225
- }
226
- }
227
- catch { }
228
- }
229
- }
230
- if (!buildTriggered) {
231
- setBuildStatus(prev => ({
232
- ...prev,
233
- status: 'failed',
234
- error: 'Cannot reach build server. Ensure npm start or npm run serve-apk is running on host.',
235
- }));
236
- }
237
- };
238
- const handleStopBuild = async () => {
239
- (0, NativeInspector_1.triggerNativeHaptic)('warning');
240
- if (pollingRef.current)
241
- clearInterval(pollingRef.current);
242
- const hostsToTry = Array.from(new Set([detectedConfig.host, '10.0.2.2', 'localhost', '127.0.0.1'].filter(Boolean)));
243
- const portsToTry = Array.from(new Set([port, 8083, 8081, 8082].filter(Boolean)));
244
- for (const h of hostsToTry) {
245
- for (const p of portsToTry) {
246
- try {
247
- const controller = new AbortController();
248
- const timeoutId = setTimeout(() => controller.abort(), 1500);
249
- await fetch(`http://${h}:${p}/__inapp_inspector/stop-build`, {
250
- signal: controller.signal,
251
- });
252
- clearTimeout(timeoutId);
253
- }
254
- catch { }
255
- }
256
- }
257
- setBuildStatus(prev => ({
258
- ...prev,
259
- status: 'idle',
260
- currentTask: 'Build cancelled by user',
261
- logs: [...(prev.logs || []), '🛑 Build cancelled by user.'],
262
- }));
263
- (0, toast_1.showToast)('Build cancelled');
264
- };
265
- const apkDownloadUrl = `http://${hostIp}:${port}/${apkFileName.replace(/^\/+/, '')}`;
266
- const handleShare = () => {
267
- (0, NativeInspector_1.triggerNativeHaptic)('light');
268
- react_native_1.Share.share({
269
- message: apkDownloadUrl,
270
- title: 'Install Android APK',
271
- });
272
- };
273
- const isBuilding = buildStatus.status === 'running';
274
- return (<react_native_1.ScrollView style={styles.scrollArea} contentContainerStyle={styles.scrollContent} showsVerticalScrollIndicator={false}>
1
+ "use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(e,o,l,r){r===void 0&&(r=l);var n=Object.getOwnPropertyDescriptor(o,l);(!n||("get"in n?!o.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return o[l]}}),Object.defineProperty(e,r,n)}):(function(e,o,l,r){r===void 0&&(r=l),e[r]=o[l]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(e,o){Object.defineProperty(e,"default",{enumerable:!0,value:o})}):function(e,o){e.default=o}),__importStar=this&&this.__importStar||(function(){var e=function(o){return e=Object.getOwnPropertyNames||function(l){var r=[];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(r[r.length]=n);return r},e(o)};return function(o){if(o&&o.__esModule)return o;var l={};if(o!=null)for(var r=e(o),n=0;n<r.length;n++)r[n]!=="default"&&__createBinding(l,o,r[n]);return __setModuleDefault(l,o),l}})(),__importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DebuggingTab=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),QRCodeView_1=__importDefault(require("../QRCodeView")),TouchableScale_1=__importDefault(require("../TouchableScale")),toast_1=require("../../helpers/toast"),NativeInspector_1=require("../../native/NativeInspector"),NetworkIcons_1=require("../NetworkIcons"),react_native_svg_1=__importStar(require("react-native-svg")),TerminalConsoleIcon=({color:e=AppColors_1.AppColors.purple,size:o=13})=><react_native_svg_1.default width={o}height={o}viewBox="0 0 24 24"fill="none">
2
+ <react_native_svg_1.Path d="M4 17l6-6-6-6M12 19h8"stroke={e}strokeWidth="2"strokeLinecap="round"strokeLinejoin="round"/>
3
+ </react_native_svg_1.default>,DebuggingTab=()=>{const e=(0,react_1.useMemo)(()=>{const a=react_native_1.NativeModules.SourceCode?.scriptURL||"";let s="localhost",t=8081;try{if(a.includes("://")){const d=a.split("://")[1].split("/")[0];if(d.includes(":")){const u=d.split(":");s=u[0];const f=parseInt(u[1],10);isNaN(f)||(t=f)}else s=d}}catch{}return{host:s,port:t,scriptURL:a}},[]),[o,l]=(0,react_1.useState)(()=>e.host&&e.host!=="localhost"&&e.host!=="127.0.0.1"&&e.host!=="10.0.2.2"?e.host:"192.168.1.2"),[r,n]=(0,react_1.useState)(e.port||8083),[V,A]=(0,react_1.useState)("app-debug.apk"),[T,x]=(0,react_1.useState)(null),[y,v]=(0,react_1.useState)("assembleRelease"),[h,k]=(0,react_1.useState)(!0),[i,C]=(0,react_1.useState)({status:"idle",scheme:"assembleRelease",clean:!0,progress:0,currentTask:"",error:null,apkName:null,apkSize:null}),p=(0,react_1.useRef)(null),_=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current,[m,I]=(0,react_1.useState)(!0),S=(0,react_1.useRef)(null);(0,react_1.useEffect)(()=>{react_native_1.Animated.timing(_,{toValue:Math.max(0,Math.min(100,i.progress)),duration:350,useNativeDriver:!1}).start()},[i.progress,_]),(0,react_1.useEffect)(()=>{i.logs&&i.logs.length>0&&setTimeout(()=>{S.current?.scrollToEnd({animated:!0})},50)},[i.logs]);const w=(0,react_1.useCallback)(async()=>{const a=Array.from(new Set([e.host,"10.0.2.2","localhost","127.0.0.1"].filter(Boolean))),s=Array.from(new Set([e.port,8083,8081,8082].filter(Boolean)));for(const t of a)for(const g of s)try{const d=new AbortController,u=setTimeout(()=>d.abort(),1200),f=await fetch(`http://${t}:${g}/__inapp_inspector/apk-info`,{signal:d.signal});if(clearTimeout(u),f.ok){const c=await f.json();c.hostIp&&c.hostIp!=="127.0.0.1"&&c.hostIp!=="localhost"&&c.hostIp!=="10.0.2.2"&&l(c.hostIp),c.port&&n(c.port),c.apkName&&A(c.apkName),c.apkSize&&x((c.apkSize/(1024*1024)).toFixed(1));return}}catch{}},[e.host,e.port]);(0,react_1.useEffect)(()=>{w()},[w]),(0,react_1.useEffect)(()=>()=>{p.current&&clearInterval(p.current)},[]);const R=(0,react_1.useCallback)(()=>{p.current&&clearInterval(p.current);const a=e.host||"10.0.2.2";p.current=setInterval(async()=>{try{const s=await fetch(`http://${a}:${r}/__inapp_inspector/build-status`);if(s.ok){const t=await s.json();C(t),t.status==="completed"?(p.current&&clearInterval(p.current),(0,NativeInspector_1.triggerNativeHaptic)("success"),(0,toast_1.showToast)("\u2713 APK Build Generated Successfully!"),t.apkSize&&x((t.apkSize/(1024*1024)).toFixed(1)),t.apkName&&A(t.apkName),w()):t.status==="failed"&&(p.current&&clearInterval(p.current),(0,NativeInspector_1.triggerNativeHaptic)("error"),(0,toast_1.showToast)("\u2715 Build Failed: "+(t.error||"Gradle error")))}}catch{}},1e3)},[e.host,r,w]),F=async()=>{(0,NativeInspector_1.triggerNativeHaptic)("medium"),C({status:"running",scheme:y,clean:h,progress:5,currentTask:h?"Cleaning build cache...":"Initializing build...",error:null,apkName:null,apkSize:null});const a=Array.from(new Set([e.host,"10.0.2.2","localhost","127.0.0.1"].filter(Boolean))),s=Array.from(new Set([r,8083,8081,8082].filter(Boolean)));let t=!1;for(const g of a)for(const d of s)try{const u=new AbortController,f=setTimeout(()=>u.abort(),2e3),c=await fetch(`http://${g}:${d}/__inapp_inspector/build-apk?scheme=${y}&clean=${h}`,{signal:u.signal});if(clearTimeout(f),c.ok){t=!0,R();return}}catch{}t||C(g=>({...g,status:"failed",error:"Cannot reach build server. Ensure npm start or npm run serve-apk is running on host."}))},D=async()=>{(0,NativeInspector_1.triggerNativeHaptic)("warning"),p.current&&clearInterval(p.current);const a=Array.from(new Set([e.host,"10.0.2.2","localhost","127.0.0.1"].filter(Boolean))),s=Array.from(new Set([r,8083,8081,8082].filter(Boolean)));for(const t of a)for(const g of s)try{const d=new AbortController,u=setTimeout(()=>d.abort(),1500);await fetch(`http://${t}:${g}/__inapp_inspector/stop-build`,{signal:d.signal}),clearTimeout(u)}catch{}C(t=>({...t,status:"idle",currentTask:"Build cancelled by user",logs:[...t.logs||[],"\u{1F6D1} Build cancelled by user."]})),(0,toast_1.showToast)("Build cancelled")},B=`http://${o}:${r}/${V.replace(/^\/+/,"")}`,z=()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),react_native_1.Share.share({message:B,title:"Install Android APK"})},b=i.status==="running";return<react_native_1.ScrollView style={styles.scrollArea}contentContainerStyle={styles.scrollContent}showsVerticalScrollIndicator={!1}>
275
4
 
276
5
  <react_native_1.View style={styles.heroCard}>
277
6
  <react_native_1.View style={styles.heroHeader}>
278
7
  <react_native_1.View style={styles.heroIconWrap}>
279
- <NetworkIcons_1.AndroidIcon size={20} color={AppColors_1.AppColors.white}/>
8
+ <NetworkIcons_1.AndroidIcon size={20}color={AppColors_1.AppColors.white}/>
280
9
  </react_native_1.View>
281
- <react_native_1.View style={{ flex: 1, minWidth: 0 }}>
282
- <react_native_1.Text style={styles.heroTitle} numberOfLines={1}>
10
+ <react_native_1.View style={{flex:1,minWidth:0}}>
11
+ <react_native_1.Text style={styles.heroTitle}numberOfLines={1}>
283
12
  Multi-Device APK Installer
284
13
  </react_native_1.Text>
285
- <react_native_1.Text style={styles.heroSubtitle} numberOfLines={1}>
14
+ <react_native_1.Text style={styles.heroSubtitle}numberOfLines={1}>
286
15
  Scan QR code with another Android device to download
287
16
  </react_native_1.Text>
288
17
  </react_native_1.View>
@@ -296,32 +25,26 @@ const DebuggingTab = () => {
296
25
  <react_native_1.View style={styles.heroMetricsStrip}>
297
26
  <react_native_1.View style={styles.heroMetricItem}>
298
27
  <react_native_1.Text style={styles.heroMetricLabel}>HOST IP</react_native_1.Text>
299
- <react_native_1.Text style={styles.heroMetricValue} numberOfLines={1}>
300
- {hostIp}
28
+ <react_native_1.Text style={styles.heroMetricValue}numberOfLines={1}>
29
+ {o}
301
30
  </react_native_1.Text>
302
31
  </react_native_1.View>
303
32
  <react_native_1.View style={styles.heroMetricDivider}/>
304
33
  <react_native_1.View style={styles.heroMetricItem}>
305
34
  <react_native_1.Text style={styles.heroMetricLabel}>PORT</react_native_1.Text>
306
- <react_native_1.Text style={styles.heroMetricValue}>{port}</react_native_1.Text>
35
+ <react_native_1.Text style={styles.heroMetricValue}>{r}</react_native_1.Text>
307
36
  </react_native_1.View>
308
37
  <react_native_1.View style={styles.heroMetricDivider}/>
309
38
  <react_native_1.View style={styles.heroMetricItem}>
310
39
  <react_native_1.Text style={styles.heroMetricLabel}>APK SIZE</react_native_1.Text>
311
- <react_native_1.Text style={[
312
- styles.heroMetricValue,
313
- { color: apkSizeMb ? AppColors_1.AppColors.emerald500 : AppColors_1.AppColors.grayTextWeak },
314
- ]}>
315
- {apkSizeMb ? `${apkSizeMb} MB` : 'Detected'}
40
+ <react_native_1.Text style={[styles.heroMetricValue,{color:T?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayTextWeak}]}>
41
+ {T?`${T} MB`:"Detected"}
316
42
  </react_native_1.Text>
317
43
  </react_native_1.View>
318
44
  <react_native_1.View style={styles.heroMetricDivider}/>
319
45
  <react_native_1.View style={styles.heroMetricItem}>
320
46
  <react_native_1.Text style={styles.heroMetricLabel}>STATUS</react_native_1.Text>
321
- <react_native_1.Text style={[
322
- styles.heroMetricValue,
323
- { color: AppColors_1.AppColors.emerald500 },
324
- ]}>
47
+ <react_native_1.Text style={[styles.heroMetricValue,{color:AppColors_1.AppColors.emerald500}]}>
325
48
  Ready
326
49
  </react_native_1.Text>
327
50
  </react_native_1.View>
@@ -332,8 +55,8 @@ const DebuggingTab = () => {
332
55
  <react_native_1.View style={styles.sectionCard}>
333
56
  <react_native_1.View style={styles.sectionHeaderRow}>
334
57
  <react_native_1.Text style={styles.sectionTitle}>QR CODE & DIRECT DOWNLOAD</react_native_1.Text>
335
- <react_native_1.TouchableOpacity activeOpacity={0.7} onPress={fetchMetroTelemetry} style={styles.refreshBtn}>
336
- <NetworkIcons_1.RepeatIcon size={12} color={AppColors_1.AppColors.purple}/>
58
+ <react_native_1.TouchableOpacity activeOpacity={.7}onPress={w}style={styles.refreshBtn}>
59
+ <NetworkIcons_1.RepeatIcon size={12}color={AppColors_1.AppColors.purple}/>
337
60
  <react_native_1.Text style={styles.refreshBtnText}>Refresh</react_native_1.Text>
338
61
  </react_native_1.TouchableOpacity>
339
62
  </react_native_1.View>
@@ -341,7 +64,7 @@ const DebuggingTab = () => {
341
64
 
342
65
  <react_native_1.View style={styles.qrCenteredWrapper}>
343
66
  <react_native_1.View style={styles.qrInnerFrame}>
344
- <QRCodeView_1.default value={apkDownloadUrl} size={235} color={AppColors_1.AppColors.primaryBlack} backgroundColor={AppColors_1.AppColors.white}/>
67
+ <QRCodeView_1.default value={B}size={235}color={AppColors_1.AppColors.primaryBlack}backgroundColor={AppColors_1.AppColors.white}/>
345
68
  </react_native_1.View>
346
69
  </react_native_1.View>
347
70
  </react_native_1.View>
@@ -349,59 +72,35 @@ const DebuggingTab = () => {
349
72
 
350
73
  <react_native_1.View style={styles.sectionCard}>
351
74
  <react_native_1.View style={styles.sectionHeaderRow}>
352
- <react_native_1.View style={{ flexDirection: 'row', alignItems: 'center', gap: 6 }}>
353
- <NetworkIcons_1.BoltIcon size={13} color={AppColors_1.AppColors.purple}/>
75
+ <react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
76
+ <NetworkIcons_1.BoltIcon size={13}color={AppColors_1.AppColors.purple}/>
354
77
  <react_native_1.Text style={styles.sectionTitle}>BUILD GENERATOR (GRADLE)</react_native_1.Text>
355
78
  </react_native_1.View>
356
- {buildStatus.status === 'completed' && (<react_native_1.View style={styles.completedBadge}>
357
- <NetworkIcons_1.CheckIcon size={10} color={AppColors_1.AppColors.emerald500}/>
79
+ {i.status==="completed"&&<react_native_1.View style={styles.completedBadge}>
80
+ <NetworkIcons_1.CheckIcon size={10}color={AppColors_1.AppColors.emerald500}/>
358
81
  <react_native_1.Text style={styles.completedBadgeText}>100% Ready</react_native_1.Text>
359
- </react_native_1.View>)}
82
+ </react_native_1.View>}
360
83
  </react_native_1.View>
361
84
 
362
85
 
363
86
  <react_native_1.View style={styles.subTabStrip}>
364
- <react_native_1.TouchableOpacity disabled={isBuilding} activeOpacity={0.7} onPress={() => {
365
- (0, NativeInspector_1.triggerNativeHaptic)('light');
366
- setSelectedScheme('assembleRelease');
367
- }} style={[
368
- styles.subTabItem,
369
- selectedScheme === 'assembleRelease' && styles.subTabItemActive,
370
- ]}>
371
- <react_native_1.Text style={[
372
- styles.subTabText,
373
- selectedScheme === 'assembleRelease' && styles.subTabTextActive,
374
- ]}>
87
+ <react_native_1.TouchableOpacity disabled={b}activeOpacity={.7}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),v("assembleRelease")}}style={[styles.subTabItem,y==="assembleRelease"&&styles.subTabItemActive]}>
88
+ <react_native_1.Text style={[styles.subTabText,y==="assembleRelease"&&styles.subTabTextActive]}>
375
89
  ⚡ Release (assembleRelease)
376
90
  </react_native_1.Text>
377
91
  </react_native_1.TouchableOpacity>
378
92
 
379
- <react_native_1.TouchableOpacity disabled={isBuilding} activeOpacity={0.7} onPress={() => {
380
- (0, NativeInspector_1.triggerNativeHaptic)('light');
381
- setSelectedScheme('assembleDebug');
382
- }} style={[
383
- styles.subTabItem,
384
- selectedScheme === 'assembleDebug' && styles.subTabItemActive,
385
- ]}>
386
- <react_native_1.Text style={[
387
- styles.subTabText,
388
- selectedScheme === 'assembleDebug' && styles.subTabTextActive,
389
- ]}>
93
+ <react_native_1.TouchableOpacity disabled={b}activeOpacity={.7}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),v("assembleDebug")}}style={[styles.subTabItem,y==="assembleDebug"&&styles.subTabItemActive]}>
94
+ <react_native_1.Text style={[styles.subTabText,y==="assembleDebug"&&styles.subTabTextActive]}>
390
95
  🛠 Debug (assembleDebug)
391
96
  </react_native_1.Text>
392
97
  </react_native_1.TouchableOpacity>
393
98
  </react_native_1.View>
394
99
 
395
100
 
396
- <react_native_1.TouchableOpacity disabled={isBuilding} activeOpacity={0.7} onPress={() => {
397
- (0, NativeInspector_1.triggerNativeHaptic)('light');
398
- setIsCleanBuild(!isCleanBuild);
399
- }} style={styles.cleanRow}>
400
- <react_native_1.View style={[
401
- styles.checkboxBox,
402
- isCleanBuild && styles.checkboxBoxActive,
403
- ]}>
404
- {isCleanBuild && <NetworkIcons_1.CheckIcon size={11} color={AppColors_1.AppColors.white}/>}
101
+ <react_native_1.TouchableOpacity disabled={b}activeOpacity={.7}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),k(!h)}}style={styles.cleanRow}>
102
+ <react_native_1.View style={[styles.checkboxBox,h&&styles.checkboxBoxActive]}>
103
+ {h&&<NetworkIcons_1.CheckIcon size={11}color={AppColors_1.AppColors.white}/>}
405
104
  </react_native_1.View>
406
105
  <react_native_1.Text style={styles.cleanLabel}>
407
106
  Clean build cache <react_native_1.Text style={styles.cleanCode}>(./gradlew clean)</react_native_1.Text>
@@ -409,590 +108,84 @@ const DebuggingTab = () => {
409
108
  </react_native_1.TouchableOpacity>
410
109
 
411
110
 
412
- {isBuilding && (<react_native_1.View style={styles.progressContainer}>
111
+ {b&&<react_native_1.View style={styles.progressContainer}>
413
112
  <react_native_1.View style={styles.progressTopRow}>
414
113
  <react_native_1.View style={styles.progressTaskGroup}>
415
- <react_native_1.ActivityIndicator size="small" color={AppColors_1.AppColors.purple}/>
416
- <react_native_1.Text style={styles.progressTaskText} numberOfLines={1}>
417
- {buildStatus.currentTask || 'Executing Gradle tasks...'}
114
+ <react_native_1.ActivityIndicator size="small"color={AppColors_1.AppColors.purple}/>
115
+ <react_native_1.Text style={styles.progressTaskText}numberOfLines={1}>
116
+ {i.currentTask||"Executing Gradle tasks..."}
418
117
  </react_native_1.Text>
419
118
  </react_native_1.View>
420
119
  <react_native_1.Text style={styles.progressPercentageText}>
421
- {buildStatus.progress}%
120
+ {i.progress}%
422
121
  </react_native_1.Text>
423
122
  </react_native_1.View>
424
123
 
425
124
 
426
125
  <react_native_1.View style={styles.progressBarTrack}>
427
- <react_native_1.Animated.View style={[
428
- styles.progressBarFill,
429
- {
430
- width: progressAnim.interpolate({
431
- inputRange: [0, 100],
432
- outputRange: ['5%', '100%'],
433
- }),
434
- },
435
- ]}/>
126
+ <react_native_1.Animated.View style={[styles.progressBarFill,{width:_.interpolate({inputRange:[0,100],outputRange:["5%","100%"]})}]}/>
436
127
  </react_native_1.View>
437
- </react_native_1.View>)}
128
+ </react_native_1.View>}
438
129
 
439
130
 
440
- {buildStatus.status === 'failed' && (<react_native_1.View style={styles.errorContainer}>
441
- <NetworkIcons_1.CircleXIcon size={13} color={AppColors_1.AppColors.errorColor}/>
442
- <react_native_1.Text style={styles.errorText} numberOfLines={2}>
443
- {buildStatus.error || 'Build execution failed.'}
131
+ {i.status==="failed"&&<react_native_1.View style={styles.errorContainer}>
132
+ <NetworkIcons_1.CircleXIcon size={13}color={AppColors_1.AppColors.errorColor}/>
133
+ <react_native_1.Text style={styles.errorText}numberOfLines={2}>
134
+ {i.error||"Build execution failed."}
444
135
  </react_native_1.Text>
445
- </react_native_1.View>)}
136
+ </react_native_1.View>}
446
137
 
447
138
 
448
- {((buildStatus.logs && buildStatus.logs.length > 0) || isBuilding) && (<react_native_1.View style={styles.consoleContainer}>
139
+ {(i.logs&&i.logs.length>0||b)&&<react_native_1.View style={styles.consoleContainer}>
449
140
  <react_native_1.View style={styles.consoleHeaderRow}>
450
- <react_native_1.View style={{ flexDirection: 'row', alignItems: 'center', gap: 6 }}>
451
- <TerminalConsoleIcon color="#38BDF8" size={12}/>
141
+ <react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
142
+ <TerminalConsoleIcon color="#38BDF8"size={12}/>
452
143
  <react_native_1.Text style={styles.consoleHeaderTitle}>GRADLE VERBOSE OUTPUT</react_native_1.Text>
453
144
  </react_native_1.View>
454
- <react_native_1.TouchableOpacity activeOpacity={0.7} onPress={() => setShowVerboseLogs(!showVerboseLogs)} style={styles.consoleToggleBtn}>
145
+ <react_native_1.TouchableOpacity activeOpacity={.7}onPress={()=>I(!m)}style={styles.consoleToggleBtn}>
455
146
  <react_native_1.Text style={styles.consoleToggleText}>
456
- {showVerboseLogs ? 'Hide Console' : 'Show Console'}
147
+ {m?"Hide Console":"Show Console"}
457
148
  </react_native_1.Text>
458
149
  </react_native_1.TouchableOpacity>
459
150
  </react_native_1.View>
460
151
 
461
- {showVerboseLogs && (<react_native_1.ScrollView ref={verboseScrollRef} style={styles.consoleLogBox} contentContainerStyle={styles.consoleLogContent} nestedScrollEnabled showsVerticalScrollIndicator>
462
- {buildStatus.logs && buildStatus.logs.length > 0 ? (buildStatus.logs.map((logLine, idx) => {
463
- let logColor = '#94A3B8';
464
- if (logLine.startsWith('> Task :'))
465
- logColor = '#38BDF8';
466
- else if (logLine.includes('BUILD SUCCESSFUL'))
467
- logColor = '#4ADE80';
468
- else if (logLine.includes('FAILURE') || logLine.includes('error:'))
469
- logColor = '#F87171';
470
- else if (logLine.includes('UP-TO-DATE'))
471
- logColor = '#A78BFA';
472
- return (<react_native_1.Text key={idx} style={[styles.consoleLogLine, { color: logColor }]}>
473
- {logLine}
474
- </react_native_1.Text>);
475
- })) : (<react_native_1.Text style={styles.consoleLogPlaceholder}>
152
+ {m&&<react_native_1.ScrollView ref={S}style={styles.consoleLogBox}contentContainerStyle={styles.consoleLogContent}nestedScrollEnabled showsVerticalScrollIndicator>
153
+ {i.logs&&i.logs.length>0?i.logs.map((a,s)=>{let t="#94A3B8";return a.startsWith("> Task :")?t="#38BDF8":a.includes("BUILD SUCCESSFUL")?t="#4ADE80":a.includes("FAILURE")||a.includes("error:")?t="#F87171":a.includes("UP-TO-DATE")&&(t="#A78BFA"),<react_native_1.Text key={s}style={[styles.consoleLogLine,{color:t}]}>
154
+ {a}
155
+ </react_native_1.Text>}):<react_native_1.Text style={styles.consoleLogPlaceholder}>
476
156
  Waiting for Gradle daemon output...
477
- </react_native_1.Text>)}
478
- </react_native_1.ScrollView>)}
479
- </react_native_1.View>)}
157
+ </react_native_1.Text>}
158
+ </react_native_1.ScrollView>}
159
+ </react_native_1.View>}
480
160
 
481
161
 
482
- {isBuilding ? (<react_native_1.View style={styles.buildingActionsRow}>
162
+ {b?<react_native_1.View style={styles.buildingActionsRow}>
483
163
  <react_native_1.View style={styles.buildingStatusPill}>
484
- <react_native_1.ActivityIndicator size="small" color={AppColors_1.AppColors.purple}/>
485
- <react_native_1.Text style={styles.buildingStatusPillText} numberOfLines={1}>
486
- Building ({buildStatus.progress}%)
164
+ <react_native_1.ActivityIndicator size="small"color={AppColors_1.AppColors.purple}/>
165
+ <react_native_1.Text style={styles.buildingStatusPillText}numberOfLines={1}>
166
+ Building ({i.progress}%)
487
167
  </react_native_1.Text>
488
168
  </react_native_1.View>
489
169
 
490
- <TouchableScale_1.default onPress={handleStopBuild} style={styles.stopBtn}>
491
- <NetworkIcons_1.CircleXIcon size={13} color={AppColors_1.AppColors.white}/>
170
+ <TouchableScale_1.default onPress={D}style={styles.stopBtn}>
171
+ <NetworkIcons_1.CircleXIcon size={13}color={AppColors_1.AppColors.white}/>
492
172
  <react_native_1.Text style={styles.stopBtnText}>Stop Build</react_native_1.Text>
493
173
  </TouchableScale_1.default>
494
- </react_native_1.View>) : (<TouchableScale_1.default onPress={handleStartBuild} style={styles.generateBtn}>
174
+ </react_native_1.View>:<TouchableScale_1.default onPress={F}style={styles.generateBtn}>
495
175
  <react_native_1.View style={styles.ctaContentRow}>
496
- <NetworkIcons_1.SparkleIcon size={14} color={AppColors_1.AppColors.white}/>
176
+ <NetworkIcons_1.SparkleIcon size={14}color={AppColors_1.AppColors.white}/>
497
177
  <react_native_1.Text style={styles.generateBtnText}>
498
- {isCleanBuild ? 'Clean & Generate Build' : 'Generate Build'}
178
+ {h?"Clean & Generate Build":"Generate Build"}
499
179
  </react_native_1.Text>
500
180
  </react_native_1.View>
501
- </TouchableScale_1.default>)}
181
+ </TouchableScale_1.default>}
502
182
  </react_native_1.View>
503
183
 
504
184
 
505
185
  <react_native_1.View style={styles.footerNoteRow}>
506
- <NetworkIcons_1.InfoCircleIcon size={13} color={AppColors_1.AppColors.grayTextWeak}/>
186
+ <NetworkIcons_1.InfoCircleIcon size={13}color={AppColors_1.AppColors.grayTextWeak}/>
507
187
  <react_native_1.Text style={styles.footerNoteText}>
508
188
  Ensure both Android devices are connected to the same Wi-Fi network.
509
189
  </react_native_1.Text>
510
190
  </react_native_1.View>
511
- </react_native_1.ScrollView>);
512
- };
513
- exports.DebuggingTab = DebuggingTab;
514
- const styles = react_native_1.StyleSheet.create({
515
- scrollArea: {
516
- flex: 1,
517
- backgroundColor: AppColors_1.AppColors.contentBg,
518
- },
519
- scrollContent: {
520
- padding: 12,
521
- gap: 12,
522
- paddingBottom: 100,
523
- },
524
- heroCard: {
525
- backgroundColor: AppColors_1.AppColors.primaryLight,
526
- borderRadius: 14,
527
- borderWidth: 1,
528
- borderColor: AppColors_1.AppColors.grayBorderSecondary,
529
- padding: 14,
530
- shadowColor: AppColors_1.AppColors.black,
531
- shadowOpacity: 0.04,
532
- shadowRadius: 4,
533
- shadowOffset: { width: 0, height: 2 },
534
- elevation: 1,
535
- gap: 12,
536
- },
537
- heroHeader: {
538
- flexDirection: 'row',
539
- alignItems: 'center',
540
- gap: 10,
541
- },
542
- heroIconWrap: {
543
- width: 38,
544
- height: 38,
545
- borderRadius: 10,
546
- backgroundColor: AppColors_1.AppColors.purple,
547
- alignItems: 'center',
548
- justifyContent: 'center',
549
- shadowColor: AppColors_1.AppColors.purple,
550
- shadowOpacity: 0.25,
551
- shadowRadius: 4,
552
- shadowOffset: { width: 0, height: 2 },
553
- elevation: 2,
554
- },
555
- heroTitle: {
556
- fontFamily: AppFonts_1.AppFonts.interBold,
557
- fontSize: 15,
558
- color: AppColors_1.AppColors.primaryBlack,
559
- letterSpacing: -0.2,
560
- },
561
- heroSubtitle: {
562
- fontFamily: AppFonts_1.AppFonts.interRegular,
563
- fontSize: 11.5,
564
- color: AppColors_1.AppColors.grayText,
565
- marginTop: 1,
566
- },
567
- heroBadge: {
568
- flexDirection: 'row',
569
- alignItems: 'center',
570
- gap: 4,
571
- backgroundColor: `${AppColors_1.AppColors.emerald500}18`,
572
- paddingHorizontal: 7,
573
- paddingVertical: 3,
574
- borderRadius: 6,
575
- },
576
- pulseDot: {
577
- width: 6,
578
- height: 6,
579
- borderRadius: 3,
580
- backgroundColor: AppColors_1.AppColors.emerald500,
581
- },
582
- heroBadgeText: {
583
- fontFamily: AppFonts_1.AppFonts.interBold,
584
- fontSize: 9.5,
585
- color: AppColors_1.AppColors.emerald500,
586
- },
587
- heroMetricsStrip: {
588
- flexDirection: 'row',
589
- alignItems: 'center',
590
- backgroundColor: AppColors_1.AppColors.grayBackground,
591
- borderRadius: 10,
592
- paddingVertical: 8,
593
- paddingHorizontal: 10,
594
- },
595
- heroMetricItem: {
596
- flex: 1,
597
- alignItems: 'center',
598
- paddingHorizontal: 2,
599
- minWidth: 0,
600
- },
601
- heroMetricLabel: {
602
- fontFamily: AppFonts_1.AppFonts.interBold,
603
- fontSize: 8.5,
604
- color: AppColors_1.AppColors.grayTextWeak,
605
- letterSpacing: 0.4,
606
- },
607
- heroMetricValue: {
608
- fontFamily: AppFonts_1.AppFonts.interBold,
609
- fontSize: 11,
610
- color: AppColors_1.AppColors.primaryBlack,
611
- marginTop: 2,
612
- },
613
- heroMetricDivider: {
614
- width: 1,
615
- height: 20,
616
- backgroundColor: AppColors_1.AppColors.dividerColor,
617
- },
618
- sectionCard: {
619
- backgroundColor: AppColors_1.AppColors.primaryLight,
620
- borderRadius: 14,
621
- borderWidth: 1,
622
- borderColor: AppColors_1.AppColors.grayBorderSecondary,
623
- padding: 14,
624
- shadowColor: AppColors_1.AppColors.black,
625
- shadowOpacity: 0.03,
626
- shadowRadius: 3,
627
- shadowOffset: { width: 0, height: 1 },
628
- elevation: 1,
629
- gap: 12,
630
- },
631
- sectionHeaderRow: {
632
- flexDirection: 'row',
633
- alignItems: 'center',
634
- justifyContent: 'space-between',
635
- },
636
- sectionTitle: {
637
- fontFamily: AppFonts_1.AppFonts.interBold,
638
- fontSize: 10.5,
639
- color: AppColors_1.AppColors.grayTextWeak,
640
- letterSpacing: 0.8,
641
- textTransform: 'uppercase',
642
- },
643
- refreshBtn: {
644
- flexDirection: 'row',
645
- alignItems: 'center',
646
- gap: 4,
647
- paddingHorizontal: 7,
648
- paddingVertical: 3,
649
- borderRadius: 6,
650
- backgroundColor: `${AppColors_1.AppColors.purple}12`,
651
- },
652
- refreshBtnText: {
653
- fontFamily: AppFonts_1.AppFonts.interBold,
654
- fontSize: 10,
655
- color: AppColors_1.AppColors.purple,
656
- },
657
- qrCenteredWrapper: {
658
- alignItems: 'center',
659
- justifyContent: 'center',
660
- backgroundColor: AppColors_1.AppColors.grayBackground,
661
- padding: 12,
662
- borderRadius: 12,
663
- borderWidth: 1,
664
- borderColor: AppColors_1.AppColors.grayBorderSecondary,
665
- },
666
- qrInnerFrame: {
667
- backgroundColor: AppColors_1.AppColors.white,
668
- padding: 6,
669
- borderRadius: 8,
670
- },
671
- urlBox: {
672
- flexDirection: 'row',
673
- alignItems: 'center',
674
- backgroundColor: AppColors_1.AppColors.grayBackground,
675
- borderRadius: 10,
676
- paddingLeft: 10,
677
- paddingRight: 6,
678
- paddingVertical: 6,
679
- borderWidth: 1,
680
- borderColor: AppColors_1.AppColors.grayBorderSecondary,
681
- gap: 8,
682
- },
683
- urlText: {
684
- flex: 1,
685
- fontFamily: AppFonts_1.AppFonts.interMedium,
686
- fontSize: 11.5,
687
- color: AppColors_1.AppColors.skyBlue,
688
- },
689
- actionsRow: {
690
- flexDirection: 'row',
691
- gap: 10,
692
- },
693
- actionBtnSecondary: {
694
- flex: 1,
695
- flexDirection: 'row',
696
- alignItems: 'center',
697
- justifyContent: 'center',
698
- gap: 6,
699
- paddingVertical: 9,
700
- borderRadius: 10,
701
- borderWidth: 1,
702
- borderColor: AppColors_1.AppColors.grayBorderSecondary,
703
- backgroundColor: AppColors_1.AppColors.grayBackground,
704
- },
705
- actionBtnSecondaryText: {
706
- fontFamily: AppFonts_1.AppFonts.interBold,
707
- fontSize: 12,
708
- color: AppColors_1.AppColors.grayTextStrong,
709
- },
710
- actionBtnPrimary: {
711
- flex: 1,
712
- flexDirection: 'row',
713
- alignItems: 'center',
714
- justifyContent: 'center',
715
- gap: 6,
716
- paddingVertical: 9,
717
- borderRadius: 10,
718
- backgroundColor: AppColors_1.AppColors.purple,
719
- shadowColor: AppColors_1.AppColors.purple,
720
- shadowOpacity: 0.25,
721
- shadowRadius: 4,
722
- shadowOffset: { width: 0, height: 2 },
723
- elevation: 2,
724
- },
725
- actionBtnPrimaryText: {
726
- fontFamily: AppFonts_1.AppFonts.interBold,
727
- fontSize: 12,
728
- color: AppColors_1.AppColors.white,
729
- },
730
- completedBadge: {
731
- flexDirection: 'row',
732
- alignItems: 'center',
733
- gap: 3,
734
- backgroundColor: `${AppColors_1.AppColors.emerald500}18`,
735
- paddingHorizontal: 6,
736
- paddingVertical: 2,
737
- borderRadius: 5,
738
- },
739
- completedBadgeText: {
740
- fontFamily: AppFonts_1.AppFonts.interBold,
741
- fontSize: 9.5,
742
- color: AppColors_1.AppColors.emerald500,
743
- },
744
- subTabStrip: {
745
- flexDirection: 'row',
746
- backgroundColor: AppColors_1.AppColors.grayBackground,
747
- borderRadius: 8,
748
- padding: 2,
749
- borderWidth: 1,
750
- borderColor: AppColors_1.AppColors.grayBorderSecondary,
751
- },
752
- subTabItem: {
753
- flex: 1,
754
- paddingVertical: 7,
755
- borderRadius: 6,
756
- alignItems: 'center',
757
- justifyContent: 'center',
758
- },
759
- subTabItemActive: {
760
- backgroundColor: AppColors_1.AppColors.purple,
761
- shadowColor: AppColors_1.AppColors.purple,
762
- shadowOpacity: 0.2,
763
- shadowRadius: 3,
764
- shadowOffset: { width: 0, height: 1 },
765
- elevation: 1,
766
- },
767
- subTabText: {
768
- fontFamily: AppFonts_1.AppFonts.interMedium,
769
- fontSize: 11,
770
- color: AppColors_1.AppColors.grayText,
771
- },
772
- subTabTextActive: {
773
- fontFamily: AppFonts_1.AppFonts.interBold,
774
- color: AppColors_1.AppColors.white,
775
- },
776
- cleanRow: {
777
- flexDirection: 'row',
778
- alignItems: 'center',
779
- gap: 8,
780
- paddingVertical: 2,
781
- },
782
- checkboxBox: {
783
- width: 18,
784
- height: 18,
785
- borderRadius: 4,
786
- borderWidth: 1.5,
787
- borderColor: AppColors_1.AppColors.grayBorderSecondary,
788
- backgroundColor: AppColors_1.AppColors.grayBackground,
789
- alignItems: 'center',
790
- justifyContent: 'center',
791
- },
792
- checkboxBoxActive: {
793
- backgroundColor: AppColors_1.AppColors.purple,
794
- borderColor: AppColors_1.AppColors.purple,
795
- },
796
- cleanLabel: {
797
- fontFamily: AppFonts_1.AppFonts.interMedium,
798
- fontSize: 11.5,
799
- color: AppColors_1.AppColors.grayTextStrong,
800
- },
801
- cleanCode: {
802
- fontFamily: AppFonts_1.AppFonts.interRegular,
803
- color: AppColors_1.AppColors.grayTextWeak,
804
- fontSize: 10.5,
805
- },
806
- progressContainer: {
807
- backgroundColor: AppColors_1.AppColors.grayBackground,
808
- borderRadius: 10,
809
- padding: 10,
810
- gap: 6,
811
- borderWidth: 1,
812
- borderColor: AppColors_1.AppColors.grayBorderSecondary,
813
- },
814
- progressTopRow: {
815
- flexDirection: 'row',
816
- alignItems: 'center',
817
- justifyContent: 'space-between',
818
- },
819
- progressTaskGroup: {
820
- flexDirection: 'row',
821
- alignItems: 'center',
822
- gap: 6,
823
- flex: 1,
824
- paddingRight: 8,
825
- },
826
- progressTaskText: {
827
- fontFamily: AppFonts_1.AppFonts.interMedium,
828
- fontSize: 11,
829
- color: AppColors_1.AppColors.primaryBlack,
830
- flex: 1,
831
- },
832
- progressPercentageText: {
833
- fontFamily: AppFonts_1.AppFonts.interBold,
834
- fontSize: 11.5,
835
- color: AppColors_1.AppColors.purple,
836
- },
837
- progressBarTrack: {
838
- width: '100%',
839
- height: 6,
840
- borderRadius: 3,
841
- backgroundColor: AppColors_1.AppColors.grayBorderSecondary,
842
- overflow: 'hidden',
843
- },
844
- progressBarFill: {
845
- height: '100%',
846
- backgroundColor: AppColors_1.AppColors.purple,
847
- borderRadius: 3,
848
- },
849
- errorContainer: {
850
- flexDirection: 'row',
851
- alignItems: 'center',
852
- gap: 6,
853
- backgroundColor: `${AppColors_1.AppColors.errorColor}12`,
854
- padding: 8,
855
- borderRadius: 8,
856
- borderWidth: 1,
857
- borderColor: `${AppColors_1.AppColors.errorColor}25`,
858
- },
859
- errorText: {
860
- fontFamily: AppFonts_1.AppFonts.interRegular,
861
- fontSize: 11,
862
- color: AppColors_1.AppColors.errorColor,
863
- flex: 1,
864
- },
865
- consoleContainer: {
866
- backgroundColor: '#0F172A',
867
- borderRadius: 10,
868
- borderWidth: 1,
869
- borderColor: '#1E293B',
870
- overflow: 'hidden',
871
- marginTop: 4,
872
- },
873
- consoleHeaderRow: {
874
- flexDirection: 'row',
875
- alignItems: 'center',
876
- justifyContent: 'space-between',
877
- backgroundColor: '#1E293B',
878
- paddingHorizontal: 10,
879
- paddingVertical: 6,
880
- },
881
- consoleHeaderTitle: {
882
- fontFamily: AppFonts_1.AppFonts.interBold,
883
- fontSize: 10,
884
- color: '#38BDF8',
885
- letterSpacing: 0.5,
886
- },
887
- consoleToggleBtn: {
888
- paddingHorizontal: 6,
889
- paddingVertical: 2,
890
- borderRadius: 4,
891
- backgroundColor: 'rgba(255,255,255,0.1)',
892
- },
893
- consoleToggleText: {
894
- fontFamily: AppFonts_1.AppFonts.interMedium,
895
- fontSize: 9.5,
896
- color: '#94A3B8',
897
- },
898
- consoleLogBox: {
899
- maxHeight: 140,
900
- paddingHorizontal: 10,
901
- paddingVertical: 8,
902
- },
903
- consoleLogContent: {
904
- gap: 3,
905
- },
906
- consoleLogLine: {
907
- fontFamily: AppFonts_1.AppFonts.interRegular,
908
- fontSize: 10,
909
- lineHeight: 14,
910
- },
911
- consoleLogPlaceholder: {
912
- fontFamily: AppFonts_1.AppFonts.interRegular,
913
- fontSize: 10,
914
- color: '#64748B',
915
- fontStyle: 'italic',
916
- },
917
- generateBtn: {
918
- backgroundColor: AppColors_1.AppColors.purple,
919
- borderRadius: 10,
920
- paddingVertical: 10,
921
- alignItems: 'center',
922
- justifyContent: 'center',
923
- shadowColor: AppColors_1.AppColors.purple,
924
- shadowOpacity: 0.25,
925
- shadowRadius: 4,
926
- shadowOffset: { width: 0, height: 2 },
927
- elevation: 2,
928
- },
929
- generateBtnDisabled: {
930
- opacity: 0.7,
931
- },
932
- buildingActionsRow: {
933
- flexDirection: 'row',
934
- alignItems: 'center',
935
- gap: 10,
936
- },
937
- buildingStatusPill: {
938
- flex: 1,
939
- flexDirection: 'row',
940
- alignItems: 'center',
941
- justifyContent: 'center',
942
- gap: 8,
943
- backgroundColor: `${AppColors_1.AppColors.purple}14`,
944
- borderRadius: 10,
945
- paddingVertical: 10,
946
- borderWidth: 1,
947
- borderColor: `${AppColors_1.AppColors.purple}30`,
948
- },
949
- buildingStatusPillText: {
950
- fontFamily: AppFonts_1.AppFonts.interBold,
951
- fontSize: 12,
952
- color: AppColors_1.AppColors.purple,
953
- },
954
- stopBtn: {
955
- flexDirection: 'row',
956
- alignItems: 'center',
957
- justifyContent: 'center',
958
- gap: 6,
959
- backgroundColor: AppColors_1.AppColors.errorColor,
960
- borderRadius: 10,
961
- paddingHorizontal: 16,
962
- paddingVertical: 10,
963
- shadowColor: AppColors_1.AppColors.errorColor,
964
- shadowOpacity: 0.25,
965
- shadowRadius: 4,
966
- shadowOffset: { width: 0, height: 2 },
967
- elevation: 2,
968
- },
969
- stopBtnText: {
970
- fontFamily: AppFonts_1.AppFonts.interBold,
971
- fontSize: 12,
972
- color: AppColors_1.AppColors.white,
973
- },
974
- ctaContentRow: {
975
- flexDirection: 'row',
976
- alignItems: 'center',
977
- gap: 6,
978
- },
979
- generateBtnText: {
980
- fontFamily: AppFonts_1.AppFonts.interBold,
981
- fontSize: 12.5,
982
- color: AppColors_1.AppColors.white,
983
- },
984
- footerNoteRow: {
985
- flexDirection: 'row',
986
- alignItems: 'center',
987
- gap: 6,
988
- paddingHorizontal: 8,
989
- },
990
- footerNoteText: {
991
- fontFamily: AppFonts_1.AppFonts.interRegular,
992
- fontSize: 11,
993
- color: AppColors_1.AppColors.grayTextWeak,
994
- textAlign: 'center',
995
- flex: 1,
996
- },
997
- });
998
- exports.default = exports.DebuggingTab;
191
+ </react_native_1.ScrollView>};exports.DebuggingTab=DebuggingTab;const styles=react_native_1.StyleSheet.create({scrollArea:{flex:1,backgroundColor:AppColors_1.AppColors.contentBg},scrollContent:{padding:12,gap:12,paddingBottom:100},heroCard:{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:14,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.04,shadowRadius:4,shadowOffset:{width:0,height:2},elevation:1,gap:12},heroHeader:{flexDirection:"row",alignItems:"center",gap:10},heroIconWrap:{width:38,height:38,borderRadius:10,backgroundColor:AppColors_1.AppColors.purple,alignItems:"center",justifyContent:"center",shadowColor:AppColors_1.AppColors.purple,shadowOpacity:.25,shadowRadius:4,shadowOffset:{width:0,height:2},elevation:2},heroTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:15,color:AppColors_1.AppColors.primaryBlack,letterSpacing:-.2},heroSubtitle:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11.5,color:AppColors_1.AppColors.grayText,marginTop:1},heroBadge:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:`${AppColors_1.AppColors.emerald500}18`,paddingHorizontal:7,paddingVertical:3,borderRadius:6},pulseDot:{width:6,height:6,borderRadius:3,backgroundColor:AppColors_1.AppColors.emerald500},heroBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:AppColors_1.AppColors.emerald500},heroMetricsStrip:{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,paddingVertical:8,paddingHorizontal:10},heroMetricItem:{flex:1,alignItems:"center",paddingHorizontal:2,minWidth:0},heroMetricLabel:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,color:AppColors_1.AppColors.grayTextWeak,letterSpacing:.4},heroMetricValue:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.primaryBlack,marginTop:2},heroMetricDivider:{width:1,height:20,backgroundColor:AppColors_1.AppColors.dividerColor},sectionCard:{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:14,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.03,shadowRadius:3,shadowOffset:{width:0,height:1},elevation:1,gap:12},sectionHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},sectionTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:AppColors_1.AppColors.grayTextWeak,letterSpacing:.8,textTransform:"uppercase"},refreshBtn:{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:7,paddingVertical:3,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.purple}12`},refreshBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,color:AppColors_1.AppColors.purple},qrCenteredWrapper:{alignItems:"center",justifyContent:"center",backgroundColor:AppColors_1.AppColors.grayBackground,padding:12,borderRadius:12,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary},qrInnerFrame:{backgroundColor:AppColors_1.AppColors.white,padding:6,borderRadius:8},urlBox:{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,paddingLeft:10,paddingRight:6,paddingVertical:6,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:8},urlText:{flex:1,fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11.5,color:AppColors_1.AppColors.skyBlue},actionsRow:{flexDirection:"row",gap:10},actionBtnSecondary:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6,paddingVertical:9,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,backgroundColor:AppColors_1.AppColors.grayBackground},actionBtnSecondaryText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.grayTextStrong},actionBtnPrimary:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6,paddingVertical:9,borderRadius:10,backgroundColor:AppColors_1.AppColors.purple,shadowColor:AppColors_1.AppColors.purple,shadowOpacity:.25,shadowRadius:4,shadowOffset:{width:0,height:2},elevation:2},actionBtnPrimaryText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.white},completedBadge:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:`${AppColors_1.AppColors.emerald500}18`,paddingHorizontal:6,paddingVertical:2,borderRadius:5},completedBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:AppColors_1.AppColors.emerald500},subTabStrip:{flexDirection:"row",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:8,padding:2,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary},subTabItem:{flex:1,paddingVertical:7,borderRadius:6,alignItems:"center",justifyContent:"center"},subTabItemActive:{backgroundColor:AppColors_1.AppColors.purple,shadowColor:AppColors_1.AppColors.purple,shadowOpacity:.2,shadowRadius:3,shadowOffset:{width:0,height:1},elevation:1},subTabText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.grayText},subTabTextActive:{fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.white},cleanRow:{flexDirection:"row",alignItems:"center",gap:8,paddingVertical:2},checkboxBox:{width:18,height:18,borderRadius:4,borderWidth:1.5,borderColor:AppColors_1.AppColors.grayBorderSecondary,backgroundColor:AppColors_1.AppColors.grayBackground,alignItems:"center",justifyContent:"center"},checkboxBoxActive:{backgroundColor:AppColors_1.AppColors.purple,borderColor:AppColors_1.AppColors.purple},cleanLabel:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11.5,color:AppColors_1.AppColors.grayTextStrong},cleanCode:{fontFamily:AppFonts_1.AppFonts.interRegular,color:AppColors_1.AppColors.grayTextWeak,fontSize:10.5},progressContainer:{backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,padding:10,gap:6,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary},progressTopRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},progressTaskGroup:{flexDirection:"row",alignItems:"center",gap:6,flex:1,paddingRight:8},progressTaskText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.primaryBlack,flex:1},progressPercentageText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,color:AppColors_1.AppColors.purple},progressBarTrack:{width:"100%",height:6,borderRadius:3,backgroundColor:AppColors_1.AppColors.grayBorderSecondary,overflow:"hidden"},progressBarFill:{height:"100%",backgroundColor:AppColors_1.AppColors.purple,borderRadius:3},errorContainer:{flexDirection:"row",alignItems:"center",gap:6,backgroundColor:`${AppColors_1.AppColors.errorColor}12`,padding:8,borderRadius:8,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}25`},errorText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:AppColors_1.AppColors.errorColor,flex:1},consoleContainer:{backgroundColor:"#0F172A",borderRadius:10,borderWidth:1,borderColor:"#1E293B",overflow:"hidden",marginTop:4},consoleHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:"#1E293B",paddingHorizontal:10,paddingVertical:6},consoleHeaderTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,color:"#38BDF8",letterSpacing:.5},consoleToggleBtn:{paddingHorizontal:6,paddingVertical:2,borderRadius:4,backgroundColor:"rgba(255,255,255,0.1)"},consoleToggleText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:9.5,color:"#94A3B8"},consoleLogBox:{maxHeight:140,paddingHorizontal:10,paddingVertical:8},consoleLogContent:{gap:3},consoleLogLine:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,lineHeight:14},consoleLogPlaceholder:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,color:"#64748B",fontStyle:"italic"},generateBtn:{backgroundColor:AppColors_1.AppColors.purple,borderRadius:10,paddingVertical:10,alignItems:"center",justifyContent:"center",shadowColor:AppColors_1.AppColors.purple,shadowOpacity:.25,shadowRadius:4,shadowOffset:{width:0,height:2},elevation:2},generateBtnDisabled:{opacity:.7},buildingActionsRow:{flexDirection:"row",alignItems:"center",gap:10},buildingStatusPill:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:8,backgroundColor:`${AppColors_1.AppColors.purple}14`,borderRadius:10,paddingVertical:10,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}30`},buildingStatusPillText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.purple},stopBtn:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6,backgroundColor:AppColors_1.AppColors.errorColor,borderRadius:10,paddingHorizontal:16,paddingVertical:10,shadowColor:AppColors_1.AppColors.errorColor,shadowOpacity:.25,shadowRadius:4,shadowOffset:{width:0,height:2},elevation:2},stopBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.white},ctaContentRow:{flexDirection:"row",alignItems:"center",gap:6},generateBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12.5,color:AppColors_1.AppColors.white},footerNoteRow:{flexDirection:"row",alignItems:"center",gap:6,paddingHorizontal:8},footerNoteText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:AppColors_1.AppColors.grayTextWeak,textAlign:"center",flex:1}});exports.default=exports.DebuggingTab;