react-native-inapp-inspector 2.3.15 → 2.3.17

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 (381) hide show
  1. package/README.md +1 -0
  2. package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +438 -7
  3. package/bin/cli.js +0 -0
  4. package/dist/commonjs/capture.d.ts +26 -0
  5. package/dist/commonjs/capture.js +32 -0
  6. package/dist/commonjs/components/AnalyticsEventCard.js +11 -11
  7. package/dist/commonjs/components/AnimatedEntrance.js +6 -70
  8. package/dist/commonjs/components/DomainHeader.js +3 -48
  9. package/dist/commonjs/components/EmptyState.js +2 -2
  10. package/dist/commonjs/components/HeadersSection.js +14 -34
  11. package/dist/commonjs/components/Inspector/AnalyticsTab.js +1 -24
  12. package/dist/commonjs/components/Inspector/ConsoleTab.js +1 -23
  13. package/dist/commonjs/components/Inspector/CrashTab.js +4 -25
  14. package/dist/commonjs/components/Inspector/DebuggingTab.js +2 -2
  15. package/dist/commonjs/components/Inspector/FeedbackModal.d.ts +7 -0
  16. package/dist/commonjs/components/Inspector/FeedbackModal.js +552 -0
  17. package/dist/commonjs/components/Inspector/InspectorHeader.js +675 -285
  18. package/dist/commonjs/components/Inspector/MainScreen.js +66 -69
  19. package/dist/commonjs/components/Inspector/MediaGalleryTab.d.ts +2 -0
  20. package/dist/commonjs/components/Inspector/MediaGalleryTab.js +307 -0
  21. package/dist/commonjs/components/Inspector/MediaPreviewModal.d.ts +11 -0
  22. package/dist/commonjs/components/Inspector/MediaPreviewModal.js +393 -0
  23. package/dist/commonjs/components/Inspector/NetworkTab.js +196 -206
  24. package/dist/commonjs/components/Inspector/NpmStarPrompt.d.ts +3 -0
  25. package/dist/commonjs/components/Inspector/NpmStarPrompt.js +494 -0
  26. package/dist/commonjs/components/Inspector/NpmUpdateToast.js +4 -9
  27. package/dist/commonjs/components/Inspector/PerformanceTab.js +8 -1
  28. package/dist/commonjs/components/Inspector/ReduxTab.js +4 -24
  29. package/dist/commonjs/components/Inspector/SettingsPanel.js +1280 -173
  30. package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +2 -2
  31. package/dist/commonjs/components/Inspector/StorageTab.js +3 -26
  32. package/dist/commonjs/components/Inspector/TabBar.js +55 -25
  33. package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +5 -10
  34. package/dist/commonjs/components/JsonViewer.js +43 -20
  35. package/dist/commonjs/components/LogCard.js +5 -5
  36. package/dist/commonjs/components/MetaAccordion.js +78 -80
  37. package/dist/commonjs/components/NetworkIcons.d.ts +13 -0
  38. package/dist/commonjs/components/NetworkIcons.js +83 -2
  39. package/dist/commonjs/components/SectionHeader.js +3 -48
  40. package/dist/commonjs/components/SkeletonPlaceholder.js +2 -2
  41. package/dist/commonjs/components/SourcePageCard.js +43 -45
  42. package/dist/commonjs/components/Toast.js +4 -4
  43. package/dist/commonjs/components/TouchableScale.js +9 -65
  44. package/dist/commonjs/components/TreeNode.js +2 -14
  45. package/dist/commonjs/constants/telemetryConfig.d.ts +3 -3
  46. package/dist/commonjs/constants/telemetryConfig.js +3 -3
  47. package/dist/commonjs/constants/version.d.ts +1 -1
  48. package/dist/commonjs/constants/version.js +1 -1
  49. package/dist/commonjs/customHooks/useAccordion.d.ts +3 -8
  50. package/dist/commonjs/customHooks/useAccordion.js +6 -36
  51. package/dist/commonjs/helpers/index.d.ts +3 -1
  52. package/dist/commonjs/helpers/index.js +11 -1
  53. package/dist/commonjs/helpers/remoteConfig.d.ts +4 -0
  54. package/dist/commonjs/helpers/remoteConfig.js +165 -0
  55. package/dist/commonjs/helpers/searchQueryParser.js +2 -0
  56. package/dist/commonjs/helpers/telemetry.d.ts +5 -0
  57. package/dist/commonjs/helpers/telemetry.js +339 -8
  58. package/dist/commonjs/i18n/locales/en.json +66 -2
  59. package/dist/commonjs/index.d.ts +2 -0
  60. package/dist/commonjs/index.js +70 -23
  61. package/dist/commonjs/native/NativeInspector.d.ts +60 -0
  62. package/dist/commonjs/native/NativeInspector.js +109 -2
  63. package/dist/commonjs/native/NativeNetworkInspector.d.ts +8 -0
  64. package/dist/commonjs/styles/AppColors.d.ts +36 -0
  65. package/dist/commonjs/styles/AppColors.js +36 -0
  66. package/dist/commonjs/styles/AppFonts.d.ts +2 -0
  67. package/dist/commonjs/styles/AppFonts.js +1 -0
  68. package/dist/commonjs/styles/index.d.ts +25 -1
  69. package/dist/commonjs/styles/index.js +22 -1
  70. package/dist/commonjs/types/enums.d.ts +2 -0
  71. package/dist/commonjs/types/enums.js +2 -0
  72. package/dist/commonjs/types/index.d.ts +2 -2
  73. package/dist/commonjs/types/interfaces.d.ts +12 -0
  74. package/dist/esm/capture.d.ts +26 -0
  75. package/dist/esm/capture.js +29 -0
  76. package/dist/esm/components/AnalyticsEventCard.js +11 -11
  77. package/dist/esm/components/AnimatedEntrance.js +4 -38
  78. package/dist/esm/components/DomainHeader.js +4 -16
  79. package/dist/esm/components/EmptyState.js +2 -2
  80. package/dist/esm/components/HeadersSection.js +16 -36
  81. package/dist/esm/components/Inspector/AnalyticsTab.js +3 -26
  82. package/dist/esm/components/Inspector/ConsoleTab.js +3 -25
  83. package/dist/esm/components/Inspector/CrashTab.js +6 -27
  84. package/dist/esm/components/Inspector/DebuggingTab.js +3 -3
  85. package/dist/esm/components/Inspector/FeedbackModal.d.ts +7 -0
  86. package/dist/esm/components/Inspector/FeedbackModal.js +515 -0
  87. package/dist/esm/components/Inspector/InspectorHeader.js +678 -288
  88. package/dist/esm/components/Inspector/MainScreen.js +67 -70
  89. package/dist/esm/components/Inspector/MediaGalleryTab.d.ts +2 -0
  90. package/dist/esm/components/Inspector/MediaGalleryTab.js +267 -0
  91. package/dist/esm/components/Inspector/MediaPreviewModal.d.ts +11 -0
  92. package/dist/esm/components/Inspector/MediaPreviewModal.js +353 -0
  93. package/dist/esm/components/Inspector/NetworkTab.js +199 -209
  94. package/dist/esm/components/Inspector/NpmStarPrompt.d.ts +3 -0
  95. package/dist/esm/components/Inspector/NpmStarPrompt.js +454 -0
  96. package/dist/esm/components/Inspector/NpmUpdateToast.js +5 -10
  97. package/dist/esm/components/Inspector/PerformanceTab.js +8 -1
  98. package/dist/esm/components/Inspector/ReduxTab.js +6 -26
  99. package/dist/esm/components/Inspector/SettingsPanel.js +1283 -176
  100. package/dist/esm/components/Inspector/SkeletonPlaceholder.js +2 -2
  101. package/dist/esm/components/Inspector/StorageTab.js +3 -26
  102. package/dist/esm/components/Inspector/TabBar.js +56 -26
  103. package/dist/esm/components/Inspector/UpdateAvailableModal.js +6 -11
  104. package/dist/esm/components/JsonViewer.js +43 -20
  105. package/dist/esm/components/LogCard.js +5 -5
  106. package/dist/esm/components/MetaAccordion.js +79 -81
  107. package/dist/esm/components/NetworkIcons.d.ts +13 -0
  108. package/dist/esm/components/NetworkIcons.js +68 -0
  109. package/dist/esm/components/SectionHeader.js +4 -16
  110. package/dist/esm/components/SkeletonPlaceholder.js +2 -2
  111. package/dist/esm/components/SourcePageCard.js +44 -46
  112. package/dist/esm/components/Toast.js +4 -4
  113. package/dist/esm/components/TouchableScale.js +7 -33
  114. package/dist/esm/components/TreeNode.js +4 -16
  115. package/dist/esm/constants/telemetryConfig.d.ts +3 -3
  116. package/dist/esm/constants/telemetryConfig.js +3 -3
  117. package/dist/esm/constants/version.d.ts +1 -1
  118. package/dist/esm/constants/version.js +1 -1
  119. package/dist/esm/customHooks/useAccordion.d.ts +3 -8
  120. package/dist/esm/customHooks/useAccordion.js +7 -37
  121. package/dist/esm/helpers/index.d.ts +3 -1
  122. package/dist/esm/helpers/index.js +9 -0
  123. package/dist/esm/helpers/remoteConfig.d.ts +4 -0
  124. package/dist/esm/helpers/remoteConfig.js +160 -0
  125. package/dist/esm/helpers/searchQueryParser.js +2 -0
  126. package/dist/esm/helpers/telemetry.d.ts +5 -0
  127. package/dist/esm/helpers/telemetry.js +332 -9
  128. package/dist/esm/i18n/locales/en.json +66 -2
  129. package/dist/esm/index.d.ts +2 -0
  130. package/dist/esm/index.js +66 -23
  131. package/dist/esm/native/NativeInspector.d.ts +60 -0
  132. package/dist/esm/native/NativeInspector.js +100 -1
  133. package/dist/esm/native/NativeNetworkInspector.d.ts +8 -0
  134. package/dist/esm/styles/AppColors.d.ts +36 -0
  135. package/dist/esm/styles/AppColors.js +36 -0
  136. package/dist/esm/styles/AppFonts.d.ts +2 -0
  137. package/dist/esm/styles/AppFonts.js +1 -0
  138. package/dist/esm/styles/index.d.ts +25 -1
  139. package/dist/esm/styles/index.js +22 -1
  140. package/dist/esm/types/enums.d.ts +2 -0
  141. package/dist/esm/types/enums.js +2 -0
  142. package/dist/esm/types/index.d.ts +2 -2
  143. package/dist/esm/types/interfaces.d.ts +12 -0
  144. package/ios/NetworkInspectorModule.h +1 -0
  145. package/ios/NetworkInspectorModule.mm +736 -7
  146. package/package.json +10 -2
  147. package/react-native-inapp-inspector.podspec +1 -0
  148. package/src/capture.ts +101 -0
  149. package/src/components/AnalyticsEventCard.tsx +15 -13
  150. package/src/components/AnimatedEntrance.tsx +3 -47
  151. package/src/components/DomainHeader.tsx +4 -17
  152. package/src/components/EmptyState.tsx +2 -2
  153. package/src/components/HeadersSection.tsx +31 -56
  154. package/src/components/Inspector/AnalyticsTab.tsx +2 -25
  155. package/src/components/Inspector/ConsoleTab.tsx +2 -24
  156. package/src/components/Inspector/CrashTab.tsx +4 -25
  157. package/src/components/Inspector/DebuggingTab.tsx +2 -2
  158. package/src/components/Inspector/FeedbackModal.tsx +626 -0
  159. package/src/components/Inspector/InspectorHeader.tsx +1230 -728
  160. package/src/components/Inspector/MainScreen.tsx +97 -82
  161. package/src/components/Inspector/MediaGalleryTab.tsx +355 -0
  162. package/src/components/Inspector/MediaPreviewModal.tsx +435 -0
  163. package/src/components/Inspector/NetworkTab.tsx +83 -93
  164. package/src/components/Inspector/NpmStarPrompt.tsx +532 -0
  165. package/src/components/Inspector/NpmUpdateToast.tsx +4 -9
  166. package/src/components/Inspector/PerformanceTab.tsx +8 -1
  167. package/src/components/Inspector/ReduxTab.tsx +5 -25
  168. package/src/components/Inspector/SettingsPanel.tsx +1493 -225
  169. package/src/components/Inspector/SkeletonPlaceholder.tsx +2 -2
  170. package/src/components/Inspector/StorageTab.tsx +3 -26
  171. package/src/components/Inspector/TabBar.tsx +63 -32
  172. package/src/components/Inspector/UpdateAvailableModal.tsx +6 -10
  173. package/src/components/JsonViewer.tsx +101 -60
  174. package/src/components/LogCard.tsx +10 -8
  175. package/src/components/MetaAccordion.tsx +6 -6
  176. package/src/components/NetworkIcons.tsx +242 -0
  177. package/src/components/SectionHeader.tsx +4 -16
  178. package/src/components/SkeletonPlaceholder.tsx +2 -2
  179. package/src/components/SourcePageCard.tsx +57 -55
  180. package/src/components/Toast.tsx +4 -4
  181. package/src/components/TouchableScale.tsx +8 -38
  182. package/src/components/TreeNode.tsx +5 -20
  183. package/src/constants/telemetryConfig.ts +3 -5
  184. package/src/constants/version.ts +1 -1
  185. package/src/customHooks/useAccordion.tsx +10 -43
  186. package/src/helpers/index.ts +11 -1
  187. package/src/helpers/remoteConfig.ts +212 -0
  188. package/src/helpers/searchQueryParser.ts +3 -0
  189. package/src/helpers/telemetry.ts +381 -10
  190. package/src/i18n/locales/en.json +69 -2
  191. package/src/index.tsx +93 -23
  192. package/src/native/NativeInspector.ts +186 -1
  193. package/src/native/NativeNetworkInspector.ts +9 -0
  194. package/src/styles/AppColors.ts +38 -0
  195. package/src/styles/AppFonts.ts +2 -0
  196. package/src/styles/index.ts +23 -2
  197. package/src/types/enums.ts +4 -0
  198. package/src/types/index.ts +2 -2
  199. package/src/types/interfaces.ts +12 -0
  200. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  201. package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
  202. package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
  203. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  204. package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
  205. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  206. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  207. package/android/.gradle/8.9/gc.properties +0 -0
  208. package/android/.gradle/9.2.0/checksums/checksums.lock +0 -0
  209. package/android/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
  210. package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
  211. package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
  212. package/android/.gradle/9.2.0/gc.properties +0 -0
  213. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  214. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  215. package/android/.gradle/vcs-1/gc.properties +0 -0
  216. package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/results.bin +0 -1
  217. package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/transformed/classes/classes_dex/classes.dex +0 -0
  218. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/results.bin +0 -1
  219. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/BuildConfig.dex +0 -0
  220. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView$iconView$1.dex +0 -0
  221. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView.dex +0 -0
  222. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NativeNetworkInspectorSpec.dex +0 -0
  223. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$Companion.dex +0 -0
  224. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$frameCallback$1.dex +0 -0
  225. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$shakeListener$1.dex +0 -0
  226. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule.dex +0 -0
  227. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorPackage.dex +0 -0
  228. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  229. package/android/build/generated/source/buildConfig/debug/com/inappinspector/BuildConfig.java +0 -10
  230. package/android/build/generated/source/codegen/java/com/inappinspector/NativeNetworkInspectorSpec.java +0 -104
  231. package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
  232. package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +0 -128
  233. package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec.h +0 -31
  234. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.cpp +0 -22
  235. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.h +0 -24
  236. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.cpp +0 -16
  237. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.h +0 -17
  238. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.cpp +0 -19
  239. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.h +0 -18
  240. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/RNInAppInspectorSpecJSI.h +0 -177
  241. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.cpp +0 -17
  242. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.h +0 -23
  243. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.cpp +0 -16
  244. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.h +0 -20
  245. package/android/build/generated/source/codegen/schema.json +0 -1
  246. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -7
  247. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  248. package/android/build/intermediates/aar_main_jar/debug/syncDebugLibJars/classes.jar +0 -0
  249. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  250. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  251. package/android/build/intermediates/annotations_typedef_file/debug/extractDebugAnnotations/typedefs.txt +0 -0
  252. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  253. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  254. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
  255. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
  256. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  257. package/android/build/intermediates/incremental/debug-mergeJavaRes/merge-state +0 -0
  258. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  259. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  260. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  261. package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  262. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/BuildConfig.class +0 -0
  263. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
  264. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
  265. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -7
  266. package/android/build/intermediates/merged_java_res/debug/mergeDebugJavaResource/feature-react-native-inapp-inspector.jar +0 -0
  267. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -7
  268. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  269. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  270. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  271. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/BuildConfig.class +0 -0
  272. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
  273. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
  274. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
  275. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
  276. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
  277. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
  278. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule.class +0 -0
  279. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorPackage.class +0 -0
  280. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  281. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -1
  282. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  283. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  284. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  285. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  286. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  287. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  288. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  289. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  290. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  291. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  292. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  293. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  294. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  295. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  296. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  297. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  298. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  299. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  300. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  301. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  302. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  303. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  304. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  305. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  306. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  307. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  308. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  309. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  310. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  311. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  312. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  313. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  314. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  315. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  316. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  317. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  318. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  319. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  320. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  321. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  322. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  323. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  324. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  325. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  326. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  327. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  328. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  329. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  330. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  331. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  332. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  333. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  334. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  335. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  336. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  337. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  338. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  339. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  340. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  341. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  342. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  343. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  344. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  345. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
  346. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  347. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  348. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  349. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  350. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  351. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  352. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  353. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  354. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  355. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  356. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  357. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  358. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  359. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  360. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  361. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  362. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  363. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  364. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  365. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  366. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  367. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  368. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  369. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  370. package/android/build/outputs/aar/react-native-inapp-inspector-debug.aar +0 -0
  371. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  372. package/android/build/reports/problems/problems-report.html +0 -659
  373. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  374. package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  375. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
  376. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
  377. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
  378. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
  379. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
  380. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule.class +0 -0
  381. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorPackage.class +0 -0
@@ -8,12 +8,12 @@ export const SkeletonPlaceholder = React.memo(function SkeletonPlaceholder({ car
8
8
  Animated.timing(shimmerAnim, {
9
9
  toValue: 0.85,
10
10
  duration: 750,
11
- useNativeDriver: true,
11
+ useNativeDriver: false,
12
12
  }),
13
13
  Animated.timing(shimmerAnim, {
14
14
  toValue: 0.35,
15
15
  duration: 750,
16
- useNativeDriver: true,
16
+ useNativeDriver: false,
17
17
  }),
18
18
  ]));
19
19
  animation.start();
@@ -1,7 +1,6 @@
1
1
  import React, { useState, useEffect, useMemo, useCallback, useRef } from 'react';
2
2
  import { View, Text, ScrollView, FlatList, TextInput, Modal, Alert, StyleSheet, ActivityIndicator, Platform, } from 'react-native';
3
3
  import TouchableScale from '../TouchableScale';
4
- import globalStyles from '../../styles';
5
4
  import { AppColors } from '../../styles/AppColors';
6
5
  import { AppFonts } from '../../styles/AppFonts';
7
6
  import { useTranslation } from '../../i18n';
@@ -397,28 +396,6 @@ export const StorageTab = React.memo(() => {
397
396
  </Text>
398
397
  </TouchableScale>)}
399
398
  </View>} ListFooterComponent={<View style={{ height: 60 }}/>}/>
400
-
401
- <TouchableScale onPress={() => {
402
- try {
403
- listRef.current?.scrollToOffset({
404
- offset: 0,
405
- animated: true,
406
- });
407
- }
408
- catch {
409
- try {
410
- listRef.current?.scrollToIndex({
411
- index: 0,
412
- animated: true,
413
- });
414
- }
415
- catch { }
416
- }
417
- }} hitSlop={12} style={globalStyles.scrollTopBtn}>
418
- <View style={{ transform: [{ rotate: '180deg' }] }}>
419
- <ChevronIcon color={AppColors.white} size={18}/>
420
- </View>
421
- </TouchableScale>
422
399
  </>)}
423
400
 
424
401
 
@@ -713,7 +690,7 @@ const styles = StyleSheet.create({
713
690
  borderColor: `${AppColors.grayBorderSecondary}80`,
714
691
  },
715
692
  valuePreviewText: {
716
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
693
+ fontFamily: AppFonts.interRegular,
717
694
  fontSize: 11,
718
695
  color: AppColors.primaryBlack,
719
696
  lineHeight: 16,
@@ -778,7 +755,7 @@ const styles = StyleSheet.create({
778
755
  color: AppColors.purple,
779
756
  },
780
757
  connectGuideCode: {
781
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
758
+ fontFamily: AppFonts.interRegular,
782
759
  fontSize: 10,
783
760
  color: AppColors.grayText,
784
761
  lineHeight: 15,
@@ -843,7 +820,7 @@ const styles = StyleSheet.create({
843
820
  textAreaInput: {
844
821
  minHeight: 90,
845
822
  maxHeight: 160,
846
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
823
+ fontFamily: AppFonts.interRegular,
847
824
  fontSize: 11,
848
825
  },
849
826
  typeSelectorStrip: {
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
- import { Animated, Platform, ScrollView, Text, View, } from 'react-native';
2
+ import { Platform, ScrollView, Text, View, } from 'react-native';
3
3
  import { useInspector } from './InspectorContext';
4
4
  import styles from '../../styles';
5
5
  import { AppColors } from '../../styles/AppColors';
6
+ import { AppFonts } from '../../styles/AppFonts';
6
7
  import TouchableScale from '../TouchableScale';
7
8
  import { SignalIcon, TerminalIcon, AnalyticsIcon, PackageIcon, ReduxIcon, PerformanceIcon, CrashIcon, SmartphoneIcon, DatabaseIcon, QrCodeIcon, } from '../NetworkIcons';
8
9
  import { isReduxConnected } from '../../customHooks/reduxLogger';
@@ -16,60 +17,70 @@ const TabBar = React.memo(() => {
16
17
  <ScrollView horizontal showsHorizontalScrollIndicator={false} contentContainerStyle={{ paddingRight: 16 }}>
17
18
  {[
18
19
  {
20
+ id: 1,
19
21
  key: 'apis',
20
22
  label: 'APIs',
21
23
  count: logs.length,
22
24
  icon: 'apis',
23
25
  },
24
26
  {
27
+ id: 2,
25
28
  key: 'logs',
26
29
  label: 'Logs',
27
30
  count: consoleLogs.length,
28
31
  icon: 'logs',
29
32
  },
30
33
  {
34
+ id: 3,
31
35
  key: 'analytics',
32
36
  label: 'Analytics',
33
37
  count: analyticsEvents.length,
34
38
  icon: 'analytics',
35
39
  },
36
40
  {
41
+ id: 4,
37
42
  key: 'redux',
38
43
  label: 'Redux',
39
44
  count: 0,
40
45
  icon: 'redux',
41
46
  },
42
47
  {
43
- key: 'bundle',
44
- label: 'Bundle',
48
+ id: 5,
49
+ key: 'storage',
50
+ label: 'Storage',
45
51
  count: 0,
46
- icon: 'bundle',
52
+ icon: 'storage',
47
53
  },
48
54
  {
49
- key: 'performance',
50
- label: 'Performance',
55
+ id: 6,
56
+ key: 'device',
57
+ label: 'Device',
51
58
  count: 0,
52
- icon: 'performance',
59
+ icon: 'device',
53
60
  },
54
61
  {
62
+ id: 7,
55
63
  key: 'crash',
56
64
  label: 'Crash',
57
65
  count: crashRecords?.length || 0,
58
66
  icon: 'crash',
59
67
  },
60
68
  {
61
- key: 'device',
62
- label: 'Device',
69
+ id: 8,
70
+ key: 'bundle',
71
+ label: 'Bundle',
63
72
  count: 0,
64
- icon: 'device',
73
+ icon: 'bundle',
65
74
  },
66
75
  {
67
- key: 'storage',
68
- label: 'Storage',
76
+ id: 9,
77
+ key: 'performance',
78
+ label: 'Performance',
69
79
  count: 0,
70
- icon: 'storage',
80
+ icon: 'performance',
71
81
  },
72
82
  {
83
+ id: 10,
73
84
  key: 'debugging',
74
85
  label: 'Debugging',
75
86
  count: 0,
@@ -98,10 +109,8 @@ const TabBar = React.memo(() => {
98
109
  ? AppColors.errorColor
99
110
  : AppColors.grayText;
100
111
  const countLabel = tab.count > 9 ? '9+' : String(tab.count);
101
- const hasUnreadApis = activeTab !== 'apis' &&
102
- logs.length > lastReadApisCount;
103
- const hasUnreadLogs = activeTab !== 'logs' &&
104
- consoleLogs.length > lastReadLogsCount;
112
+ const hasUnreadApis = activeTab !== 'apis' && logs.length > lastReadApisCount;
113
+ const hasUnreadLogs = activeTab !== 'logs' && consoleLogs.length > lastReadLogsCount;
105
114
  const hasUnreadCrashes = activeTab !== 'crash' &&
106
115
  (crashRecords?.length || 0) > (lastReadCrashesCount || 0);
107
116
  return (<TouchableScale key={tab.key} onPress={() => {
@@ -119,30 +128,51 @@ const TabBar = React.memo(() => {
119
128
  {tab.icon === 'logs' && (<TerminalIcon color={iconColor} size={14}/>)}
120
129
  {tab.icon === 'analytics' && (<AnalyticsIcon color={iconColor} size={14}/>)}
121
130
  {tab.icon === 'redux' && (<ReduxIcon color={iconColor} size={14}/>)}
131
+ {tab.icon === 'storage' && (<DatabaseIcon color={iconColor} size={14}/>)}
132
+ {tab.icon === 'device' && (<SmartphoneIcon color={iconColor} size={14}/>)}
133
+ {tab.icon === 'crash' && (<CrashIcon color={iconColor} size={14}/>)}
122
134
  {tab.icon === 'bundle' && (<PackageIcon color={iconColor} size={14}/>)}
123
135
  {tab.icon === 'performance' && (<PerformanceIcon color={iconColor} size={14}/>)}
124
- {tab.icon === 'crash' && (<CrashIcon color={iconColor} size={14}/>)}
125
- {tab.icon === 'device' && (<SmartphoneIcon color={iconColor} size={14}/>)}
126
- {tab.icon === 'storage' && (<DatabaseIcon color={iconColor} size={14}/>)}
127
136
  {tab.icon === 'debugging' && (<QrCodeIcon color={iconColor} size={14}/>)}
137
+ <View style={{
138
+ minWidth: 20,
139
+ height: 20,
140
+ paddingHorizontal: 4,
141
+ borderRadius: 10,
142
+ backgroundColor: isActive
143
+ ? `${AppColors.white}33`
144
+ : `${AppColors.purple}1F`,
145
+ borderWidth: 1,
146
+ borderColor: isActive
147
+ ? `${AppColors.white}66`
148
+ : `${AppColors.purple}40`,
149
+ alignItems: 'center',
150
+ justifyContent: 'center',
151
+ }}>
152
+ <Text style={{
153
+ fontFamily: AppFonts.interBold,
154
+ fontSize: 9.5,
155
+ lineHeight: 12,
156
+ color: isActive ? AppColors.white : AppColors.purple,
157
+ }}>
158
+ #{tab.id}
159
+ </Text>
160
+ </View>
128
161
  <Text numberOfLines={1} ellipsizeMode="tail" style={[
129
162
  styles.contentTabButtonText,
130
- isActive &&
131
- styles.contentTabButtonTextActive,
163
+ isActive && styles.contentTabButtonTextActive,
132
164
  ]}>
133
- {tab.label}{' '}
134
- {tab.count > 0 ? `(${countLabel})` : ''}
165
+ {tab.label} {tab.count > 0 ? `(${countLabel})` : ''}
135
166
  </Text>
136
167
  {((tab.key === 'apis' && hasUnreadApis) ||
137
168
  (tab.key === 'logs' && hasUnreadLogs) ||
138
- (tab.key === 'crash' && hasUnreadCrashes)) && (<Animated.View style={{
169
+ (tab.key === 'crash' && hasUnreadCrashes)) && (<View style={{
139
170
  width: 6,
140
171
  height: 6,
141
172
  borderRadius: 3,
142
173
  backgroundColor: AppColors.errorColor,
143
174
  marginLeft: 4,
144
175
  alignSelf: 'center',
145
- transform: [{ scale: unreadPulseAnim }],
146
176
  }}/>)}
147
177
  </View>
148
178
  </TouchableScale>);
@@ -1,11 +1,12 @@
1
1
  import React, { useState, useEffect } from 'react';
2
- import { Modal, View, Text, TouchableOpacity, StyleSheet, Animated, Platform, Linking, } from 'react-native';
2
+ import { Modal, View, Text, TouchableOpacity, StyleSheet, Animated, Linking, } from 'react-native';
3
3
  import Svg, { Path } from 'react-native-svg';
4
4
  import { BrandSquareIcon } from '../BrandSquareIcon';
5
5
  import { NpmIcon } from '../NetworkIcons';
6
6
  import { LIB_VERSION } from '../../constants';
7
7
  import { copyToClipboard } from '../../helpers';
8
8
  import { showToast } from '../../helpers/toast';
9
+ import { AppFonts } from '../../styles/AppFonts';
9
10
  const CopySvg = ({ size = 14, color = '#64748B' }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
10
11
  <Path d="M8 4v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-8a2 2 0 0 0-2 2z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
11
12
  <Path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
@@ -168,15 +169,9 @@ export const UpdateAvailableModal = ({ visible, latestVersion, onClose, }) => {
168
169
  </View>
169
170
  </Modal>);
170
171
  };
171
- const fontStack = Platform.select({
172
- ios: {
173
- fontFamily: 'System',
174
- },
175
- android: {
176
- fontFamily: 'sans-serif',
177
- },
178
- default: {},
179
- });
172
+ const fontStack = {
173
+ fontFamily: AppFonts.interRegular,
174
+ };
180
175
  const styles = StyleSheet.create({
181
176
  overlay: {
182
177
  flex: 1,
@@ -377,7 +372,7 @@ const styles = StyleSheet.create({
377
372
  commandText: {
378
373
  flex: 1,
379
374
  fontSize: 11,
380
- fontFamily: Platform.OS === 'ios' ? 'Courier' : 'monospace',
375
+ fontFamily: AppFonts.interRegular,
381
376
  color: '#38BDF8',
382
377
  },
383
378
  copyIconWrapper: {
@@ -168,25 +168,23 @@ const JsonViewer = React.memo(({ data, search, forceOpen, defaultExpandDepth = 1
168
168
  {t('network.jsonViewer.emptyPayload')}
169
169
  </Text>
170
170
  </View>) : (wrap ? (fullHeight ? (<ScrollView style={{ flex: 1 }} contentContainerStyle={{ flexGrow: 1 }}>
171
- <View style={[styles.codeBlock, { width: '100%' }]}>{tree}</View>
172
- </ScrollView>) : (<ScrollView style={scrollStyle} contentContainerStyle={{ flexGrow: 1 }}>
173
- <View style={[styles.codeBlock, { width: '100%' }]}>{tree}</View>
174
- </ScrollView>)) : (fullHeight ? (<ScrollView style={{ flex: 1 }} contentContainerStyle={{ flexGrow: 1 }}>
175
- <View style={styles.codeBlock}>{tree}</View>
176
- </ScrollView>) : (<ScrollView style={scrollStyle}>
177
- <ScrollView horizontal showsHorizontalScrollIndicator={true} style={styles.codeBlockScroll}>
171
+ <View style={[styles.codeBlock, { width: '100%' }]}>{tree}</View>
172
+ </ScrollView>) : (<View style={[styles.codeBlock, { width: '100%' }]}>{tree}</View>)) : (fullHeight ? (<ScrollView style={{ flex: 1 }} contentContainerStyle={{ flexGrow: 1 }}>
173
+ <ScrollView horizontal showsHorizontalScrollIndicator={true} style={styles.codeBlockScroll}>
174
+ <View style={styles.codeBlock}>{tree}</View>
175
+ </ScrollView>
176
+ </ScrollView>) : (<ScrollView horizontal showsHorizontalScrollIndicator={true} style={styles.codeBlockScroll}>
178
177
  <View style={styles.codeBlock}>{tree}</View>
179
- </ScrollView>
180
- </ScrollView>))))}
178
+ </ScrollView>))))}
181
179
 
182
- {mode === 'raw' && (<ScrollView style={scrollStyle} contentContainerStyle={localStyles.rawContainer} showsVerticalScrollIndicator={true} nestedScrollEnabled={true}>
183
- <HighlightText text={displayRawText} search={search} detectLinks={rawText.length < 20000} style={localStyles.rawPlainText} selectable={true} highlightStyle={{
180
+ {mode === 'raw' && (fullHeight ? (<ScrollView style={{ flex: 1 }} contentContainerStyle={localStyles.rawContainer} showsVerticalScrollIndicator={true}>
181
+ <HighlightText text={displayRawText} search={search} detectLinks={rawText.length < 20000} style={localStyles.rawPlainText} selectable={true} highlightStyle={{
184
182
  backgroundColor: AppColors.yellowHighlight,
185
183
  color: AppColors.primaryBlack,
186
184
  borderRadius: 3,
187
185
  paddingHorizontal: 2,
188
186
  }}/>
189
- {isTruncated && (<TouchableOpacity onPress={() => setShowFullRaw(true)} style={{
187
+ {isTruncated && (<TouchableOpacity onPress={() => setShowFullRaw(true)} style={{
190
188
  marginTop: 10,
191
189
  backgroundColor: `${AppColors.brandPurple}15`,
192
190
  paddingVertical: 8,
@@ -196,21 +194,46 @@ const JsonViewer = React.memo(({ data, search, forceOpen, defaultExpandDepth = 1
196
194
  borderWidth: 1,
197
195
  borderColor: `${AppColors.brandPurple}30`,
198
196
  }}>
199
- <Text style={{
197
+ <Text style={{
200
198
  fontFamily: AppFonts.interBold,
201
199
  fontSize: 11,
202
200
  color: AppColors.brandPurple,
203
201
  }}>
204
- Showing first 50 KB ({Math.round(rawText.length / 1024)} KB total) · Tap to load full
205
- </Text>
206
- </TouchableOpacity>)}
207
- </ScrollView>)}
202
+ Showing first 50 KB ({Math.round(rawText.length / 1024)} KB total) · Tap to load full
203
+ </Text>
204
+ </TouchableOpacity>)}
205
+ </ScrollView>) : (<View style={localStyles.rawContainer}>
206
+ <HighlightText text={displayRawText} search={search} detectLinks={rawText.length < 20000} style={localStyles.rawPlainText} selectable={true} highlightStyle={{
207
+ backgroundColor: AppColors.yellowHighlight,
208
+ color: AppColors.primaryBlack,
209
+ borderRadius: 3,
210
+ paddingHorizontal: 2,
211
+ }}/>
212
+ {isTruncated && (<TouchableOpacity onPress={() => setShowFullRaw(true)} style={{
213
+ marginTop: 10,
214
+ backgroundColor: `${AppColors.brandPurple}15`,
215
+ paddingVertical: 8,
216
+ paddingHorizontal: 12,
217
+ borderRadius: 6,
218
+ alignItems: 'center',
219
+ borderWidth: 1,
220
+ borderColor: `${AppColors.brandPurple}30`,
221
+ }}>
222
+ <Text style={{
223
+ fontFamily: AppFonts.interBold,
224
+ fontSize: 11,
225
+ color: AppColors.brandPurple,
226
+ }}>
227
+ Showing first 50 KB ({Math.round(rawText.length / 1024)} KB total) · Tap to load full
228
+ </Text>
229
+ </TouchableOpacity>)}
230
+ </View>))}
208
231
 
209
- {mode === 'table' && (fullHeight ? (<ScrollView style={scrollStyle}>
232
+ {mode === 'table' && (fullHeight ? (<ScrollView style={{ flex: 1 }}>
210
233
  {renderTableMode()}
211
- </ScrollView>) : (<ScrollView style={scrollStyle}>
234
+ </ScrollView>) : (<View style={localStyles.tableView}>
212
235
  {renderTableMode()}
213
- </ScrollView>))}
236
+ </View>))}
214
237
  </View>
215
238
  </View>);
216
239
  });
@@ -63,7 +63,7 @@ const LogCard = React.memo(function LogCard({ item, onPress, timelineMinStart, t
63
63
  Animated.timing(shimmerOpacity, {
64
64
  toValue: 0,
65
65
  duration: 1200,
66
- useNativeDriver: true,
66
+ useNativeDriver: false,
67
67
  }).start();
68
68
  }
69
69
  }, [isNew]);
@@ -321,10 +321,10 @@ const LogCard = React.memo(function LogCard({ item, onPress, timelineMinStart, t
321
321
  </View>)}
322
322
  </View>
323
323
 
324
- <Animated.View pointerEvents="none" style={[
325
- StyleSheet.absoluteFill,
326
- { backgroundColor: methodColor, opacity: shimmerOpacity },
327
- ]}/>
324
+ {isNew && (<Animated.View pointerEvents="none" style={[
325
+ StyleSheet.absoluteFill,
326
+ { backgroundColor: methodColor, opacity: shimmerOpacity },
327
+ ]}/>)}
328
328
  </TouchableScale>
329
329
  </View>);
330
330
  });
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
2
  import { useTranslation } from '../i18n';
3
- import { View, Pressable, Text, Animated } from 'react-native';
3
+ import { View, Pressable, Text } from 'react-native';
4
4
  import { DURATION_FAST_MS, DURATION_SLOW_MS } from '../constants';
5
5
  import useAccordion from '../customHooks/useAccordion';
6
6
  import { getDurationColor, handleOpenExternalLink } from '../helpers';
@@ -13,7 +13,7 @@ import styles from '../styles';
13
13
  const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, method, contentType, url, }) => {
14
14
  const { t } = useTranslation();
15
15
  const [urlExpanded, setUrlExpanded] = useState(false);
16
- const { toggleOpen, chevronStyle, bodyStyle } = useAccordion(true, 800, 390);
16
+ const { isOpen, toggleOpen, chevronStyle } = useAccordion(true);
17
17
  const isFailed = status === 0 || status == null;
18
18
  const renderFormattedUrl = (rawUrl) => {
19
19
  if (!rawUrl)
@@ -65,24 +65,23 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
65
65
  contentType: contentType || 'application/json',
66
66
  url: url || '',
67
67
  }} label="Metadata"/>
68
- <Animated.View style={chevronStyle}>
68
+ <View style={chevronStyle}>
69
69
  <ChevronIcon color={AppColors.grayTextWeak} size={14}/>
70
- </Animated.View>
70
+ </View>
71
71
  </View>
72
72
  </View>
73
73
  </Pressable>
74
74
 
75
- <Animated.View style={bodyStyle}>
76
- <View style={styles.metaBody}>
75
+ {isOpen && (<View style={styles.metaBody}>
77
76
  <View style={styles.metaRow}>
78
77
  <View style={styles.metaLabelRow}>
79
78
  <CalendarIcon color={AppColors.grayTextWeak} size={14}/>
80
79
  <Text style={styles.metaLabel}>{t('network.triggeredAt')}</Text>
81
80
  </View>
82
81
  <Text style={[
83
- styles.metaValue,
84
- { color: AppColors.purple, fontSize: 12 },
85
- ]}>
82
+ styles.metaValue,
83
+ { color: AppColors.purple, fontSize: 12 },
84
+ ]}>
86
85
  {triggeredAt}
87
86
  </Text>
88
87
  </View>
@@ -94,16 +93,16 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
94
93
  <Text style={styles.metaLabel}>{t('network.methodHeader')}</Text>
95
94
  </View>
96
95
  <View style={[
97
- styles.statusChip,
98
- {
99
- borderColor: `${AppColors.brandPurple}40`,
100
- backgroundColor: `${AppColors.brandPurple}14`,
101
- },
102
- ]}>
96
+ styles.statusChip,
97
+ {
98
+ borderColor: `${AppColors.brandPurple}40`,
99
+ backgroundColor: `${AppColors.brandPurple}14`,
100
+ },
101
+ ]}>
103
102
  <Text style={[
104
- styles.statusText,
105
- { color: AppColors.purple, fontFamily: AppFonts.interBold },
106
- ]}>
103
+ styles.statusText,
104
+ { color: AppColors.purple, fontFamily: AppFonts.interBold },
105
+ ]}>
107
106
  {method || 'GET'}
108
107
  </Text>
109
108
  </View>
@@ -116,20 +115,20 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
116
115
  <Text style={styles.metaLabel}>{t('network.statusHeader')}</Text>
117
116
  </View>
118
117
  <View style={[
119
- styles.statusChip,
120
- {
121
- borderColor: isFailed
122
- ? `${AppColors.errorColor}40`
123
- : `${statusColor}40`,
124
- backgroundColor: isFailed
125
- ? `${AppColors.errorColor}15`
126
- : `${statusColor}15`,
127
- },
128
- ]}>
118
+ styles.statusChip,
119
+ {
120
+ borderColor: isFailed
121
+ ? `${AppColors.errorColor}40`
122
+ : `${statusColor}40`,
123
+ backgroundColor: isFailed
124
+ ? `${AppColors.errorColor}15`
125
+ : `${statusColor}15`,
126
+ },
127
+ ]}>
129
128
  <Text style={[
130
- styles.statusText,
131
- { color: isFailed ? AppColors.errorColor : statusColor },
132
- ]}>
129
+ styles.statusText,
130
+ { color: isFailed ? AppColors.errorColor : statusColor },
131
+ ]}>
133
132
  {isFailed ? t('network.failedNetworkError') : String(status)}
134
133
  </Text>
135
134
  </View>
@@ -154,21 +153,21 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
154
153
  </View>
155
154
  <View style={styles.metaValueRow}>
156
155
  {duration != null && !isFailed && (<View style={[
157
- styles.perfBadge,
158
- {
159
- backgroundColor: `${getDurationColor(duration)}15`,
160
- borderColor: `${getDurationColor(duration)}40`,
161
- },
162
- ]}>
156
+ styles.perfBadge,
157
+ {
158
+ backgroundColor: `${getDurationColor(duration)}15`,
159
+ borderColor: `${getDurationColor(duration)}40`,
160
+ },
161
+ ]}>
163
162
  <Text style={[
164
- styles.perfBadgeText,
165
- { color: getDurationColor(duration) },
166
- ]}>
163
+ styles.perfBadgeText,
164
+ { color: getDurationColor(duration) },
165
+ ]}>
167
166
  {duration < DURATION_FAST_MS
168
- ? t('network.perf.fast')
169
- : duration < DURATION_SLOW_MS
170
- ? t('network.perf.moderate')
171
- : t('network.perf.slow')}
167
+ ? t('network.perf.fast')
168
+ : duration < DURATION_SLOW_MS
169
+ ? t('network.perf.moderate')
170
+ : t('network.perf.slow')}
172
171
  </Text>
173
172
  </View>)}
174
173
  <Text style={styles.metaValue}>
@@ -185,25 +184,25 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
185
184
  </Text>
186
185
  <Text style={{ fontFamily: AppFonts.interMedium, fontSize: 10.5, color: getDurationColor(duration) }}>
187
186
  {duration < DURATION_FAST_MS
188
- ? t('network.perf.fast')
189
- : duration < DURATION_SLOW_MS
190
- ? t('network.perf.moderate')
191
- : t('network.perf.slow')}
187
+ ? t('network.perf.fast')
188
+ : duration < DURATION_SLOW_MS
189
+ ? t('network.perf.moderate')
190
+ : t('network.perf.slow')}
192
191
  </Text>
193
192
  </View>
194
193
 
195
194
  <View style={{
196
- height: 6,
197
- backgroundColor: AppColors.grayBorderSecondary,
198
- borderRadius: 3,
199
- overflow: 'hidden',
200
- }}>
195
+ height: 6,
196
+ backgroundColor: AppColors.grayBorderSecondary,
197
+ borderRadius: 3,
198
+ overflow: 'hidden',
199
+ }}>
201
200
  <View style={{
202
- height: '100%',
203
- width: `${Math.min(100, Math.max(8, (duration / 1200) * 100))}%`,
204
- backgroundColor: getDurationColor(duration),
205
- borderRadius: 3,
206
- }}/>
201
+ height: '100%',
202
+ width: `${Math.min(100, Math.max(8, (duration / 1200) * 100))}%`,
203
+ backgroundColor: getDurationColor(duration),
204
+ borderRadius: 3,
205
+ }}/>
207
206
  </View>
208
207
 
209
208
  <View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', marginTop: 1 }}>
@@ -239,21 +238,21 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
239
238
  <View style={{ flexDirection: 'row', alignItems: 'center', gap: 10 }}>
240
239
  {url && url.length > 50 && (<TouchableScale onPress={() => setUrlExpanded(prev => !prev)} hitSlop={8}>
241
240
  <Text style={{
242
- fontFamily: AppFonts.interBold,
243
- fontSize: 10.5,
244
- color: AppColors.purple,
245
- }}>
241
+ fontFamily: AppFonts.interBold,
242
+ fontSize: 10.5,
243
+ color: AppColors.purple,
244
+ }}>
246
245
  {urlExpanded ? t('network.showLess') : t('network.showMore')}
247
246
  </Text>
248
247
  </TouchableScale>)}
249
248
 
250
249
  {url && (<TouchableScale onPress={() => handleOpenExternalLink(url)} hitSlop={8}>
251
250
  <Text style={{
252
- fontFamily: AppFonts.interBold,
253
- fontSize: 10.5,
254
- color: AppColors.purple,
255
- textDecorationLine: 'underline',
256
- }}>
251
+ fontFamily: AppFonts.interBold,
252
+ fontSize: 10.5,
253
+ color: AppColors.purple,
254
+ textDecorationLine: 'underline',
255
+ }}>
257
256
  {t('network.open')}
258
257
  </Text>
259
258
  </TouchableScale>)}
@@ -261,25 +260,24 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
261
260
  </View>
262
261
 
263
262
  <View style={{
264
- backgroundColor: AppColors.slate50,
265
- borderRadius: 8,
266
- padding: 8,
267
- borderWidth: 1.5,
268
- borderColor: AppColors.slate200,
269
- width: '100%',
270
- marginTop: 2,
271
- }}>
263
+ backgroundColor: AppColors.slate50,
264
+ borderRadius: 8,
265
+ padding: 8,
266
+ borderWidth: 1.5,
267
+ borderColor: AppColors.slate200,
268
+ width: '100%',
269
+ marginTop: 2,
270
+ }}>
272
271
  <Text selectable={true} numberOfLines={urlExpanded ? undefined : 2} ellipsizeMode="tail" style={{
273
- fontSize: 11,
274
- textAlign: 'left',
275
- lineHeight: 16.5,
276
- }}>
272
+ fontSize: 11,
273
+ textAlign: 'left',
274
+ lineHeight: 16.5,
275
+ }}>
277
276
  {renderFormattedUrl(url)}
278
277
  </Text>
279
278
  </View>
280
279
  </View>
281
- </View>
282
- </Animated.View>
280
+ </View>)}
283
281
  </View>);
284
282
  };
285
283
  export default MetaAccordion;