react-native-inapp-inspector 2.3.16 → 2.3.18

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 (346) hide show
  1. package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +438 -7
  2. package/bin/cli.js +0 -0
  3. package/dist/commonjs/capture.d.ts +26 -0
  4. package/dist/commonjs/capture.js +32 -0
  5. package/dist/commonjs/components/AnalyticsEventCard.js +11 -11
  6. package/dist/commonjs/components/AnimatedEntrance.js +6 -70
  7. package/dist/commonjs/components/DomainHeader.js +3 -48
  8. package/dist/commonjs/components/EmptyState.js +2 -2
  9. package/dist/commonjs/components/HeadersSection.js +14 -34
  10. package/dist/commonjs/components/Inspector/AnalyticsTab.js +1 -2
  11. package/dist/commonjs/components/Inspector/ConsoleTab.js +1 -1
  12. package/dist/commonjs/components/Inspector/CrashTab.js +4 -2
  13. package/dist/commonjs/components/Inspector/DebuggingTab.js +2 -2
  14. package/dist/commonjs/components/Inspector/InspectorHeader.js +651 -313
  15. package/dist/commonjs/components/Inspector/MainScreen.js +25 -70
  16. package/dist/commonjs/components/Inspector/MediaGalleryTab.d.ts +2 -0
  17. package/dist/commonjs/components/Inspector/MediaGalleryTab.js +307 -0
  18. package/dist/commonjs/components/Inspector/MediaPreviewModal.d.ts +11 -0
  19. package/dist/commonjs/components/Inspector/MediaPreviewModal.js +393 -0
  20. package/dist/commonjs/components/Inspector/NetworkTab.js +183 -182
  21. package/dist/commonjs/components/Inspector/NpmUpdateToast.js +4 -9
  22. package/dist/commonjs/components/Inspector/ReduxTab.js +4 -2
  23. package/dist/commonjs/components/Inspector/SettingsPanel.js +245 -0
  24. package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +2 -2
  25. package/dist/commonjs/components/Inspector/StorageTab.js +3 -3
  26. package/dist/commonjs/components/Inspector/TabBar.js +5 -10
  27. package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +5 -10
  28. package/dist/commonjs/components/JsonViewer.js +43 -20
  29. package/dist/commonjs/components/LogCard.js +5 -5
  30. package/dist/commonjs/components/MetaAccordion.js +78 -80
  31. package/dist/commonjs/components/NetworkIcons.d.ts +8 -0
  32. package/dist/commonjs/components/NetworkIcons.js +51 -1
  33. package/dist/commonjs/components/SectionHeader.js +3 -48
  34. package/dist/commonjs/components/SkeletonPlaceholder.js +2 -2
  35. package/dist/commonjs/components/SourcePageCard.js +43 -45
  36. package/dist/commonjs/components/Toast.js +4 -4
  37. package/dist/commonjs/components/TouchableScale.js +9 -65
  38. package/dist/commonjs/components/TreeNode.js +2 -14
  39. package/dist/commonjs/constants/telemetryConfig.d.ts +3 -3
  40. package/dist/commonjs/constants/telemetryConfig.js +3 -3
  41. package/dist/commonjs/constants/version.d.ts +1 -1
  42. package/dist/commonjs/constants/version.js +1 -1
  43. package/dist/commonjs/customHooks/useAccordion.d.ts +3 -8
  44. package/dist/commonjs/customHooks/useAccordion.js +6 -36
  45. package/dist/commonjs/helpers/index.d.ts +2 -1
  46. package/dist/commonjs/helpers/index.js +10 -1
  47. package/dist/commonjs/i18n/locales/en.json +66 -2
  48. package/dist/commonjs/index.d.ts +1 -0
  49. package/dist/commonjs/index.js +39 -22
  50. package/dist/commonjs/native/NativeInspector.d.ts +60 -0
  51. package/dist/commonjs/native/NativeInspector.js +109 -2
  52. package/dist/commonjs/native/NativeNetworkInspector.d.ts +8 -0
  53. package/dist/commonjs/styles/AppColors.d.ts +36 -0
  54. package/dist/commonjs/styles/AppColors.js +36 -0
  55. package/dist/commonjs/styles/index.d.ts +3 -1
  56. package/dist/commonjs/styles/index.js +3 -1
  57. package/dist/commonjs/types/enums.d.ts +1 -0
  58. package/dist/commonjs/types/enums.js +1 -0
  59. package/dist/commonjs/types/index.d.ts +2 -2
  60. package/dist/esm/capture.d.ts +26 -0
  61. package/dist/esm/capture.js +29 -0
  62. package/dist/esm/components/AnalyticsEventCard.js +11 -11
  63. package/dist/esm/components/AnimatedEntrance.js +4 -38
  64. package/dist/esm/components/DomainHeader.js +4 -16
  65. package/dist/esm/components/EmptyState.js +2 -2
  66. package/dist/esm/components/HeadersSection.js +16 -36
  67. package/dist/esm/components/Inspector/AnalyticsTab.js +2 -3
  68. package/dist/esm/components/Inspector/ConsoleTab.js +2 -2
  69. package/dist/esm/components/Inspector/CrashTab.js +5 -3
  70. package/dist/esm/components/Inspector/DebuggingTab.js +3 -3
  71. package/dist/esm/components/Inspector/InspectorHeader.js +654 -316
  72. package/dist/esm/components/Inspector/MainScreen.js +25 -70
  73. package/dist/esm/components/Inspector/MediaGalleryTab.d.ts +2 -0
  74. package/dist/esm/components/Inspector/MediaGalleryTab.js +267 -0
  75. package/dist/esm/components/Inspector/MediaPreviewModal.d.ts +11 -0
  76. package/dist/esm/components/Inspector/MediaPreviewModal.js +353 -0
  77. package/dist/esm/components/Inspector/NetworkTab.js +185 -184
  78. package/dist/esm/components/Inspector/NpmUpdateToast.js +5 -10
  79. package/dist/esm/components/Inspector/ReduxTab.js +5 -3
  80. package/dist/esm/components/Inspector/SettingsPanel.js +246 -1
  81. package/dist/esm/components/Inspector/SkeletonPlaceholder.js +2 -2
  82. package/dist/esm/components/Inspector/StorageTab.js +3 -3
  83. package/dist/esm/components/Inspector/TabBar.js +6 -11
  84. package/dist/esm/components/Inspector/UpdateAvailableModal.js +6 -11
  85. package/dist/esm/components/JsonViewer.js +43 -20
  86. package/dist/esm/components/LogCard.js +5 -5
  87. package/dist/esm/components/MetaAccordion.js +79 -81
  88. package/dist/esm/components/NetworkIcons.d.ts +8 -0
  89. package/dist/esm/components/NetworkIcons.js +42 -0
  90. package/dist/esm/components/SectionHeader.js +4 -16
  91. package/dist/esm/components/SkeletonPlaceholder.js +2 -2
  92. package/dist/esm/components/SourcePageCard.js +44 -46
  93. package/dist/esm/components/Toast.js +4 -4
  94. package/dist/esm/components/TouchableScale.js +7 -33
  95. package/dist/esm/components/TreeNode.js +4 -16
  96. package/dist/esm/constants/telemetryConfig.d.ts +3 -3
  97. package/dist/esm/constants/telemetryConfig.js +3 -3
  98. package/dist/esm/constants/version.d.ts +1 -1
  99. package/dist/esm/constants/version.js +1 -1
  100. package/dist/esm/customHooks/useAccordion.d.ts +3 -8
  101. package/dist/esm/customHooks/useAccordion.js +7 -37
  102. package/dist/esm/helpers/index.d.ts +2 -1
  103. package/dist/esm/helpers/index.js +8 -0
  104. package/dist/esm/i18n/locales/en.json +66 -2
  105. package/dist/esm/index.d.ts +1 -0
  106. package/dist/esm/index.js +36 -21
  107. package/dist/esm/native/NativeInspector.d.ts +60 -0
  108. package/dist/esm/native/NativeInspector.js +100 -1
  109. package/dist/esm/native/NativeNetworkInspector.d.ts +8 -0
  110. package/dist/esm/styles/AppColors.d.ts +36 -0
  111. package/dist/esm/styles/AppColors.js +36 -0
  112. package/dist/esm/styles/index.d.ts +3 -1
  113. package/dist/esm/styles/index.js +3 -1
  114. package/dist/esm/types/enums.d.ts +1 -0
  115. package/dist/esm/types/enums.js +1 -0
  116. package/dist/esm/types/index.d.ts +2 -2
  117. package/ios/NetworkInspectorModule.h +1 -0
  118. package/ios/NetworkInspectorModule.mm +736 -7
  119. package/package.json +10 -2
  120. package/react-native-inapp-inspector.podspec +1 -0
  121. package/src/capture.ts +101 -0
  122. package/src/components/AnalyticsEventCard.tsx +15 -13
  123. package/src/components/AnimatedEntrance.tsx +3 -47
  124. package/src/components/DomainHeader.tsx +4 -17
  125. package/src/components/EmptyState.tsx +2 -2
  126. package/src/components/HeadersSection.tsx +31 -56
  127. package/src/components/Inspector/AnalyticsTab.tsx +2 -2
  128. package/src/components/Inspector/ConsoleTab.tsx +2 -1
  129. package/src/components/Inspector/CrashTab.tsx +4 -2
  130. package/src/components/Inspector/DebuggingTab.tsx +2 -2
  131. package/src/components/Inspector/InspectorHeader.tsx +1215 -789
  132. package/src/components/Inspector/MainScreen.tsx +44 -85
  133. package/src/components/Inspector/MediaGalleryTab.tsx +355 -0
  134. package/src/components/Inspector/MediaPreviewModal.tsx +435 -0
  135. package/src/components/Inspector/NetworkTab.tsx +14 -15
  136. package/src/components/Inspector/NpmUpdateToast.tsx +4 -9
  137. package/src/components/Inspector/ReduxTab.tsx +5 -2
  138. package/src/components/Inspector/SettingsPanel.tsx +303 -0
  139. package/src/components/Inspector/SkeletonPlaceholder.tsx +2 -2
  140. package/src/components/Inspector/StorageTab.tsx +3 -3
  141. package/src/components/Inspector/TabBar.tsx +6 -12
  142. package/src/components/Inspector/UpdateAvailableModal.tsx +6 -10
  143. package/src/components/JsonViewer.tsx +101 -60
  144. package/src/components/LogCard.tsx +10 -8
  145. package/src/components/MetaAccordion.tsx +6 -6
  146. package/src/components/NetworkIcons.tsx +150 -0
  147. package/src/components/SectionHeader.tsx +4 -16
  148. package/src/components/SkeletonPlaceholder.tsx +2 -2
  149. package/src/components/SourcePageCard.tsx +57 -55
  150. package/src/components/Toast.tsx +4 -4
  151. package/src/components/TouchableScale.tsx +8 -38
  152. package/src/components/TreeNode.tsx +5 -20
  153. package/src/constants/telemetryConfig.ts +3 -5
  154. package/src/constants/version.ts +1 -1
  155. package/src/customHooks/useAccordion.tsx +10 -43
  156. package/src/helpers/index.ts +10 -1
  157. package/src/i18n/locales/en.json +69 -2
  158. package/src/index.tsx +51 -23
  159. package/src/native/NativeInspector.ts +186 -1
  160. package/src/native/NativeNetworkInspector.ts +9 -0
  161. package/src/styles/AppColors.ts +38 -0
  162. package/src/styles/index.ts +3 -1
  163. package/src/types/enums.ts +3 -0
  164. package/src/types/index.ts +2 -2
  165. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  166. package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
  167. package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
  168. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  169. package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
  170. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  171. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  172. package/android/.gradle/8.9/gc.properties +0 -0
  173. package/android/.gradle/9.2.0/checksums/checksums.lock +0 -0
  174. package/android/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
  175. package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
  176. package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
  177. package/android/.gradle/9.2.0/gc.properties +0 -0
  178. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  179. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  180. package/android/.gradle/vcs-1/gc.properties +0 -0
  181. package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/results.bin +0 -1
  182. package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/transformed/classes/classes_dex/classes.dex +0 -0
  183. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/results.bin +0 -1
  184. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/BuildConfig.dex +0 -0
  185. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView$iconView$1.dex +0 -0
  186. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView.dex +0 -0
  187. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NativeNetworkInspectorSpec.dex +0 -0
  188. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$Companion.dex +0 -0
  189. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$frameCallback$1.dex +0 -0
  190. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$shakeListener$1.dex +0 -0
  191. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule.dex +0 -0
  192. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorPackage.dex +0 -0
  193. package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  194. package/android/build/generated/source/buildConfig/debug/com/inappinspector/BuildConfig.java +0 -10
  195. package/android/build/generated/source/codegen/java/com/inappinspector/NativeNetworkInspectorSpec.java +0 -104
  196. package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
  197. package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +0 -128
  198. package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec.h +0 -31
  199. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.cpp +0 -22
  200. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.h +0 -24
  201. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.cpp +0 -16
  202. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.h +0 -17
  203. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.cpp +0 -19
  204. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.h +0 -18
  205. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/RNInAppInspectorSpecJSI.h +0 -177
  206. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.cpp +0 -17
  207. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.h +0 -23
  208. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.cpp +0 -16
  209. package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.h +0 -20
  210. package/android/build/generated/source/codegen/schema.json +0 -1
  211. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -7
  212. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  213. package/android/build/intermediates/aar_main_jar/debug/syncDebugLibJars/classes.jar +0 -0
  214. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  215. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  216. package/android/build/intermediates/annotations_typedef_file/debug/extractDebugAnnotations/typedefs.txt +0 -0
  217. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  218. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  219. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
  220. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
  221. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  222. package/android/build/intermediates/incremental/debug-mergeJavaRes/merge-state +0 -0
  223. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  224. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  225. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  226. package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  227. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/BuildConfig.class +0 -0
  228. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
  229. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
  230. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -7
  231. package/android/build/intermediates/merged_java_res/debug/mergeDebugJavaResource/feature-react-native-inapp-inspector.jar +0 -0
  232. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -7
  233. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  234. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  235. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  236. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/BuildConfig.class +0 -0
  237. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
  238. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
  239. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
  240. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
  241. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
  242. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
  243. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule.class +0 -0
  244. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorPackage.class +0 -0
  245. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  246. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -1
  247. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  248. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  249. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  250. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  251. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  252. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  253. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  254. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  255. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  256. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  257. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  258. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  259. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  260. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  261. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  262. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  263. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  264. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  265. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  266. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  267. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  268. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  269. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  270. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  271. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  272. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  273. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  274. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  275. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  276. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  277. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  278. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  279. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  280. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  281. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  282. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  283. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  284. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  285. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  286. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  287. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  288. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  289. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  290. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  291. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  292. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  293. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  294. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  295. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  296. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  297. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  298. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  299. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  300. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  301. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  302. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  303. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  304. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  305. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  306. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  307. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  308. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  309. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  310. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
  311. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  312. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  313. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  314. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  315. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  316. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  317. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  318. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  319. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  320. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  321. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  322. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  323. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  324. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  325. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  326. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  327. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  328. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  329. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  330. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  331. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  332. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  333. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  334. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  335. package/android/build/outputs/aar/react-native-inapp-inspector-debug.aar +0 -0
  336. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  337. package/android/build/reports/problems/problems-report.html +0 -659
  338. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  339. package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
  340. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
  341. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
  342. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
  343. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
  344. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
  345. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule.class +0 -0
  346. package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorPackage.class +0 -0
@@ -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;
@@ -143,3 +143,11 @@ export declare const HeadphonesIcon: ({ color, size, }: IconProps) => React.JSX.
143
143
  export declare const HelpCircleIcon: ({ color, size, }: IconProps) => React.JSX.Element;
144
144
  export declare const SendIcon: ({ color, size, }: IconProps) => React.JSX.Element;
145
145
  export declare const LifeBuoyIcon: ({ color, size, }: IconProps) => React.JSX.Element;
146
+ export declare const CameraIcon: ({ color, size, }: IconProps) => React.JSX.Element;
147
+ export declare const VideoCameraIcon: ({ color, size, }: IconProps) => React.JSX.Element;
148
+ export declare const MicrophoneIcon: ({ color, size, }: IconProps) => React.JSX.Element;
149
+ export declare const GifIcon: ({ color, size, }: IconProps) => React.JSX.Element;
150
+ export declare const PlayIcon: ({ color, size, }: IconProps) => React.JSX.Element;
151
+ export declare const PauseIcon: ({ color, size, }: IconProps) => React.JSX.Element;
152
+ export declare const ImageIcon: ({ color, size, }: IconProps) => React.JSX.Element;
153
+ export declare const FilmIcon: ({ color, size, }: IconProps) => React.JSX.Element;
@@ -786,3 +786,45 @@ export const LifeBuoyIcon = ({ color = AppColors.white, size = 20, }) => (<Svg w
786
786
  <Line x1="14.83" y1="14.83" x2="19.07" y2="19.07" stroke={color} strokeWidth="2" strokeLinecap="round"/>
787
787
  <Line x1="4.93" y1="19.07" x2="9.17" y2="14.83" stroke={color} strokeWidth="2" strokeLinecap="round"/>
788
788
  </Svg>);
789
+ export const CameraIcon = ({ color = AppColors.white, size = 18, }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
790
+ <Path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
791
+ <Circle cx="12" cy="13" r="4" stroke={color} strokeWidth="2"/>
792
+ </Svg>);
793
+ export const VideoCameraIcon = ({ color = AppColors.white, size = 18, }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
794
+ <Path d="M23 7l-7 5 7 5V7z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
795
+ <Rect x="1" y="5" width="15" height="14" rx="2" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
796
+ </Svg>);
797
+ export const MicrophoneIcon = ({ color = AppColors.white, size = 18, }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
798
+ <Path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
799
+ <Path d="M19 10v2a7 7 0 0 1-14 0v-2" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
800
+ <Line x1="12" y1="19" x2="12" y2="23" stroke={color} strokeWidth="2" strokeLinecap="round"/>
801
+ <Line x1="8" y1="23" x2="16" y2="23" stroke={color} strokeWidth="2" strokeLinecap="round"/>
802
+ </Svg>);
803
+ export const GifIcon = ({ color = AppColors.white, size = 18, }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
804
+ <Rect x="2" y="4" width="20" height="16" rx="3" stroke={color} strokeWidth="2"/>
805
+ <Path d="M7 10h-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h1v-2H6.5" stroke={color} strokeWidth="1.75" strokeLinecap="round" strokeLinejoin="round"/>
806
+ <Path d="M12 10v4" stroke={color} strokeWidth="1.75" strokeLinecap="round"/>
807
+ <Path d="M18 10h-2v4M16 12h1.5" stroke={color} strokeWidth="1.75" strokeLinecap="round" strokeLinejoin="round"/>
808
+ </Svg>);
809
+ export const PlayIcon = ({ color = AppColors.white, size = 18, }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
810
+ <Path d="M5 3l14 9-14 9V3z" fill={color} stroke={color} strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
811
+ </Svg>);
812
+ export const PauseIcon = ({ color = AppColors.white, size = 18, }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
813
+ <Rect x="6" y="4" width="4" height="16" fill={color} rx="1"/>
814
+ <Rect x="14" y="4" width="4" height="16" fill={color} rx="1"/>
815
+ </Svg>);
816
+ export const ImageIcon = ({ color = AppColors.white, size = 18, }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
817
+ <Rect x="3" y="3" width="18" height="18" rx="2" stroke={color} strokeWidth="2"/>
818
+ <Circle cx="8.5" cy="8.5" r="1.5" fill={color}/>
819
+ <Path d="M21 15l-5-5L5 21" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
820
+ </Svg>);
821
+ export const FilmIcon = ({ color = AppColors.white, size = 18, }) => (<Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
822
+ <Rect x="2" y="2" width="20" height="20" rx="2.18" stroke={color} strokeWidth="2"/>
823
+ <Line x1="7" y1="2" x2="7" y2="22" stroke={color} strokeWidth="2"/>
824
+ <Line x1="17" y1="2" x2="17" y2="22" stroke={color} strokeWidth="2"/>
825
+ <Line x1="2" y1="12" x2="22" y2="12" stroke={color} strokeWidth="2"/>
826
+ <Line x1="2" y1="7" x2="7" y2="7" stroke={color} strokeWidth="2"/>
827
+ <Line x1="2" y1="17" x2="7" y2="17" stroke={color} strokeWidth="2"/>
828
+ <Line x1="17" y1="17" x2="22" y2="17" stroke={color} strokeWidth="2"/>
829
+ <Line x1="17" y1="7" x2="22" y2="7" stroke={color} strokeWidth="2"/>
830
+ </Svg>);
@@ -1,5 +1,5 @@
1
- import React, { useRef, useEffect } from 'react';
2
- import { Animated, View, Pressable, Text } from 'react-native';
1
+ import React from 'react';
2
+ import { View, Pressable, Text } from 'react-native';
3
3
  import { AppColors } from '../styles/AppColors';
4
4
  import CopyButton from './CopyButton';
5
5
  import TouchableScale from './TouchableScale';
@@ -7,18 +7,6 @@ import { RequestIcon, ResponseIcon, HeadersIcon, DiffIcon, ChevronIcon, SearchIc
7
7
  import styles from '../styles';
8
8
  const SectionHeader = ({ title, value, expanded, onToggleExpand, showDiff, isDiffing, onToggleDiff, showSearch, isSearching, onToggleSearch, }) => {
9
9
  const isOpen = expanded === undefined ? false : !!expanded;
10
- const chevronAnim = useRef(new Animated.Value(isOpen ? 1 : 0)).current;
11
- useEffect(() => {
12
- Animated.timing(chevronAnim, {
13
- toValue: isOpen ? 1 : 0,
14
- duration: 220,
15
- useNativeDriver: true,
16
- }).start();
17
- }, [isOpen]);
18
- const chevronRotate = chevronAnim.interpolate({
19
- inputRange: [0, 1],
20
- outputRange: ['0deg', '180deg'],
21
- });
22
10
  return (<View style={styles.sectionHeaderGradient}>
23
11
  <View style={styles.sectionHeaderRow}>
24
12
  <Pressable style={styles.sectionTitleRow} onPress={onToggleExpand} hitSlop={12}>
@@ -40,9 +28,9 @@ const SectionHeader = ({ title, value, expanded, onToggleExpand, showDiff, isDif
40
28
  </TouchableScale>)}
41
29
  <CopyButton value={value} label={title}/>
42
30
  <TouchableScale onPress={onToggleExpand} hitSlop={12} style={styles.iconSquareBtn}>
43
- <Animated.View style={{ transform: [{ rotate: chevronRotate }] }}>
31
+ <View style={{ transform: [{ rotate: isOpen ? '180deg' : '0deg' }] }}>
44
32
  <ChevronIcon color={AppColors.grayTextStrong} size={14}/>
45
- </Animated.View>
33
+ </View>
46
34
  </TouchableScale>
47
35
  </View>
48
36
  </View>
@@ -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,5 +1,5 @@
1
1
  import React from 'react';
2
- import { View, Pressable, Text, Animated } from 'react-native';
2
+ import { View, Pressable, Text } from 'react-native';
3
3
  import Svg, { Rect, Path } from 'react-native-svg';
4
4
  import CopyButton from './CopyButton';
5
5
  import useAccordion from '../customHooks/useAccordion';
@@ -7,8 +7,8 @@ import { ChevronIcon } from './NetworkIcons';
7
7
  import { AppColors } from '../styles/AppColors';
8
8
  import styles from '../styles';
9
9
  const SourcePageCard = ({ routeInfo }) => {
10
- const main = useAccordion(true, 600, 280);
11
- const params = useAccordion(false, 800, 260);
10
+ const main = useAccordion(true);
11
+ const params = useAccordion(false);
12
12
  const hasParams = routeInfo.params && Object.keys(routeInfo.params).length > 0;
13
13
  return (<View style={styles.sourcePageCard}>
14
14
  <Pressable onPress={main.toggleOpen} hitSlop={12}>
@@ -32,59 +32,57 @@ const SourcePageCard = ({ routeInfo }) => {
32
32
  <View style={styles.sourcePageHeaderRight}>
33
33
  <CopyButton value={routeInfo.path} label="Source Path"/>
34
34
  <View style={styles.iconSquareBtn}>
35
- <Animated.View style={main.chevronStyle}>
35
+ <View style={main.chevronStyle}>
36
36
  <ChevronIcon color={AppColors.grayTextStrong} size={14}/>
37
- </Animated.View>
37
+ </View>
38
38
  </View>
39
39
  </View>
40
40
  </View>
41
41
  </Pressable>
42
42
 
43
- <Animated.View style={main.bodyStyle}>
44
- {hasParams && (<View style={styles.sourceParamsBox}>
45
- <Pressable onPress={params.toggleOpen} hitSlop={10}>
46
- <View style={styles.paramsAccordionHeader}>
47
- <View style={styles.paramsAccordionLeft}>
48
- <Text style={styles.sourceParamsLabel}>Parameters</Text>
49
- <View style={styles.headerCountBadge}>
50
- <Text style={styles.headerCountText}>
51
- {Object.keys(routeInfo.params).length}
52
- </Text>
43
+ {main.isOpen && (<View>
44
+ {hasParams && (<View style={styles.sourceParamsBox}>
45
+ <Pressable onPress={params.toggleOpen} hitSlop={10}>
46
+ <View style={styles.paramsAccordionHeader}>
47
+ <View style={styles.paramsAccordionLeft}>
48
+ <Text style={styles.sourceParamsLabel}>Parameters</Text>
49
+ <View style={styles.headerCountBadge}>
50
+ <Text style={styles.headerCountText}>
51
+ {Object.keys(routeInfo.params).length}
52
+ </Text>
53
+ </View>
53
54
  </View>
54
- </View>
55
- <View style={styles.paramsAccordionRight}>
56
- <CopyButton value={routeInfo.params} label="Parameters"/>
57
- <View style={styles.iconSquareBtn}>
58
- <Animated.View style={params.chevronStyle}>
59
- <ChevronIcon color={AppColors.grayTextStrong} size={14}/>
60
- </Animated.View>
55
+ <View style={styles.paramsAccordionRight}>
56
+ <CopyButton value={routeInfo.params} label="Parameters"/>
57
+ <View style={styles.iconSquareBtn}>
58
+ <View style={params.chevronStyle}>
59
+ <ChevronIcon color={AppColors.grayTextStrong} size={14}/>
60
+ </View>
61
+ </View>
61
62
  </View>
62
63
  </View>
63
- </View>
64
- </Pressable>
64
+ </Pressable>
65
65
 
66
- <Animated.View style={params.bodyStyle}>
67
- <View style={styles.paramsBody}>
68
- {Object.entries(routeInfo.params).map(([key, val], i, arr) => (<View key={key} style={[
69
- styles.paramRow,
70
- i < arr.length - 1 ? styles.paramRowBorder : null,
71
- ]}>
72
- <Text style={styles.paramKey}>{key}</Text>
73
- <View style={styles.paramValueRow}>
74
- <Text selectable style={styles.paramValue}>
75
- {typeof val === 'object'
76
- ? JSON.stringify(val)
77
- : String(val)}
78
- </Text>
79
- <CopyButton value={typeof val === 'object'
80
- ? JSON.stringify(val)
81
- : String(val)} label={key}/>
82
- </View>
83
- </View>))}
84
- </View>
85
- </Animated.View>
86
- </View>)}
87
- </Animated.View>
66
+ {params.isOpen && (<View style={styles.paramsBody}>
67
+ {Object.entries(routeInfo.params).map(([key, val], i, arr) => (<View key={key} style={[
68
+ styles.paramRow,
69
+ i < arr.length - 1 ? styles.paramRowBorder : null,
70
+ ]}>
71
+ <Text style={styles.paramKey}>{key}</Text>
72
+ <View style={styles.paramValueRow}>
73
+ <Text selectable style={styles.paramValue}>
74
+ {typeof val === 'object'
75
+ ? JSON.stringify(val)
76
+ : String(val)}
77
+ </Text>
78
+ <CopyButton value={typeof val === 'object'
79
+ ? JSON.stringify(val)
80
+ : String(val)} label={key}/>
81
+ </View>
82
+ </View>))}
83
+ </View>)}
84
+ </View>)}
85
+ </View>)}
88
86
  </View>);
89
87
  };
90
88
  export default SourcePageCard;
@@ -19,13 +19,13 @@ const Toast = React.memo(() => {
19
19
  Animated.timing(opacityAnim, {
20
20
  toValue: 1,
21
21
  duration: 180,
22
- useNativeDriver: true,
22
+ useNativeDriver: false,
23
23
  }),
24
24
  Animated.spring(translateYAnim, {
25
25
  toValue: 0,
26
26
  tension: 80,
27
27
  friction: 8,
28
- useNativeDriver: true,
28
+ useNativeDriver: false,
29
29
  }),
30
30
  ]).start();
31
31
  hideTimerRef.current = setTimeout(() => {
@@ -33,12 +33,12 @@ const Toast = React.memo(() => {
33
33
  Animated.timing(opacityAnim, {
34
34
  toValue: 0,
35
35
  duration: 200,
36
- useNativeDriver: true,
36
+ useNativeDriver: false,
37
37
  }),
38
38
  Animated.timing(translateYAnim, {
39
39
  toValue: 20,
40
40
  duration: 200,
41
- useNativeDriver: true,
41
+ useNativeDriver: false,
42
42
  }),
43
43
  ]).start(() => {
44
44
  setToastMessage(null);
@@ -1,45 +1,19 @@
1
- import React, { useRef } from 'react';
2
- import { Animated, Pressable } from 'react-native';
1
+ import React from 'react';
2
+ import { Pressable } from 'react-native';
3
3
  import { triggerNativeHaptic } from '../native/NativeInspector';
4
- const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
5
4
  const TouchableScale = React.memo(function TouchableScale({ onPress, onLongPress, style, children, hitSlop, disabled, enableHaptics = true, accessible, accessibilityRole, accessibilityLabel, accessibilityHint, accessibilityState, accessibilityValue, ...rest }) {
6
- const scale = useRef(new Animated.Value(1)).current;
7
- const opacity = useRef(new Animated.Value(1)).current;
8
5
  const handlePressIn = () => {
9
6
  if (disabled)
10
7
  return;
11
8
  if (enableHaptics) {
12
9
  triggerNativeHaptic('light');
13
10
  }
14
- Animated.parallel([
15
- Animated.timing(scale, {
16
- toValue: 0.94,
17
- duration: 50,
18
- useNativeDriver: true,
19
- }),
20
- Animated.timing(opacity, {
21
- toValue: 0.85,
22
- duration: 50,
23
- useNativeDriver: true,
24
- }),
25
- ]).start();
26
11
  };
27
- const handlePressOut = () => {
28
- Animated.parallel([
29
- Animated.timing(scale, {
30
- toValue: 1,
31
- duration: 100,
32
- useNativeDriver: true,
33
- }),
34
- Animated.timing(opacity, {
35
- toValue: 1,
36
- duration: 100,
37
- useNativeDriver: true,
38
- }),
39
- ]).start();
40
- };
41
- return (<AnimatedPressable accessible={accessible} accessibilityRole={accessibilityRole} accessibilityLabel={accessibilityLabel} accessibilityHint={accessibilityHint} accessibilityState={accessibilityState} accessibilityValue={accessibilityValue} disabled={disabled} style={[style, { opacity, transform: [{ scale }] }]} onPressIn={handlePressIn} onPressOut={handlePressOut} onPress={onPress} onLongPress={onLongPress} hitSlop={hitSlop} {...rest}>
12
+ return (<Pressable accessible={accessible} accessibilityRole={accessibilityRole} accessibilityLabel={accessibilityLabel} accessibilityHint={accessibilityHint} accessibilityState={accessibilityState} accessibilityValue={accessibilityValue} disabled={disabled} style={({ pressed }) => [
13
+ typeof style === 'function' ? style({ pressed }) : style,
14
+ pressed && !disabled && { opacity: 0.82, transform: [{ scale: 0.96 }] },
15
+ ]} onPressIn={handlePressIn} onPress={onPress} onLongPress={onLongPress} hitSlop={hitSlop} {...rest}>
42
16
  {children}
43
- </AnimatedPressable>);
17
+ </Pressable>);
44
18
  });
45
19
  export default TouchableScale;
@@ -1,5 +1,5 @@
1
- import React, { useState, useRef, useEffect } from 'react';
2
- import { Text, View, Image, Animated, Pressable } from 'react-native';
1
+ import React, { useState, useEffect } from 'react';
2
+ import { Text, View, Image, Pressable } from 'react-native';
3
3
  import { escapeRegex } from '../helpers';
4
4
  import { ChevronIcon, DocIcon } from './NetworkIcons';
5
5
  import { AppColors } from '../styles/AppColors';
@@ -19,18 +19,6 @@ const TreeNode = React.memo(function TreeNode({ data, name, level = 0, search, f
19
19
  }, [forceOpen]);
20
20
  const isObject = typeof data === 'object' && data !== null;
21
21
  const isArray = Array.isArray(data);
22
- const treeChevronAnim = useRef(new Animated.Value(open ? 1 : 0)).current;
23
- useEffect(() => {
24
- Animated.timing(treeChevronAnim, {
25
- toValue: open ? 1 : 0,
26
- duration: 160,
27
- useNativeDriver: true,
28
- }).start();
29
- }, [open]);
30
- const treeChevronRotate = treeChevronAnim.interpolate({
31
- inputRange: [0, 1],
32
- outputRange: ['0deg', '180deg'],
33
- });
34
22
  function renderHighlighted(text) {
35
23
  if (text === 'null' || text === 'undefined') {
36
24
  return [
@@ -89,9 +77,9 @@ const TreeNode = React.memo(function TreeNode({ data, name, level = 0, search, f
89
77
  const countLabel = isArray ? `[${entries.length}]` : `{${entries.length}}`;
90
78
  return (<View style={indentStyle}>
91
79
  <Pressable style={styles.treeRow} onPress={() => setLocalOpen(v => !v)} hitSlop={{ top: 10, bottom: 10, left: 10, right: 10 }}>
92
- <Animated.View style={{ transform: [{ rotate: treeChevronRotate }], marginRight: 6 }}>
80
+ <View style={{ transform: [{ rotate: open ? '180deg' : '0deg' }], marginRight: 6 }}>
93
81
  <ChevronIcon color={AppColors.grayTextWeak} size={12}/>
94
- </Animated.View>
82
+ </View>
95
83
  {name !== undefined && (<Text style={[styles.codeKey, styles.treeKeyMargin]}>{`"${String(name)}"`}</Text>)}
96
84
  {isArray ? (<View style={styles.arrayBadge}>
97
85
  <Text style={styles.arrayBadgeText}>{countLabel}</Text>
@@ -1,3 +1,3 @@
1
- export declare const ENC_MID = "df8ace0290a695bd05986213";
2
- export declare const ENC_SEC = "db93cb0186b1f7bb0ba63a0d0a64997586849455ce37";
3
- export declare const TELEMETRY_SALT = "rn-inapp-inspector-telemetry-v1";
1
+ export declare const ENC_MID = "";
2
+ export declare const ENC_SEC = "";
3
+ export declare const TELEMETRY_SALT = "";
@@ -1,3 +1,3 @@
1
- export const ENC_MID = 'df8ace0290a695bd05986213';
2
- export const ENC_SEC = 'db93cb0186b1f7bb0ba63a0d0a64997586849455ce37';
3
- export const TELEMETRY_SALT = 'rn-inapp-inspector-telemetry-v1';
1
+ export const ENC_MID = '';
2
+ export const ENC_SEC = '';
3
+ export const TELEMETRY_SALT = '';
@@ -1 +1 @@
1
- export declare const LIB_VERSION = "2.3.16";
1
+ export declare const LIB_VERSION = "2.3.18";
@@ -1 +1 @@
1
- export const LIB_VERSION = '2.3.16';
1
+ export const LIB_VERSION = '2.3.18';