react-native-inapp-inspector 2.3.13 → 2.3.15

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 (284) hide show
  1. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  2. package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
  3. package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
  4. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  5. package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
  6. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  7. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  8. package/android/.gradle/8.9/gc.properties +0 -0
  9. package/android/.gradle/9.2.0/checksums/checksums.lock +0 -0
  10. package/android/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
  11. package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
  12. package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
  13. package/android/.gradle/9.2.0/gc.properties +0 -0
  14. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  15. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  16. package/android/.gradle/vcs-1/gc.properties +0 -0
  17. package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/results.bin +1 -0
  18. package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/transformed/classes/classes_dex/classes.dex +0 -0
  19. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/results.bin +1 -0
  20. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/BuildConfig.dex +0 -0
  21. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView$iconView$1.dex +0 -0
  22. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView.dex +0 -0
  23. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NativeNetworkInspectorSpec.dex +0 -0
  24. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$Companion.dex +0 -0
  25. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$frameCallback$1.dex +0 -0
  26. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$shakeListener$1.dex +0 -0
  27. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule.dex +0 -0
  28. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorPackage.dex +0 -0
  29. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  30. package/android/build/generated/source/buildConfig/debug/com/inappinspector/BuildConfig.java +10 -0
  31. package/android/build/generated/source/codegen/java/com/inappinspector/NativeNetworkInspectorSpec.java +104 -0
  32. package/android/build/generated/source/codegen/jni/CMakeLists.txt +28 -0
  33. package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +128 -0
  34. package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec.h +31 -0
  35. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.cpp +22 -0
  36. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.h +24 -0
  37. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.cpp +16 -0
  38. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.h +17 -0
  39. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.cpp +19 -0
  40. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.h +18 -0
  41. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/RNInAppInspectorSpecJSI.h +177 -0
  42. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.cpp +17 -0
  43. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.h +23 -0
  44. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.cpp +16 -0
  45. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.h +20 -0
  46. package/android/build/generated/source/codegen/schema.json +1 -0
  47. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +7 -0
  48. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  49. package/android/build/intermediates/aar_main_jar/debug/syncDebugLibJars/classes.jar +0 -0
  50. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  51. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  52. package/android/build/intermediates/annotations_typedef_file/debug/extractDebugAnnotations/typedefs.txt +0 -0
  53. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  54. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  55. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
  56. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
  57. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  58. package/android/build/intermediates/incremental/debug-mergeJavaRes/merge-state +0 -0
  59. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  60. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  61. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
  62. package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  63. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/BuildConfig.class +0 -0
  64. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
  65. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
  66. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +7 -0
  67. package/android/build/intermediates/merged_java_res/debug/mergeDebugJavaResource/feature-react-native-inapp-inspector.jar +0 -0
  68. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +7 -0
  69. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  70. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  71. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  72. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/BuildConfig.class +0 -0
  73. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
  74. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
  75. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
  76. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
  77. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
  78. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
  79. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule.class +0 -0
  80. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorPackage.class +0 -0
  81. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  82. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
  83. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  84. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  85. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  86. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  87. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  88. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  89. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  90. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  91. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  92. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  93. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  94. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  95. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  96. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  97. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  98. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  99. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  100. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  101. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  102. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  103. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  104. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  105. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  106. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  107. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  108. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  109. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  110. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  111. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  112. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  113. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  114. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  115. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  116. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  117. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  118. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  119. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  120. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  121. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  122. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  123. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  124. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  125. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  126. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  127. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  128. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  129. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  130. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  131. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  132. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  133. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  134. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  135. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  136. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  137. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  138. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  139. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  140. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  141. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  142. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  143. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  144. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  145. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  146. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
  147. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  148. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  149. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  150. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  151. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  152. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  153. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  154. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  155. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  156. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  157. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  158. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  159. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  160. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  161. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  162. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  163. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  164. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  165. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  166. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  167. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  168. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  169. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  170. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  171. package/android/build/outputs/aar/react-native-inapp-inspector-debug.aar +0 -0
  172. package/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
  173. package/android/build/reports/problems/problems-report.html +659 -0
  174. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  175. package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  176. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
  177. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
  178. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
  179. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
  180. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
  181. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule.class +0 -0
  182. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorPackage.class +0 -0
  183. package/bin/cli.js +6 -0
  184. package/dist/commonjs/components/AnimatedEntrance.js +3 -3
  185. package/dist/commonjs/components/ConsoleLogCard.js +174 -100
  186. package/dist/commonjs/components/Inspector/ConsoleTab.js +25 -16
  187. package/dist/commonjs/components/Inspector/CrashTab.js +19 -5
  188. package/dist/commonjs/components/Inspector/DebuggingTab.js +741 -438
  189. package/dist/commonjs/components/Inspector/DeviceInfoTab.js +198 -98
  190. package/dist/commonjs/components/Inspector/InspectorHeader.js +2 -2
  191. package/dist/commonjs/components/Inspector/MainScreen.js +58 -55
  192. package/dist/commonjs/components/Inspector/NetworkTab.js +1 -335
  193. package/dist/commonjs/components/Inspector/PerformanceTab.js +32 -6
  194. package/dist/commonjs/components/Inspector/ReduxTab.js +3 -1
  195. package/dist/commonjs/components/Inspector/SettingsPanel.js +6 -4
  196. package/dist/commonjs/components/Inspector/StorageTab.js +23 -5
  197. package/dist/commonjs/components/Inspector/TabBar.js +6 -2
  198. package/dist/commonjs/components/JsonViewer.js +14 -2
  199. package/dist/commonjs/components/LogCard.js +428 -227
  200. package/dist/commonjs/components/QRCodeView.js +1 -1
  201. package/dist/commonjs/constants/telemetryConfig.d.ts +3 -3
  202. package/dist/commonjs/constants/telemetryConfig.js +3 -3
  203. package/dist/commonjs/constants/version.d.ts +1 -1
  204. package/dist/commonjs/constants/version.js +1 -1
  205. package/dist/commonjs/customHooks/analyticsLogger.js +1 -1
  206. package/dist/commonjs/customHooks/consoleLogger.js +34 -2
  207. package/dist/commonjs/customHooks/crashHandler.js +1 -1
  208. package/dist/commonjs/customHooks/networkLogger.js +184 -26
  209. package/dist/commonjs/helpers/index.d.ts +1 -0
  210. package/dist/commonjs/helpers/index.js +11 -1
  211. package/dist/commonjs/helpers/qrGenerator.d.ts +1 -0
  212. package/dist/commonjs/helpers/qrGenerator.js +356 -33
  213. package/dist/commonjs/helpers/searchQueryParser.d.ts +1 -1
  214. package/dist/commonjs/helpers/searchQueryParser.js +37 -291
  215. package/dist/commonjs/index.d.ts +1 -0
  216. package/dist/commonjs/index.js +146 -30
  217. package/dist/commonjs/metro.d.ts +25 -0
  218. package/dist/commonjs/metro.js +478 -0
  219. package/dist/esm/components/AnimatedEntrance.js +3 -3
  220. package/dist/esm/components/ConsoleLogCard.js +141 -100
  221. package/dist/esm/components/Inspector/ConsoleTab.js +25 -16
  222. package/dist/esm/components/Inspector/CrashTab.js +19 -5
  223. package/dist/esm/components/Inspector/DebuggingTab.js +744 -441
  224. package/dist/esm/components/Inspector/DeviceInfoTab.js +198 -98
  225. package/dist/esm/components/Inspector/InspectorHeader.js +3 -3
  226. package/dist/esm/components/Inspector/MainScreen.js +58 -55
  227. package/dist/esm/components/Inspector/NetworkTab.js +2 -336
  228. package/dist/esm/components/Inspector/PerformanceTab.js +32 -6
  229. package/dist/esm/components/Inspector/ReduxTab.js +3 -1
  230. package/dist/esm/components/Inspector/SettingsPanel.js +7 -5
  231. package/dist/esm/components/Inspector/StorageTab.js +23 -5
  232. package/dist/esm/components/Inspector/TabBar.js +7 -3
  233. package/dist/esm/components/JsonViewer.js +14 -2
  234. package/dist/esm/components/LogCard.js +422 -221
  235. package/dist/esm/components/QRCodeView.js +1 -1
  236. package/dist/esm/constants/telemetryConfig.d.ts +3 -3
  237. package/dist/esm/constants/telemetryConfig.js +3 -3
  238. package/dist/esm/constants/version.d.ts +1 -1
  239. package/dist/esm/constants/version.js +1 -1
  240. package/dist/esm/customHooks/analyticsLogger.js +1 -1
  241. package/dist/esm/customHooks/consoleLogger.js +34 -2
  242. package/dist/esm/customHooks/crashHandler.js +1 -1
  243. package/dist/esm/customHooks/networkLogger.js +184 -26
  244. package/dist/esm/helpers/index.d.ts +1 -0
  245. package/dist/esm/helpers/index.js +9 -0
  246. package/dist/esm/helpers/qrGenerator.d.ts +1 -0
  247. package/dist/esm/helpers/qrGenerator.js +356 -30
  248. package/dist/esm/helpers/searchQueryParser.d.ts +1 -1
  249. package/dist/esm/helpers/searchQueryParser.js +37 -291
  250. package/dist/esm/index.d.ts +1 -0
  251. package/dist/esm/index.js +144 -29
  252. package/dist/esm/metro.d.ts +25 -0
  253. package/dist/esm/metro.js +469 -0
  254. package/metro.d.ts +1 -0
  255. package/metro.js +1 -0
  256. package/package.json +16 -5
  257. package/src/components/AnimatedEntrance.tsx +3 -3
  258. package/src/components/ConsoleLogCard.tsx +154 -103
  259. package/src/components/Inspector/ConsoleTab.tsx +27 -18
  260. package/src/components/Inspector/CrashTab.tsx +19 -5
  261. package/src/components/Inspector/DebuggingTab.tsx +842 -514
  262. package/src/components/Inspector/DeviceInfoTab.tsx +224 -102
  263. package/src/components/Inspector/InspectorHeader.tsx +5 -3
  264. package/src/components/Inspector/MainScreen.tsx +6 -4
  265. package/src/components/Inspector/NetworkTab.tsx +1 -402
  266. package/src/components/Inspector/PerformanceTab.tsx +36 -7
  267. package/src/components/Inspector/ReduxTab.tsx +9 -1
  268. package/src/components/Inspector/SettingsPanel.tsx +85 -75
  269. package/src/components/Inspector/StorageTab.tsx +27 -7
  270. package/src/components/Inspector/TabBar.tsx +16 -2
  271. package/src/components/JsonViewer.tsx +15 -2
  272. package/src/components/LogCard.tsx +528 -339
  273. package/src/components/QRCodeView.tsx +2 -2
  274. package/src/constants/telemetryConfig.ts +5 -3
  275. package/src/constants/version.ts +1 -1
  276. package/src/customHooks/analyticsLogger.ts +1 -1
  277. package/src/customHooks/consoleLogger.ts +36 -3
  278. package/src/customHooks/crashHandler.ts +1 -1
  279. package/src/customHooks/networkLogger.ts +214 -26
  280. package/src/helpers/index.ts +15 -0
  281. package/src/helpers/qrGenerator.ts +418 -37
  282. package/src/helpers/searchQueryParser.ts +40 -285
  283. package/src/index.tsx +337 -214
  284. package/src/metro.ts +598 -0
@@ -1,5 +1,5 @@
1
1
  import {Method} from '../types';
2
- import React, {useEffect, useRef} from 'react';
2
+ import React, {useEffect, useRef, useMemo} from 'react';
3
3
  import {
4
4
  Alert,
5
5
  Animated,
@@ -17,6 +17,8 @@ import {
17
17
  getDurationColor,
18
18
  formatDateTime,
19
19
  getSize,
20
+ getPath,
21
+ getBaseUrl,
20
22
  } from '../helpers';
21
23
  import {
22
24
  CalendarIcon,
@@ -30,7 +32,6 @@ import {
30
32
  PinIcon,
31
33
  } from './NetworkIcons';
32
34
  import {AppFonts} from '../styles/AppFonts';
33
- import styles from '../styles';
34
35
  import {LogCardProps} from '../types';
35
36
  import HighlightText from './HighlightText';
36
37
  import TouchableScale from './TouchableScale';
@@ -49,6 +50,21 @@ const LogCard = React.memo(function LogCard({
49
50
  const {t} = useTranslation();
50
51
  const methodColor = METHOD_COLORS[item.method as Method] ?? METHOD_COLORS.ALL;
51
52
 
53
+ const urlParsed = useMemo(() => {
54
+ try {
55
+ const u = new URL(item.url);
56
+ const host = u.host;
57
+ const path = u.pathname + (u.search ? u.search : '');
58
+ const isHttps = u.protocol === 'https:';
59
+ return {host, path: path || '/', isHttps};
60
+ } catch {
61
+ const isHttps = item.url.toLowerCase().startsWith('https:');
62
+ const path = getPath(item.url);
63
+ const host = getBaseUrl(item.url).replace(/^https?:\/\//, '');
64
+ return {host, path: path || item.url, isHttps};
65
+ }
66
+ }, [item.url]);
67
+
52
68
  const handleOpenUrl = (e?: any) => {
53
69
  e?.stopPropagation?.();
54
70
  Alert.alert(
@@ -86,15 +102,6 @@ const LogCard = React.memo(function LogCard({
86
102
  ? AppColors.errorColor
87
103
  : AppColors.greenColor;
88
104
 
89
- const leftPercent =
90
- timelineTotalRange > 0
91
- ? ((item.startTime - timelineMinStart) / timelineTotalRange) * 100
92
- : 0;
93
- const widthPercent =
94
- timelineTotalRange > 0
95
- ? ((item.duration || 10) / timelineTotalRange) * 100
96
- : 100;
97
-
98
105
  const shimmerOpacity = useRef(new Animated.Value(isNew ? 0.35 : 0)).current;
99
106
  useEffect(() => {
100
107
  if (isNew) {
@@ -106,398 +113,580 @@ const LogCard = React.memo(function LogCard({
106
113
  }
107
114
  }, [isNew]);
108
115
 
116
+ const getStatusText = () => {
117
+ if (isLoading) return '...';
118
+ if (item.status === 0 || item.status == null) {
119
+ return t('network.statusFailed') || 'FAILED';
120
+ }
121
+ const num = typeof item.status === 'number' ? item.status : parseInt(String(item.status || 0), 10);
122
+ if (num === 200) return '200 OK';
123
+ if (num === 201) return '201 Created';
124
+ if (num === 204) return '204 No Content';
125
+ if (num === 304) return '304 Not Modified';
126
+ if (num === 400) return '400 Bad Req';
127
+ if (num === 401) return '401 Unauth';
128
+ if (num === 403) return '403 Forbidden';
129
+ if (num === 404) return '404 Not Found';
130
+ if (num === 500) return '500 Error';
131
+ return String(item.status);
132
+ };
133
+
109
134
  const renderStatusIcon = () => {
110
135
  if (isLoading) {
111
- return <ClockIcon color={AppColors.darkOrange} size={9} />;
136
+ return <ClockIcon color={AppColors.darkOrange} size={10} />;
112
137
  }
113
138
  const num = typeof item.status === 'number' ? item.status : parseInt(String(item.status || 0), 10);
114
139
  if (num >= 200 && num < 300) {
115
- return <CircleCheckIcon color={AppColors.greenColor} size={9} />;
140
+ return <CircleCheckIcon color={AppColors.greenColor} size={10} />;
116
141
  }
117
142
  if (num >= 300 && num < 400) {
118
- return <RepeatIcon color={AppColors.amber700} size={9} />;
143
+ return <RepeatIcon color={AppColors.amber700} size={10} />;
119
144
  }
120
145
  if (num >= 400 && num < 500) {
121
- return <CircleAlertIcon color={AppColors.darkOrange} size={9} />;
146
+ return <CircleAlertIcon color={AppColors.darkOrange} size={10} />;
122
147
  }
123
- return <CircleXIcon color={AppColors.errorColor} size={9} />;
148
+ return <CircleXIcon color={AppColors.errorColor} size={10} />;
124
149
  };
125
150
 
126
151
  const triggeredAt = formatDateTime(item.startTime);
127
152
  const isJson = item.url.split('?')[0].toLowerCase().endsWith('.json');
128
153
 
129
154
  return (
130
- <TouchableScale
131
- onPress={onPress}
132
- style={[
133
- styles.card,
134
- {
135
- borderLeftWidth: 3.5,
136
- borderLeftColor: cardStatusColor,
137
- },
138
- ]}>
139
- <View style={styles.cardBody}>
140
- {/* Row 1: Header (Checkbox, Serial, Method Badge, Client Tag, Status Pill) */}
141
- <View style={styles.cardHeaderRow}>
142
- <View style={styles.cardHeaderLeft}>
143
- <Pressable
144
- onPress={() => onToggleSelect(item.id)}
145
- hitSlop={12}
146
- style={[
147
- styles.smallCheckbox,
148
- isSelected && styles.smallCheckboxChecked,
149
- ]}>
150
- {isSelected && (
151
- <Svg width={9} height={9} viewBox="0 0 24 24" fill="none">
152
- <Path
153
- d="M20 6L9 17l-5-5"
154
- stroke={AppColors.white}
155
- strokeWidth="4"
156
- strokeLinecap="round"
157
- strokeLinejoin="round"
158
- />
159
- </Svg>
160
- )}
161
- </Pressable>
155
+ <View style={styles.container}>
156
+ <TouchableScale
157
+ onPress={onPress}
158
+ style={[
159
+ styles.card,
160
+ {
161
+ borderLeftWidth: 3.5,
162
+ borderLeftColor: cardStatusColor,
163
+ backgroundColor: isFailed ? '#FFF8F8' : AppColors.white,
164
+ },
165
+ ]}>
166
+ <View style={styles.cardBody}>
167
+ {/* Row 1: Header (Checkbox, Serial, Method Badge, Client Tag, Protocol, Status Pill) */}
168
+ <View style={styles.cardHeaderRow}>
169
+ <View style={styles.cardHeaderLeft}>
170
+ <Pressable
171
+ onPress={() => onToggleSelect(item.id)}
172
+ hitSlop={12}
173
+ style={[
174
+ styles.smallCheckbox,
175
+ isSelected && styles.smallCheckboxChecked,
176
+ ]}>
177
+ {isSelected && (
178
+ <Svg width={9} height={9} viewBox="0 0 24 24" fill="none">
179
+ <Path
180
+ d="M20 6L9 17l-5-5"
181
+ stroke={AppColors.white}
182
+ strokeWidth="4"
183
+ strokeLinecap="round"
184
+ strokeLinejoin="round"
185
+ />
186
+ </Svg>
187
+ )}
188
+ </Pressable>
162
189
 
163
- <Text style={styles.serialNumber}>#{item.id + 1}</Text>
190
+ <Text style={styles.serialNumber}>#{item.id + 1}</Text>
164
191
 
165
- <View
166
- style={[styles.methodBadge, {backgroundColor: methodColor}]}>
167
- <Text style={[styles.methodBadgeText, {color: AppColors.white}]}>
168
- {item.method}
169
- </Text>
170
- </View>
171
-
172
- {item.client && (
173
192
  <View
174
- style={[
175
- styles.chip,
176
- {
177
- backgroundColor:
178
- item.client === 'axios'
179
- ? `${AppColors.purple}14`
180
- : item.client === 'apollo' || item.client === 'graphql'
181
- ? `${AppColors.pink500}14`
182
- : item.client === 'xhr'
183
- ? `${AppColors.amber500}14`
184
- : `${AppColors.sky500}14`,
185
- borderColor:
186
- item.client === 'axios'
187
- ? `${AppColors.purple}30`
188
- : item.client === 'apollo' || item.client === 'graphql'
189
- ? `${AppColors.pink500}30`
190
- : item.client === 'xhr'
191
- ? `${AppColors.amber500}30`
192
- : `${AppColors.sky500}30`,
193
- paddingHorizontal: 4.5,
194
- paddingVertical: 1,
195
- borderRadius: 4,
196
- },
197
- ]}>
198
- <Text
193
+ style={[styles.methodBadge, {backgroundColor: methodColor}]}>
194
+ <Text style={styles.methodBadgeText}>
195
+ {item.method}
196
+ </Text>
197
+ </View>
198
+
199
+ {item.client && (
200
+ <View
199
201
  style={[
200
- styles.chipText,
202
+ styles.chip,
201
203
  {
202
- fontFamily: AppFonts.interBold,
203
- fontSize: 8.5,
204
- color:
204
+ backgroundColor:
205
+ item.client === 'axios'
206
+ ? `${AppColors.purple}14`
207
+ : item.client === 'apollo' || item.client === 'graphql'
208
+ ? `${AppColors.pink500}14`
209
+ : item.client === 'xhr'
210
+ ? `${AppColors.amber500}14`
211
+ : `${AppColors.sky500}14`,
212
+ borderColor:
205
213
  item.client === 'axios'
206
- ? AppColors.purple
214
+ ? `${AppColors.purple}30`
207
215
  : item.client === 'apollo' || item.client === 'graphql'
208
- ? AppColors.pink500
216
+ ? `${AppColors.pink500}30`
209
217
  : item.client === 'xhr'
210
- ? AppColors.amber700
211
- : AppColors.sky600,
218
+ ? `${AppColors.amber500}30`
219
+ : `${AppColors.sky500}30`,
212
220
  },
213
221
  ]}>
214
- {item.client.toUpperCase()}
215
- </Text>
216
- </View>
217
- )}
222
+ <Text
223
+ style={[
224
+ styles.chipText,
225
+ {
226
+ color:
227
+ item.client === 'axios'
228
+ ? AppColors.purple
229
+ : item.client === 'apollo' || item.client === 'graphql'
230
+ ? AppColors.pink500
231
+ : item.client === 'xhr'
232
+ ? AppColors.amber700
233
+ : AppColors.sky600,
234
+ },
235
+ ]}>
236
+ {item.client.toUpperCase()}
237
+ </Text>
238
+ </View>
239
+ )}
240
+
241
+ {/* GraphQL Indicator */}
242
+ {(item.url.toLowerCase().includes('graphql') ||
243
+ item.client === 'apollo' ||
244
+ item.client === 'graphql') && (
245
+ <View
246
+ style={[
247
+ styles.chip,
248
+ {
249
+ backgroundColor: AppColors.roseBg,
250
+ borderColor: AppColors.roseBorder,
251
+ },
252
+ ]}>
253
+ <Text
254
+ style={[
255
+ styles.chipText,
256
+ {color: AppColors.pink600},
257
+ ]}>
258
+ GQL
259
+ </Text>
260
+ </View>
261
+ )}
262
+ </View>
218
263
 
219
- {/* Protocol / HTTPS Badge */}
220
264
  <View
221
265
  style={[
222
- styles.chip,
266
+ styles.statusPill,
223
267
  {
224
- backgroundColor: item.url.toLowerCase().startsWith('https')
225
- ? AppColors.mintGreenBg
226
- : AppColors.amberWarmBg,
227
- borderColor: item.url.toLowerCase().startsWith('https')
228
- ? AppColors.mintGreenBorder
229
- : AppColors.amberWarmBorder,
230
- paddingHorizontal: 4,
231
- paddingVertical: 1,
232
- borderRadius: 4,
268
+ backgroundColor: isFailed
269
+ ? `${AppColors.errorColor}14`
270
+ : isLoading
271
+ ? `${AppColors.darkOrange}14`
272
+ : `${statusColor}14`,
273
+ borderColor: isFailed
274
+ ? `${AppColors.errorColor}33`
275
+ : isLoading
276
+ ? `${AppColors.darkOrange}33`
277
+ : `${statusColor}33`,
233
278
  },
234
279
  ]}>
280
+ {renderStatusIcon()}
235
281
  <Text
236
282
  style={[
237
- styles.chipText,
283
+ styles.statusPillText,
238
284
  {
239
- fontFamily: AppFonts.interBold,
240
- fontSize: 8,
241
- color: item.url.toLowerCase().startsWith('https')
242
- ? AppColors.mintGreenText
243
- : AppColors.amber700,
285
+ color: isFailed
286
+ ? AppColors.errorColor
287
+ : isLoading
288
+ ? AppColors.darkOrange
289
+ : statusColor,
244
290
  },
245
291
  ]}>
246
- {item.url.toLowerCase().startsWith('https') ? 'HTTPS' : 'HTTP'}
292
+ {getStatusText()}
247
293
  </Text>
248
294
  </View>
249
-
250
- {/* GraphQL Indicator */}
251
- {(item.url.toLowerCase().includes('graphql') ||
252
- item.client === 'apollo' ||
253
- item.client === 'graphql') && (
254
- <View
255
- style={[
256
- styles.chip,
257
- {
258
- backgroundColor: AppColors.roseBg,
259
- borderColor: AppColors.roseBorder,
260
- paddingHorizontal: 4,
261
- paddingVertical: 1,
262
- borderRadius: 4,
263
- },
264
- ]}>
265
- <Text
266
- style={[
267
- styles.chipText,
268
- {
269
- fontFamily: AppFonts.interBold,
270
- fontSize: 8,
271
- color: AppColors.pink600,
272
- },
273
- ]}>
274
- GQL
275
- </Text>
276
- </View>
277
- )}
278
- </View>
279
-
280
- <View
281
- style={[
282
- styles.statusPill,
283
- {
284
- flexDirection: 'row',
285
- alignItems: 'center',
286
- gap: 3.5,
287
- backgroundColor: isFailed
288
- ? `${AppColors.errorColor}15`
289
- : isLoading
290
- ? `${AppColors.darkOrange}15`
291
- : `${statusColor}15`,
292
- borderColor: isFailed
293
- ? `${AppColors.errorColor}30`
294
- : isLoading
295
- ? `${AppColors.darkOrange}30`
296
- : `${statusColor}30`,
297
- flexShrink: 0,
298
- },
299
- ]}>
300
- {renderStatusIcon()}
301
- <Text
302
- style={[
303
- styles.statusPillText,
304
- {
305
- color: isFailed
306
- ? AppColors.errorColor
307
- : isLoading
308
- ? AppColors.darkOrange
309
- : statusColor,
310
- },
311
- ]}>
312
- {isLoading
313
- ? '...'
314
- : isFailed
315
- ? (item.status ? `${item.status}` : t('network.statusFailed'))
316
- : item.status}
317
- </Text>
318
295
  </View>
319
- </View>
320
296
 
321
- {/* Row 2: Full URL Capsule Container (Clickable with link prompt) */}
322
- <View style={styles.cardSlugBox}>
297
+ {/* Row 2: Clean Smart URL Container (Path prominent, Host subtitle) */}
323
298
  <Pressable
324
299
  onPress={handleOpenUrl}
325
- style={styles.slugLeft}
326
- hitSlop={6}>
327
- <View
328
- style={{
329
- width: 17,
330
- height: 17,
331
- borderRadius: 4,
332
- backgroundColor: `${AppColors.skyBlue}1A`,
333
- alignItems: 'center',
334
- justifyContent: 'center',
335
- marginRight: 4,
336
- flexShrink: 0,
337
- }}>
338
- <GlobeIcon color={AppColors.skyBlue} size={11} />
339
- </View>
340
- <HighlightText
341
- text={item.url}
342
- search={searchStr}
343
- style={[styles.slugText, {color: AppColors.skyBlue, textDecorationLine: 'underline'}]}
344
- highlightStyle={styles.highlight}
345
- numberOfLines={2}
346
- ellipsizeMode="middle"
347
- />
348
- </Pressable>
349
-
350
- <View style={styles.slugRight}>
351
- {isJson && (
352
- <View
353
- style={[
354
- styles.chip,
355
- {
356
- backgroundColor: `${AppColors.darkOrange}12`,
357
- borderColor: `${AppColors.darkOrange}28`,
358
- },
359
- ]}>
360
- <Text style={[styles.chipText, {color: AppColors.darkOrange}]}>
361
- .json
362
- </Text>
300
+ hitSlop={6}
301
+ style={styles.urlBox}>
302
+ <View style={styles.urlMainRow}>
303
+ <HighlightText
304
+ text={urlParsed.path}
305
+ search={searchStr}
306
+ style={styles.pathText}
307
+ highlightStyle={styles.highlight}
308
+ numberOfLines={2}
309
+ ellipsizeMode="middle"
310
+ />
311
+ <View style={styles.urlBadgeRow}>
312
+ {isJson && (
313
+ <View style={styles.jsonBadge}>
314
+ <Text style={styles.jsonBadgeText}>.json</Text>
315
+ </View>
316
+ )}
317
+ {item.duplicateCount != null && item.duplicateCount > 1 && (
318
+ <View style={styles.dupBadge}>
319
+ <Text style={styles.dupBadgeText}>×{item.duplicateCount}</Text>
320
+ </View>
321
+ )}
363
322
  </View>
364
- )}
323
+ </View>
365
324
 
366
- {item.duplicateCount != null && item.duplicateCount > 1 && (
367
- <View
368
- style={[
369
- styles.chip,
370
- {
371
- backgroundColor: `${AppColors.purple}12`,
372
- borderColor: `${AppColors.purple}28`,
373
- },
374
- ]}>
375
- <Text
325
+ {urlParsed.host ? (
326
+ <View style={styles.hostRow}>
327
+ <View
376
328
  style={[
377
- styles.chipText,
378
- {color: AppColors.purple, fontWeight: '700'},
329
+ styles.protoBadge,
330
+ {
331
+ backgroundColor: urlParsed.isHttps
332
+ ? `${AppColors.emerald600}12`
333
+ : `${AppColors.amber600}12`,
334
+ borderColor: urlParsed.isHttps
335
+ ? `${AppColors.emerald600}2B`
336
+ : `${AppColors.amber600}2B`,
337
+ },
379
338
  ]}>
380
- ×{item.duplicateCount}
339
+ <Text
340
+ style={[
341
+ styles.protoBadgeText,
342
+ {
343
+ color: urlParsed.isHttps
344
+ ? AppColors.emerald600
345
+ : AppColors.amber700,
346
+ },
347
+ ]}>
348
+ {urlParsed.isHttps ? 'HTTPS' : 'HTTP'}
349
+ </Text>
350
+ </View>
351
+ <Text
352
+ style={styles.hostText}
353
+ numberOfLines={1}
354
+ ellipsizeMode="tail">
355
+ {urlParsed.host}
381
356
  </Text>
382
357
  </View>
383
- )}
384
- </View>
385
- </View>
358
+ ) : null}
359
+ </Pressable>
360
+
361
+ {/* Row 3: Footer (Timestamp & Origin on Left, Response Size & Duration on Right) */}
362
+ <View style={styles.cardFooterRow}>
363
+ <View style={styles.footerLeft}>
364
+ <View style={styles.cardDateRow}>
365
+ <CalendarIcon color={AppColors.grayTextWeak} size={10} />
366
+ <Text style={styles.cardDateText}>{triggeredAt}</Text>
367
+ </View>
386
368
 
387
- {/* Row 3: Footer (Timestamp & Origin on Left, Response Size & Duration on Right) */}
388
- <View style={styles.cardFooterRow}>
389
- <View style={{flexDirection: 'row', alignItems: 'center', gap: 6, flex: 1, minWidth: 0, marginRight: 8}}>
390
- <View style={[styles.cardDateRow, {flexShrink: 0}]}>
391
- <CalendarIcon color={AppColors.grayTextWeak} size={10} />
392
- <Text style={styles.cardDateText}>{triggeredAt}</Text>
369
+ {item.caller && item.caller !== 'Unknown' && (
370
+ <View style={styles.callerChip}>
371
+ <PinIcon color={AppColors.sky600} size={8.5} />
372
+ <Text
373
+ style={styles.callerChipText}
374
+ numberOfLines={1}
375
+ ellipsizeMode="middle">
376
+ {item.caller}
377
+ </Text>
378
+ </View>
379
+ )}
393
380
  </View>
394
381
 
395
- {item.caller && item.caller !== 'Unknown' && (
396
- <View
397
- style={[
398
- styles.chip,
399
- {
400
- flexDirection: 'row',
401
- alignItems: 'center',
402
- gap: 3,
403
- backgroundColor: `${AppColors.skyBlue}14`,
404
- borderColor: `${AppColors.skyBlue}30`,
405
- paddingHorizontal: 5,
406
- paddingVertical: 1,
407
- borderRadius: 4,
408
- flexShrink: 1,
409
- minWidth: 0,
410
- },
411
- ]}>
412
- <PinIcon color={AppColors.skyBlue} size={8.5} />
413
- <Text
382
+ <View style={styles.footerRight}>
383
+ {item.response != null && (
384
+ <View style={styles.metaStatChip}>
385
+ <SizeIcon color={AppColors.purple} size={9} />
386
+ <Text style={styles.metaStatText}>
387
+ {getSize(item.response)}
388
+ </Text>
389
+ </View>
390
+ )}
391
+
392
+ {item.duration != null && !isFailed && (
393
+ <View
414
394
  style={[
415
- styles.chipText,
395
+ styles.metaStatChip,
416
396
  {
417
- color: AppColors.skyBlue,
418
- fontSize: 8.5,
419
- fontFamily: AppFonts.interMedium,
397
+ backgroundColor: `${durationColor}12`,
398
+ borderColor: `${durationColor}2E`,
420
399
  },
421
- ]}
422
- numberOfLines={1}
423
- ellipsizeMode="middle">
424
- {item.caller}
425
- </Text>
426
- </View>
427
- )}
428
- </View>
429
-
430
- <View style={styles.cardFooterRight}>
431
- {item.response != null && (
432
- <View
433
- style={[
434
- styles.chip,
435
- {
436
- backgroundColor: `${AppColors.purple}12`,
437
- borderColor: `${AppColors.purple}2E`,
438
- },
439
- ]}>
440
- <SizeIcon color={AppColors.purple} size={9} />
441
- <Text
442
- style={[
443
- styles.chipText,
444
- {color: AppColors.purple, fontSize: 9.5},
445
400
  ]}>
446
- {getSize(item.response)}
447
- </Text>
448
- </View>
449
- )}
401
+ <ClockIcon color={durationColor} size={9} />
402
+ <Text style={[styles.metaStatText, {color: durationColor}]}>
403
+ {item.duration}ms
404
+ </Text>
405
+ </View>
406
+ )}
407
+ </View>
408
+ </View>
450
409
 
451
- {item.duration != null && !isFailed && (
410
+ {/* Mini Latency Timing Waterfall Bar */}
411
+ {typeof item.duration === 'number' && item.duration > 0 && !isFailed && (
412
+ <View style={styles.waterfallContainer}>
452
413
  <View
453
414
  style={[
454
- styles.chip,
415
+ styles.waterfallBar,
455
416
  {
456
- backgroundColor: `${durationColor}15`,
457
- borderColor: `${durationColor}30`,
417
+ width: `${Math.min(100, Math.max(6, (item.duration / 1200) * 100))}%`,
418
+ backgroundColor: durationColor,
458
419
  },
459
- ]}>
460
- <ClockIcon color={durationColor} size={9} />
461
- <Text style={[styles.chipText, {color: durationColor, fontSize: 9.5}]}>
462
- {item.duration}ms
463
- </Text>
464
- </View>
465
- )}
466
- </View>
467
- </View>
468
-
469
- {/* Mini Latency Timing Waterfall Bar */}
470
- {typeof item.duration === 'number' && item.duration > 0 && !isFailed && (
471
- <View style={{marginTop: 6, gap: 2}}>
472
- <View
473
- style={{
474
- height: 2.5,
475
- width: '100%',
476
- backgroundColor: AppColors.grayBorderSecondary,
477
- borderRadius: 1.5,
478
- overflow: 'hidden',
479
- }}>
480
- <View
481
- style={{
482
- height: '100%',
483
- width: `${Math.min(100, Math.max(6, (item.duration / 1200) * 100))}%`,
484
- backgroundColor: durationColor,
485
- borderRadius: 1.5,
486
- }}
420
+ ]}
487
421
  />
488
422
  </View>
489
- </View>
490
- )}
491
- </View>
492
- <Animated.View
493
- pointerEvents="none"
494
- style={[
495
- StyleSheet.absoluteFill,
496
- {backgroundColor: methodColor, opacity: shimmerOpacity},
497
- ]}
498
- />
499
- </TouchableScale>
423
+ )}
424
+ </View>
425
+
426
+ <Animated.View
427
+ pointerEvents="none"
428
+ style={[
429
+ StyleSheet.absoluteFill,
430
+ {backgroundColor: methodColor, opacity: shimmerOpacity},
431
+ ]}
432
+ />
433
+ </TouchableScale>
434
+ </View>
500
435
  );
501
436
  });
502
437
 
438
+ const styles = StyleSheet.create({
439
+ container: {
440
+ paddingHorizontal: 10,
441
+ paddingVertical: 3.5,
442
+ },
443
+ card: {
444
+ alignSelf: 'stretch',
445
+ borderRadius: 11,
446
+ overflow: 'hidden',
447
+ shadowColor: AppColors.black,
448
+ shadowOffset: {width: 0, height: 1.5},
449
+ shadowOpacity: 0.04,
450
+ shadowRadius: 3,
451
+ elevation: 1.5,
452
+ borderWidth: 1,
453
+ borderColor: AppColors.grayBorderSecondary,
454
+ backgroundColor: AppColors.white,
455
+ },
456
+ cardBody: {
457
+ paddingHorizontal: 12,
458
+ paddingTop: 9,
459
+ paddingBottom: 8,
460
+ },
461
+ cardHeaderRow: {
462
+ flexDirection: 'row',
463
+ alignItems: 'center',
464
+ justifyContent: 'space-between',
465
+ marginBottom: 6,
466
+ minHeight: 22,
467
+ },
468
+ cardHeaderLeft: {
469
+ flexDirection: 'row',
470
+ alignItems: 'center',
471
+ flex: 1,
472
+ marginRight: 6,
473
+ gap: 5.5,
474
+ minWidth: 0,
475
+ flexWrap: 'wrap',
476
+ },
477
+ smallCheckbox: {
478
+ width: 15,
479
+ height: 15,
480
+ borderRadius: 4,
481
+ borderWidth: 1.6,
482
+ borderColor: AppColors.grayTextWeak,
483
+ alignItems: 'center',
484
+ justifyContent: 'center',
485
+ backgroundColor: AppColors.white,
486
+ },
487
+ smallCheckboxChecked: {
488
+ backgroundColor: AppColors.purple,
489
+ borderColor: AppColors.purple,
490
+ },
491
+ serialNumber: {
492
+ fontFamily: AppFonts.interBold,
493
+ color: AppColors.grayTextWeak,
494
+ fontSize: 10,
495
+ },
496
+ methodBadge: {
497
+ paddingHorizontal: 6.5,
498
+ paddingVertical: 2,
499
+ borderRadius: 5,
500
+ alignItems: 'center',
501
+ justifyContent: 'center',
502
+ },
503
+ methodBadgeText: {
504
+ fontFamily: AppFonts.interBold,
505
+ fontSize: 9.5,
506
+ letterSpacing: 0.5,
507
+ color: AppColors.white,
508
+ },
509
+ chip: {
510
+ paddingHorizontal: 5,
511
+ paddingVertical: 1.5,
512
+ borderRadius: 4,
513
+ borderWidth: 1,
514
+ },
515
+ chipText: {
516
+ fontFamily: AppFonts.interBold,
517
+ fontSize: 8.5,
518
+ },
519
+ statusPill: {
520
+ flexDirection: 'row',
521
+ alignItems: 'center',
522
+ gap: 4,
523
+ paddingHorizontal: 7,
524
+ paddingVertical: 2.5,
525
+ borderRadius: 6,
526
+ borderWidth: 1,
527
+ flexShrink: 0,
528
+ },
529
+ statusPillText: {
530
+ fontFamily: AppFonts.interBold,
531
+ fontSize: 9.5,
532
+ },
533
+ urlBox: {
534
+ backgroundColor: AppColors.grayBackground,
535
+ borderRadius: 8,
536
+ borderWidth: 1,
537
+ borderColor: AppColors.dividerColor,
538
+ paddingHorizontal: 9,
539
+ paddingVertical: 6,
540
+ marginVertical: 4,
541
+ gap: 4,
542
+ },
543
+ urlMainRow: {
544
+ flexDirection: 'row',
545
+ alignItems: 'flex-start',
546
+ justifyContent: 'space-between',
547
+ gap: 6,
548
+ },
549
+ pathText: {
550
+ fontFamily: AppFonts.interBold,
551
+ fontSize: 12,
552
+ lineHeight: 16.5,
553
+ color: AppColors.primaryBlack,
554
+ flex: 1,
555
+ },
556
+ urlBadgeRow: {
557
+ flexDirection: 'row',
558
+ alignItems: 'center',
559
+ gap: 4,
560
+ flexShrink: 0,
561
+ },
562
+ jsonBadge: {
563
+ backgroundColor: `${AppColors.darkOrange}14`,
564
+ borderColor: `${AppColors.darkOrange}2E`,
565
+ borderWidth: 1,
566
+ paddingHorizontal: 4,
567
+ paddingVertical: 1,
568
+ borderRadius: 3,
569
+ },
570
+ jsonBadgeText: {
571
+ fontFamily: AppFonts.interBold,
572
+ fontSize: 8.5,
573
+ color: AppColors.darkOrange,
574
+ },
575
+ dupBadge: {
576
+ backgroundColor: `${AppColors.purple}14`,
577
+ borderColor: `${AppColors.purple}2E`,
578
+ borderWidth: 1,
579
+ paddingHorizontal: 4,
580
+ paddingVertical: 1,
581
+ borderRadius: 3,
582
+ },
583
+ dupBadgeText: {
584
+ fontFamily: AppFonts.interBold,
585
+ fontSize: 8.5,
586
+ color: AppColors.purple,
587
+ },
588
+ hostRow: {
589
+ flexDirection: 'row',
590
+ alignItems: 'center',
591
+ gap: 5,
592
+ },
593
+ protoBadge: {
594
+ paddingHorizontal: 4,
595
+ paddingVertical: 1,
596
+ borderRadius: 3,
597
+ borderWidth: 1,
598
+ },
599
+ protoBadgeText: {
600
+ fontFamily: AppFonts.interBold,
601
+ fontSize: 7.5,
602
+ },
603
+ hostText: {
604
+ fontFamily: AppFonts.interMedium,
605
+ fontSize: 10.5,
606
+ color: AppColors.grayText,
607
+ flex: 1,
608
+ },
609
+ highlight: {
610
+ backgroundColor: AppColors.yellowHighlight,
611
+ color: AppColors.primaryBlack,
612
+ borderRadius: 2,
613
+ },
614
+ cardFooterRow: {
615
+ flexDirection: 'row',
616
+ alignItems: 'center',
617
+ justifyContent: 'space-between',
618
+ marginTop: 4,
619
+ gap: 6,
620
+ },
621
+ footerLeft: {
622
+ flexDirection: 'row',
623
+ alignItems: 'center',
624
+ gap: 6,
625
+ flex: 1,
626
+ minWidth: 0,
627
+ },
628
+ footerRight: {
629
+ flexDirection: 'row',
630
+ alignItems: 'center',
631
+ gap: 5,
632
+ flexShrink: 0,
633
+ },
634
+ cardDateRow: {
635
+ flexDirection: 'row',
636
+ alignItems: 'center',
637
+ gap: 3.5,
638
+ },
639
+ cardDateText: {
640
+ fontFamily: AppFonts.interRegular,
641
+ fontSize: 9.5,
642
+ color: AppColors.grayTextWeak,
643
+ },
644
+ callerChip: {
645
+ flexDirection: 'row',
646
+ alignItems: 'center',
647
+ gap: 3,
648
+ backgroundColor: `${AppColors.sky600}10`,
649
+ borderColor: `${AppColors.sky600}2B`,
650
+ borderWidth: 1,
651
+ paddingHorizontal: 5,
652
+ paddingVertical: 1,
653
+ borderRadius: 4,
654
+ flexShrink: 1,
655
+ minWidth: 0,
656
+ },
657
+ callerChipText: {
658
+ color: AppColors.sky600,
659
+ fontSize: 8.5,
660
+ fontFamily: AppFonts.interBold,
661
+ },
662
+ metaStatChip: {
663
+ flexDirection: 'row',
664
+ alignItems: 'center',
665
+ gap: 3,
666
+ backgroundColor: `${AppColors.purple}10`,
667
+ borderColor: `${AppColors.purple}28`,
668
+ borderWidth: 1,
669
+ paddingHorizontal: 5,
670
+ paddingVertical: 1.5,
671
+ borderRadius: 4,
672
+ },
673
+ metaStatText: {
674
+ fontFamily: AppFonts.interBold,
675
+ color: AppColors.purple,
676
+ fontSize: 9,
677
+ },
678
+ waterfallContainer: {
679
+ height: 2.5,
680
+ width: '100%',
681
+ backgroundColor: AppColors.grayBorderSecondary,
682
+ borderRadius: 1.5,
683
+ overflow: 'hidden',
684
+ marginTop: 6,
685
+ },
686
+ waterfallBar: {
687
+ height: '100%',
688
+ borderRadius: 1.5,
689
+ },
690
+ });
691
+
503
692
  export default LogCard;