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
@@ -108,7 +108,7 @@ const LogCard = React.memo(function LogCard({
108
108
  Animated.timing(shimmerOpacity, {
109
109
  toValue: 0,
110
110
  duration: 1200,
111
- useNativeDriver: true,
111
+ useNativeDriver: false,
112
112
  }).start();
113
113
  }
114
114
  }, [isNew]);
@@ -423,13 +423,15 @@ const LogCard = React.memo(function LogCard({
423
423
  )}
424
424
  </View>
425
425
 
426
- <Animated.View
427
- pointerEvents="none"
428
- style={[
429
- StyleSheet.absoluteFill,
430
- {backgroundColor: methodColor, opacity: shimmerOpacity},
431
- ]}
432
- />
426
+ {isNew && (
427
+ <Animated.View
428
+ pointerEvents="none"
429
+ style={[
430
+ StyleSheet.absoluteFill,
431
+ {backgroundColor: methodColor, opacity: shimmerOpacity},
432
+ ]}
433
+ />
434
+ )}
433
435
  </TouchableScale>
434
436
  </View>
435
437
  );
@@ -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
 
5
5
  // Constants
6
6
  import {DURATION_FAST_MS, DURATION_SLOW_MS} from '../constants';
@@ -46,7 +46,7 @@ const MetaAccordion = ({
46
46
  }: MetaAccordionProps) => {
47
47
  const {t} = useTranslation();
48
48
  const [urlExpanded, setUrlExpanded] = useState(false);
49
- const {toggleOpen, chevronStyle, bodyStyle} = useAccordion(true, 800, 390);
49
+ const {isOpen, toggleOpen, chevronStyle} = useAccordion(true);
50
50
  const isFailed = status === 0 || status == null;
51
51
 
52
52
  const renderFormattedUrl = (rawUrl: string) => {
@@ -111,14 +111,14 @@ const MetaAccordion = ({
111
111
  }}
112
112
  label="Metadata"
113
113
  />
114
- <Animated.View style={chevronStyle}>
114
+ <View style={chevronStyle}>
115
115
  <ChevronIcon color={AppColors.grayTextWeak} size={14} />
116
- </Animated.View>
116
+ </View>
117
117
  </View>
118
118
  </View>
119
119
  </Pressable>
120
120
 
121
- <Animated.View style={bodyStyle}>
121
+ {isOpen && (
122
122
  <View style={styles.metaBody}>
123
123
  <View style={styles.metaRow}>
124
124
  <View style={styles.metaLabelRow}>
@@ -347,7 +347,7 @@ const MetaAccordion = ({
347
347
  </View>
348
348
  </View>
349
349
  </View>
350
- </Animated.View>
350
+ )}
351
351
  </View>
352
352
  );
353
353
  };
@@ -2447,3 +2447,153 @@ export const LifeBuoyIcon = ({
2447
2447
  </Svg>
2448
2448
  );
2449
2449
 
2450
+ export const CameraIcon = ({
2451
+ color = AppColors.white,
2452
+ size = 18,
2453
+ }: IconProps) => (
2454
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
2455
+ <Path
2456
+ 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"
2457
+ stroke={color}
2458
+ strokeWidth="2"
2459
+ strokeLinecap="round"
2460
+ strokeLinejoin="round"
2461
+ />
2462
+ <Circle cx="12" cy="13" r="4" stroke={color} strokeWidth="2" />
2463
+ </Svg>
2464
+ );
2465
+
2466
+ export const VideoCameraIcon = ({
2467
+ color = AppColors.white,
2468
+ size = 18,
2469
+ }: IconProps) => (
2470
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
2471
+ <Path
2472
+ d="M23 7l-7 5 7 5V7z"
2473
+ stroke={color}
2474
+ strokeWidth="2"
2475
+ strokeLinecap="round"
2476
+ strokeLinejoin="round"
2477
+ />
2478
+ <Rect
2479
+ x="1"
2480
+ y="5"
2481
+ width="15"
2482
+ height="14"
2483
+ rx="2"
2484
+ stroke={color}
2485
+ strokeWidth="2"
2486
+ strokeLinecap="round"
2487
+ strokeLinejoin="round"
2488
+ />
2489
+ </Svg>
2490
+ );
2491
+
2492
+ export const MicrophoneIcon = ({
2493
+ color = AppColors.white,
2494
+ size = 18,
2495
+ }: IconProps) => (
2496
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
2497
+ <Path
2498
+ d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"
2499
+ stroke={color}
2500
+ strokeWidth="2"
2501
+ strokeLinecap="round"
2502
+ strokeLinejoin="round"
2503
+ />
2504
+ <Path
2505
+ d="M19 10v2a7 7 0 0 1-14 0v-2"
2506
+ stroke={color}
2507
+ strokeWidth="2"
2508
+ strokeLinecap="round"
2509
+ strokeLinejoin="round"
2510
+ />
2511
+ <Line x1="12" y1="19" x2="12" y2="23" stroke={color} strokeWidth="2" strokeLinecap="round" />
2512
+ <Line x1="8" y1="23" x2="16" y2="23" stroke={color} strokeWidth="2" strokeLinecap="round" />
2513
+ </Svg>
2514
+ );
2515
+
2516
+ export const GifIcon = ({
2517
+ color = AppColors.white,
2518
+ size = 18,
2519
+ }: IconProps) => (
2520
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
2521
+ <Rect x="2" y="4" width="20" height="16" rx="3" stroke={color} strokeWidth="2" />
2522
+ <Path
2523
+ d="M7 10h-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h1v-2H6.5"
2524
+ stroke={color}
2525
+ strokeWidth="1.75"
2526
+ strokeLinecap="round"
2527
+ strokeLinejoin="round"
2528
+ />
2529
+ <Path d="M12 10v4" stroke={color} strokeWidth="1.75" strokeLinecap="round" />
2530
+ <Path
2531
+ d="M18 10h-2v4M16 12h1.5"
2532
+ stroke={color}
2533
+ strokeWidth="1.75"
2534
+ strokeLinecap="round"
2535
+ strokeLinejoin="round"
2536
+ />
2537
+ </Svg>
2538
+ );
2539
+
2540
+ export const PlayIcon = ({
2541
+ color = AppColors.white,
2542
+ size = 18,
2543
+ }: IconProps) => (
2544
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
2545
+ <Path
2546
+ d="M5 3l14 9-14 9V3z"
2547
+ fill={color}
2548
+ stroke={color}
2549
+ strokeWidth="1.5"
2550
+ strokeLinecap="round"
2551
+ strokeLinejoin="round"
2552
+ />
2553
+ </Svg>
2554
+ );
2555
+
2556
+ export const PauseIcon = ({
2557
+ color = AppColors.white,
2558
+ size = 18,
2559
+ }: IconProps) => (
2560
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
2561
+ <Rect x="6" y="4" width="4" height="16" fill={color} rx="1" />
2562
+ <Rect x="14" y="4" width="4" height="16" fill={color} rx="1" />
2563
+ </Svg>
2564
+ );
2565
+
2566
+ export const ImageIcon = ({
2567
+ color = AppColors.white,
2568
+ size = 18,
2569
+ }: IconProps) => (
2570
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
2571
+ <Rect x="3" y="3" width="18" height="18" rx="2" stroke={color} strokeWidth="2" />
2572
+ <Circle cx="8.5" cy="8.5" r="1.5" fill={color} />
2573
+ <Path
2574
+ d="M21 15l-5-5L5 21"
2575
+ stroke={color}
2576
+ strokeWidth="2"
2577
+ strokeLinecap="round"
2578
+ strokeLinejoin="round"
2579
+ />
2580
+ </Svg>
2581
+ );
2582
+
2583
+ export const FilmIcon = ({
2584
+ color = AppColors.white,
2585
+ size = 18,
2586
+ }: IconProps) => (
2587
+ <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
2588
+ <Rect x="2" y="2" width="20" height="20" rx="2.18" stroke={color} strokeWidth="2" />
2589
+ <Line x1="7" y1="2" x2="7" y2="22" stroke={color} strokeWidth="2" />
2590
+ <Line x1="17" y1="2" x2="17" y2="22" stroke={color} strokeWidth="2" />
2591
+ <Line x1="2" y1="12" x2="22" y2="12" stroke={color} strokeWidth="2" />
2592
+ <Line x1="2" y1="7" x2="7" y2="7" stroke={color} strokeWidth="2" />
2593
+ <Line x1="2" y1="17" x2="7" y2="17" stroke={color} strokeWidth="2" />
2594
+ <Line x1="17" y1="17" x2="22" y2="17" stroke={color} strokeWidth="2" />
2595
+ <Line x1="17" y1="7" x2="22" y2="7" stroke={color} strokeWidth="2" />
2596
+ </Svg>
2597
+ );
2598
+
2599
+
@@ -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
 
4
4
  // Stylesheet
5
5
  import {AppColors} from '../styles/AppColors';
@@ -37,18 +37,6 @@ const SectionHeader = ({
37
37
  onToggleSearch,
38
38
  }: SectionHeaderProps) => {
39
39
  const isOpen = expanded === undefined ? false : !!expanded;
40
- const chevronAnim = useRef(new Animated.Value(isOpen ? 1 : 0)).current;
41
- useEffect(() => {
42
- Animated.timing(chevronAnim, {
43
- toValue: isOpen ? 1 : 0,
44
- duration: 220,
45
- useNativeDriver: true,
46
- }).start();
47
- }, [isOpen]);
48
- const chevronRotate = chevronAnim.interpolate({
49
- inputRange: [0, 1],
50
- outputRange: ['0deg', '180deg'],
51
- });
52
40
 
53
41
  return (
54
42
  <View style={styles.sectionHeaderGradient}>
@@ -100,9 +88,9 @@ const SectionHeader = ({
100
88
  onPress={onToggleExpand}
101
89
  hitSlop={12}
102
90
  style={styles.iconSquareBtn}>
103
- <Animated.View style={{transform: [{rotate: chevronRotate}]}}>
91
+ <View style={{transform: [{rotate: isOpen ? '180deg' : '0deg'}]}}>
104
92
  <ChevronIcon color={AppColors.grayTextStrong} size={14} />
105
- </Animated.View>
93
+ </View>
106
94
  </TouchableScale>
107
95
  </View>
108
96
  </View>
@@ -17,12 +17,12 @@ export const SkeletonPlaceholder = React.memo(function SkeletonPlaceholder({
17
17
  Animated.timing(shimmerAnim, {
18
18
  toValue: 0.85,
19
19
  duration: 750,
20
- useNativeDriver: true,
20
+ useNativeDriver: false,
21
21
  }),
22
22
  Animated.timing(shimmerAnim, {
23
23
  toValue: 0.35,
24
24
  duration: 750,
25
- useNativeDriver: true,
25
+ useNativeDriver: false,
26
26
  }),
27
27
  ]),
28
28
  );
@@ -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
 
5
5
  // Components
@@ -19,8 +19,8 @@ import {AppColors} from '../styles/AppColors';
19
19
  import styles from '../styles';
20
20
 
21
21
  const SourcePageCard = ({routeInfo}: SourcePageCardProps) => {
22
- const main = useAccordion(true, 600, 280);
23
- const params = useAccordion(false, 800, 260);
22
+ const main = useAccordion(true);
23
+ const params = useAccordion(false);
24
24
 
25
25
  const hasParams =
26
26
  routeInfo.params && Object.keys(routeInfo.params).length > 0;
@@ -77,70 +77,72 @@ const SourcePageCard = ({routeInfo}: SourcePageCardProps) => {
77
77
  <View style={styles.sourcePageHeaderRight}>
78
78
  <CopyButton value={routeInfo.path} label="Source Path" />
79
79
  <View style={styles.iconSquareBtn}>
80
- <Animated.View style={main.chevronStyle}>
80
+ <View style={main.chevronStyle}>
81
81
  <ChevronIcon color={AppColors.grayTextStrong} size={14} />
82
- </Animated.View>
82
+ </View>
83
83
  </View>
84
84
  </View>
85
85
  </View>
86
86
  </Pressable>
87
87
 
88
- <Animated.View style={main.bodyStyle}>
89
- {hasParams && (
90
- <View style={styles.sourceParamsBox}>
91
- <Pressable onPress={params.toggleOpen} hitSlop={10}>
92
- <View style={styles.paramsAccordionHeader}>
93
- <View style={styles.paramsAccordionLeft}>
94
- <Text style={styles.sourceParamsLabel}>Parameters</Text>
95
- <View style={styles.headerCountBadge}>
96
- <Text style={styles.headerCountText}>
97
- {Object.keys(routeInfo.params).length}
98
- </Text>
88
+ {main.isOpen && (
89
+ <View>
90
+ {hasParams && (
91
+ <View style={styles.sourceParamsBox}>
92
+ <Pressable onPress={params.toggleOpen} hitSlop={10}>
93
+ <View style={styles.paramsAccordionHeader}>
94
+ <View style={styles.paramsAccordionLeft}>
95
+ <Text style={styles.sourceParamsLabel}>Parameters</Text>
96
+ <View style={styles.headerCountBadge}>
97
+ <Text style={styles.headerCountText}>
98
+ {Object.keys(routeInfo.params).length}
99
+ </Text>
100
+ </View>
99
101
  </View>
100
- </View>
101
- <View style={styles.paramsAccordionRight}>
102
- <CopyButton value={routeInfo.params} label="Parameters" />
103
- <View style={styles.iconSquareBtn}>
104
- <Animated.View style={params.chevronStyle}>
105
- <ChevronIcon color={AppColors.grayTextStrong} size={14} />
106
- </Animated.View>
102
+ <View style={styles.paramsAccordionRight}>
103
+ <CopyButton value={routeInfo.params} label="Parameters" />
104
+ <View style={styles.iconSquareBtn}>
105
+ <View style={params.chevronStyle}>
106
+ <ChevronIcon color={AppColors.grayTextStrong} size={14} />
107
+ </View>
108
+ </View>
107
109
  </View>
108
110
  </View>
109
- </View>
110
- </Pressable>
111
+ </Pressable>
111
112
 
112
- <Animated.View style={params.bodyStyle}>
113
- <View style={styles.paramsBody}>
114
- {Object.entries(routeInfo.params).map(([key, val], i, arr) => (
115
- <View
116
- key={key}
117
- style={[
118
- styles.paramRow,
119
- i < arr.length - 1 ? styles.paramRowBorder : null,
120
- ]}>
121
- <Text style={styles.paramKey}>{key}</Text>
122
- <View style={styles.paramValueRow}>
123
- <Text selectable style={styles.paramValue}>
124
- {typeof val === 'object'
125
- ? JSON.stringify(val)
126
- : String(val)}
127
- </Text>
128
- <CopyButton
129
- value={
130
- typeof val === 'object'
113
+ {params.isOpen && (
114
+ <View style={styles.paramsBody}>
115
+ {Object.entries(routeInfo.params).map(([key, val], i, arr) => (
116
+ <View
117
+ key={key}
118
+ style={[
119
+ styles.paramRow,
120
+ i < arr.length - 1 ? styles.paramRowBorder : null,
121
+ ]}>
122
+ <Text style={styles.paramKey}>{key}</Text>
123
+ <View style={styles.paramValueRow}>
124
+ <Text selectable style={styles.paramValue}>
125
+ {typeof val === 'object'
131
126
  ? JSON.stringify(val)
132
- : String(val)
133
- }
134
- label={key}
135
- />
127
+ : String(val)}
128
+ </Text>
129
+ <CopyButton
130
+ value={
131
+ typeof val === 'object'
132
+ ? JSON.stringify(val)
133
+ : String(val)
134
+ }
135
+ label={key}
136
+ />
137
+ </View>
136
138
  </View>
137
- </View>
138
- ))}
139
- </View>
140
- </Animated.View>
141
- </View>
142
- )}
143
- </Animated.View>
139
+ ))}
140
+ </View>
141
+ )}
142
+ </View>
143
+ )}
144
+ </View>
145
+ )}
144
146
  </View>
145
147
  );
146
148
  };
@@ -23,13 +23,13 @@ const Toast = React.memo(() => {
23
23
  Animated.timing(opacityAnim, {
24
24
  toValue: 1,
25
25
  duration: 180,
26
- useNativeDriver: true,
26
+ useNativeDriver: false,
27
27
  }),
28
28
  Animated.spring(translateYAnim, {
29
29
  toValue: 0,
30
30
  tension: 80,
31
31
  friction: 8,
32
- useNativeDriver: true,
32
+ useNativeDriver: false,
33
33
  }),
34
34
  ]).start();
35
35
 
@@ -38,12 +38,12 @@ const Toast = React.memo(() => {
38
38
  Animated.timing(opacityAnim, {
39
39
  toValue: 0,
40
40
  duration: 200,
41
- useNativeDriver: true,
41
+ useNativeDriver: false,
42
42
  }),
43
43
  Animated.timing(translateYAnim, {
44
44
  toValue: 20,
45
45
  duration: 200,
46
- useNativeDriver: true,
46
+ useNativeDriver: false,
47
47
  }),
48
48
  ]).start(() => {
49
49
  setToastMessage(null);
@@ -1,9 +1,7 @@
1
- import React, {useRef} from 'react';
2
- import {Animated, Pressable, PressableProps} from 'react-native';
1
+ import React from 'react';
2
+ import {Pressable, PressableProps} from 'react-native';
3
3
  import {triggerNativeHaptic} from '../native/NativeInspector';
4
4
 
5
- const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
6
-
7
5
  export interface TouchableScaleProps extends PressableProps {
8
6
  onPress?: () => void;
9
7
  onLongPress?: () => void;
@@ -30,45 +28,15 @@ const TouchableScale = React.memo(function TouchableScale({
30
28
  accessibilityValue,
31
29
  ...rest
32
30
  }: TouchableScaleProps) {
33
- const scale = useRef(new Animated.Value(1)).current;
34
- const opacity = useRef(new Animated.Value(1)).current;
35
-
36
31
  const handlePressIn = () => {
37
32
  if (disabled) return;
38
33
  if (enableHaptics) {
39
34
  triggerNativeHaptic('light');
40
35
  }
41
- Animated.parallel([
42
- Animated.timing(scale, {
43
- toValue: 0.94,
44
- duration: 50,
45
- useNativeDriver: true,
46
- }),
47
- Animated.timing(opacity, {
48
- toValue: 0.85,
49
- duration: 50,
50
- useNativeDriver: true,
51
- }),
52
- ]).start();
53
- };
54
-
55
- const handlePressOut = () => {
56
- Animated.parallel([
57
- Animated.timing(scale, {
58
- toValue: 1,
59
- duration: 100,
60
- useNativeDriver: true,
61
- }),
62
- Animated.timing(opacity, {
63
- toValue: 1,
64
- duration: 100,
65
- useNativeDriver: true,
66
- }),
67
- ]).start();
68
36
  };
69
37
 
70
38
  return (
71
- <AnimatedPressable
39
+ <Pressable
72
40
  accessible={accessible}
73
41
  accessibilityRole={accessibilityRole}
74
42
  accessibilityLabel={accessibilityLabel}
@@ -76,15 +44,17 @@ const TouchableScale = React.memo(function TouchableScale({
76
44
  accessibilityState={accessibilityState}
77
45
  accessibilityValue={accessibilityValue}
78
46
  disabled={disabled}
79
- style={[style, {opacity, transform: [{scale}]}]}
47
+ style={({pressed}) => [
48
+ typeof style === 'function' ? style({pressed}) : style,
49
+ pressed && !disabled && {opacity: 0.82, transform: [{scale: 0.96}]},
50
+ ]}
80
51
  onPressIn={handlePressIn}
81
- onPressOut={handlePressOut}
82
52
  onPress={onPress}
83
53
  onLongPress={onLongPress}
84
54
  hitSlop={hitSlop}
85
55
  {...rest}>
86
56
  {children}
87
- </AnimatedPressable>
57
+ </Pressable>
88
58
  );
89
59
  });
90
60
 
@@ -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
 
4
4
  // Helpers
5
5
  import {escapeRegex} from '../helpers';
@@ -39,21 +39,6 @@ const TreeNode = React.memo(function TreeNode({
39
39
  const isObject = typeof data === 'object' && data !== null;
40
40
  const isArray = Array.isArray(data);
41
41
 
42
- // Declare all hooks at the top unconditionally (prevents "Rendered fewer hooks than expected" error)
43
- const treeChevronAnim = useRef(new Animated.Value(open ? 1 : 0)).current;
44
- useEffect(() => {
45
- Animated.timing(treeChevronAnim, {
46
- toValue: open ? 1 : 0,
47
- duration: 160,
48
- useNativeDriver: true,
49
- }).start();
50
- }, [open]);
51
-
52
- const treeChevronRotate = treeChevronAnim.interpolate({
53
- inputRange: [0, 1],
54
- outputRange: ['0deg', '180deg'],
55
- });
56
-
57
42
  function renderHighlighted(text: string): React.ReactNode[] {
58
43
  if (text === 'null' || text === 'undefined') {
59
44
  return [
@@ -145,10 +130,10 @@ const TreeNode = React.memo(function TreeNode({
145
130
  style={styles.treeRow}
146
131
  onPress={() => setLocalOpen(v => !v)}
147
132
  hitSlop={{top: 10, bottom: 10, left: 10, right: 10}}>
148
- <Animated.View
149
- style={{transform: [{rotate: treeChevronRotate}], marginRight: 6}}>
133
+ <View
134
+ style={{transform: [{rotate: open ? '180deg' : '0deg'}], marginRight: 6}}>
150
135
  <ChevronIcon color={AppColors.grayTextWeak} size={12} />
151
- </Animated.View>
136
+ </View>
152
137
  {name !== undefined && (
153
138
  <Text style={[styles.codeKey, styles.treeKeyMargin]}>{`"${String(
154
139
  name,
@@ -1,6 +1,4 @@
1
1
  // AUTO-GENERATED FILE — do not edit by hand.
2
- // Generated by scripts/gen-telemetry.js from .env at build time.
3
-
4
- export const ENC_MID = 'df8ace0290a695bd05986213';
5
- export const ENC_SEC = 'db93cb0186b1f7bb0ba63a0d0a64997586849455ce37';
6
- export const TELEMETRY_SALT = 'rn-inapp-inspector-telemetry-v1';
2
+ export const ENC_MID = '';
3
+ export const ENC_SEC = '';
4
+ export const TELEMETRY_SALT = '';
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED FILE — do not edit by hand.
2
2
  // Regenerated from package.json on every build by scripts/gen-version.js.
3
- export const LIB_VERSION = '2.3.16';
3
+ export const LIB_VERSION = '2.3.18';
@@ -1,58 +1,25 @@
1
- import {useCallback, useRef, useState} from 'react';
2
- import {Animated} from 'react-native';
1
+ import {useCallback, useState} from 'react';
3
2
 
4
3
  const useAccordion = (
5
4
  initialOpen = false,
6
- maxBodyHeight = 1200,
7
- duration = 280,
5
+ _maxBodyHeight = 1200,
6
+ _duration = 280,
8
7
  ) => {
9
8
  const [isOpen, setIsOpen] = useState(initialOpen);
10
- const animVal = useRef(new Animated.Value(initialOpen ? 1 : 0)).current;
11
9
 
12
10
  const toggleOpen = useCallback(() => {
13
- const next = !isOpen;
14
- setIsOpen(next);
15
- Animated.timing(animVal, {
16
- toValue: next ? 1 : 0,
17
- duration,
18
- useNativeDriver: false,
19
- }).start();
20
- }, [isOpen, animVal, duration]);
11
+ setIsOpen(prev => !prev);
12
+ }, []);
21
13
 
22
- const forceOpen = useCallback(
23
- (open: boolean) => {
24
- setIsOpen(open);
25
- Animated.timing(animVal, {
26
- toValue: open ? 1 : 0,
27
- duration,
28
- useNativeDriver: false,
29
- }).start();
30
- },
31
- [animVal, duration],
32
- );
14
+ const forceOpen = useCallback((open: boolean) => {
15
+ setIsOpen(open);
16
+ }, []);
33
17
 
34
18
  const chevronStyle = {
35
- transform: [
36
- {
37
- rotate: animVal.interpolate({
38
- inputRange: [0, 1],
39
- outputRange: ['0deg', '180deg'],
40
- }),
41
- },
42
- ],
19
+ transform: [{rotate: isOpen ? '180deg' : '0deg'}],
43
20
  };
44
21
 
45
- const bodyStyle = {
46
- maxHeight: animVal.interpolate({
47
- inputRange: [0, 1],
48
- outputRange: [0, maxBodyHeight],
49
- }),
50
- overflow: 'hidden' as const,
51
- opacity: animVal.interpolate({
52
- inputRange: [0, 0.4, 1],
53
- outputRange: [0, 0.7, 1],
54
- }),
55
- };
22
+ const bodyStyle = {};
56
23
 
57
24
  return {isOpen, toggleOpen, forceOpen, chevronStyle, bodyStyle};
58
25
  };