react-native-inapp-inspector 2.3.15 → 2.3.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +438 -7
- package/bin/cli.js +0 -0
- package/dist/commonjs/capture.d.ts +26 -0
- package/dist/commonjs/capture.js +32 -0
- package/dist/commonjs/components/AnalyticsEventCard.js +11 -11
- package/dist/commonjs/components/AnimatedEntrance.js +6 -70
- package/dist/commonjs/components/DomainHeader.js +3 -48
- package/dist/commonjs/components/EmptyState.js +2 -2
- package/dist/commonjs/components/HeadersSection.js +14 -34
- package/dist/commonjs/components/Inspector/AnalyticsTab.js +1 -24
- package/dist/commonjs/components/Inspector/ConsoleTab.js +1 -23
- package/dist/commonjs/components/Inspector/CrashTab.js +4 -25
- package/dist/commonjs/components/Inspector/DebuggingTab.js +2 -2
- package/dist/commonjs/components/Inspector/FeedbackModal.d.ts +7 -0
- package/dist/commonjs/components/Inspector/FeedbackModal.js +552 -0
- package/dist/commonjs/components/Inspector/InspectorHeader.js +675 -285
- package/dist/commonjs/components/Inspector/MainScreen.js +66 -69
- package/dist/commonjs/components/Inspector/MediaGalleryTab.d.ts +2 -0
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +307 -0
- package/dist/commonjs/components/Inspector/MediaPreviewModal.d.ts +11 -0
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +393 -0
- package/dist/commonjs/components/Inspector/NetworkTab.js +196 -206
- package/dist/commonjs/components/Inspector/NpmStarPrompt.d.ts +3 -0
- package/dist/commonjs/components/Inspector/NpmStarPrompt.js +494 -0
- package/dist/commonjs/components/Inspector/NpmUpdateToast.js +4 -9
- package/dist/commonjs/components/Inspector/PerformanceTab.js +8 -1
- package/dist/commonjs/components/Inspector/ReduxTab.js +4 -24
- package/dist/commonjs/components/Inspector/SettingsPanel.js +1280 -173
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +2 -2
- package/dist/commonjs/components/Inspector/StorageTab.js +3 -26
- package/dist/commonjs/components/Inspector/TabBar.js +55 -25
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +5 -10
- package/dist/commonjs/components/JsonViewer.js +43 -20
- package/dist/commonjs/components/LogCard.js +5 -5
- package/dist/commonjs/components/MetaAccordion.js +78 -80
- package/dist/commonjs/components/NetworkIcons.d.ts +13 -0
- package/dist/commonjs/components/NetworkIcons.js +83 -2
- package/dist/commonjs/components/SectionHeader.js +3 -48
- package/dist/commonjs/components/SkeletonPlaceholder.js +2 -2
- package/dist/commonjs/components/SourcePageCard.js +43 -45
- package/dist/commonjs/components/Toast.js +4 -4
- package/dist/commonjs/components/TouchableScale.js +9 -65
- package/dist/commonjs/components/TreeNode.js +2 -14
- package/dist/commonjs/constants/telemetryConfig.d.ts +3 -3
- package/dist/commonjs/constants/telemetryConfig.js +3 -3
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/customHooks/useAccordion.d.ts +3 -8
- package/dist/commonjs/customHooks/useAccordion.js +6 -36
- package/dist/commonjs/helpers/index.d.ts +3 -1
- package/dist/commonjs/helpers/index.js +11 -1
- package/dist/commonjs/helpers/remoteConfig.d.ts +4 -0
- package/dist/commonjs/helpers/remoteConfig.js +165 -0
- package/dist/commonjs/helpers/searchQueryParser.js +2 -0
- package/dist/commonjs/helpers/telemetry.d.ts +5 -0
- package/dist/commonjs/helpers/telemetry.js +339 -8
- package/dist/commonjs/i18n/locales/en.json +66 -2
- package/dist/commonjs/index.d.ts +2 -0
- package/dist/commonjs/index.js +70 -23
- package/dist/commonjs/native/NativeInspector.d.ts +60 -0
- package/dist/commonjs/native/NativeInspector.js +109 -2
- package/dist/commonjs/native/NativeNetworkInspector.d.ts +8 -0
- package/dist/commonjs/styles/AppColors.d.ts +36 -0
- package/dist/commonjs/styles/AppColors.js +36 -0
- package/dist/commonjs/styles/AppFonts.d.ts +2 -0
- package/dist/commonjs/styles/AppFonts.js +1 -0
- package/dist/commonjs/styles/index.d.ts +25 -1
- package/dist/commonjs/styles/index.js +22 -1
- package/dist/commonjs/types/enums.d.ts +2 -0
- package/dist/commonjs/types/enums.js +2 -0
- package/dist/commonjs/types/index.d.ts +2 -2
- package/dist/commonjs/types/interfaces.d.ts +12 -0
- package/dist/esm/capture.d.ts +26 -0
- package/dist/esm/capture.js +29 -0
- package/dist/esm/components/AnalyticsEventCard.js +11 -11
- package/dist/esm/components/AnimatedEntrance.js +4 -38
- package/dist/esm/components/DomainHeader.js +4 -16
- package/dist/esm/components/EmptyState.js +2 -2
- package/dist/esm/components/HeadersSection.js +16 -36
- package/dist/esm/components/Inspector/AnalyticsTab.js +3 -26
- package/dist/esm/components/Inspector/ConsoleTab.js +3 -25
- package/dist/esm/components/Inspector/CrashTab.js +6 -27
- package/dist/esm/components/Inspector/DebuggingTab.js +3 -3
- package/dist/esm/components/Inspector/FeedbackModal.d.ts +7 -0
- package/dist/esm/components/Inspector/FeedbackModal.js +515 -0
- package/dist/esm/components/Inspector/InspectorHeader.js +678 -288
- package/dist/esm/components/Inspector/MainScreen.js +67 -70
- package/dist/esm/components/Inspector/MediaGalleryTab.d.ts +2 -0
- package/dist/esm/components/Inspector/MediaGalleryTab.js +267 -0
- package/dist/esm/components/Inspector/MediaPreviewModal.d.ts +11 -0
- package/dist/esm/components/Inspector/MediaPreviewModal.js +353 -0
- package/dist/esm/components/Inspector/NetworkTab.js +199 -209
- package/dist/esm/components/Inspector/NpmStarPrompt.d.ts +3 -0
- package/dist/esm/components/Inspector/NpmStarPrompt.js +454 -0
- package/dist/esm/components/Inspector/NpmUpdateToast.js +5 -10
- package/dist/esm/components/Inspector/PerformanceTab.js +8 -1
- package/dist/esm/components/Inspector/ReduxTab.js +6 -26
- package/dist/esm/components/Inspector/SettingsPanel.js +1283 -176
- package/dist/esm/components/Inspector/SkeletonPlaceholder.js +2 -2
- package/dist/esm/components/Inspector/StorageTab.js +3 -26
- package/dist/esm/components/Inspector/TabBar.js +56 -26
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +6 -11
- package/dist/esm/components/JsonViewer.js +43 -20
- package/dist/esm/components/LogCard.js +5 -5
- package/dist/esm/components/MetaAccordion.js +79 -81
- package/dist/esm/components/NetworkIcons.d.ts +13 -0
- package/dist/esm/components/NetworkIcons.js +68 -0
- package/dist/esm/components/SectionHeader.js +4 -16
- package/dist/esm/components/SkeletonPlaceholder.js +2 -2
- package/dist/esm/components/SourcePageCard.js +44 -46
- package/dist/esm/components/Toast.js +4 -4
- package/dist/esm/components/TouchableScale.js +7 -33
- package/dist/esm/components/TreeNode.js +4 -16
- package/dist/esm/constants/telemetryConfig.d.ts +3 -3
- package/dist/esm/constants/telemetryConfig.js +3 -3
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/customHooks/useAccordion.d.ts +3 -8
- package/dist/esm/customHooks/useAccordion.js +7 -37
- package/dist/esm/helpers/index.d.ts +3 -1
- package/dist/esm/helpers/index.js +9 -0
- package/dist/esm/helpers/remoteConfig.d.ts +4 -0
- package/dist/esm/helpers/remoteConfig.js +160 -0
- package/dist/esm/helpers/searchQueryParser.js +2 -0
- package/dist/esm/helpers/telemetry.d.ts +5 -0
- package/dist/esm/helpers/telemetry.js +332 -9
- package/dist/esm/i18n/locales/en.json +66 -2
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +66 -23
- package/dist/esm/native/NativeInspector.d.ts +60 -0
- package/dist/esm/native/NativeInspector.js +100 -1
- package/dist/esm/native/NativeNetworkInspector.d.ts +8 -0
- package/dist/esm/styles/AppColors.d.ts +36 -0
- package/dist/esm/styles/AppColors.js +36 -0
- package/dist/esm/styles/AppFonts.d.ts +2 -0
- package/dist/esm/styles/AppFonts.js +1 -0
- package/dist/esm/styles/index.d.ts +25 -1
- package/dist/esm/styles/index.js +22 -1
- package/dist/esm/types/enums.d.ts +2 -0
- package/dist/esm/types/enums.js +2 -0
- package/dist/esm/types/index.d.ts +2 -2
- package/dist/esm/types/interfaces.d.ts +12 -0
- package/ios/NetworkInspectorModule.h +1 -0
- package/ios/NetworkInspectorModule.mm +736 -7
- package/package.json +10 -2
- package/react-native-inapp-inspector.podspec +1 -0
- package/src/capture.ts +101 -0
- package/src/components/AnalyticsEventCard.tsx +15 -13
- package/src/components/AnimatedEntrance.tsx +3 -47
- package/src/components/DomainHeader.tsx +4 -17
- package/src/components/EmptyState.tsx +2 -2
- package/src/components/HeadersSection.tsx +31 -56
- package/src/components/Inspector/AnalyticsTab.tsx +2 -25
- package/src/components/Inspector/ConsoleTab.tsx +2 -24
- package/src/components/Inspector/CrashTab.tsx +4 -25
- package/src/components/Inspector/DebuggingTab.tsx +2 -2
- package/src/components/Inspector/FeedbackModal.tsx +626 -0
- package/src/components/Inspector/InspectorHeader.tsx +1230 -728
- package/src/components/Inspector/MainScreen.tsx +97 -82
- package/src/components/Inspector/MediaGalleryTab.tsx +355 -0
- package/src/components/Inspector/MediaPreviewModal.tsx +435 -0
- package/src/components/Inspector/NetworkTab.tsx +83 -93
- package/src/components/Inspector/NpmStarPrompt.tsx +532 -0
- package/src/components/Inspector/NpmUpdateToast.tsx +4 -9
- package/src/components/Inspector/PerformanceTab.tsx +8 -1
- package/src/components/Inspector/ReduxTab.tsx +5 -25
- package/src/components/Inspector/SettingsPanel.tsx +1493 -225
- package/src/components/Inspector/SkeletonPlaceholder.tsx +2 -2
- package/src/components/Inspector/StorageTab.tsx +3 -26
- package/src/components/Inspector/TabBar.tsx +63 -32
- package/src/components/Inspector/UpdateAvailableModal.tsx +6 -10
- package/src/components/JsonViewer.tsx +101 -60
- package/src/components/LogCard.tsx +10 -8
- package/src/components/MetaAccordion.tsx +6 -6
- package/src/components/NetworkIcons.tsx +242 -0
- package/src/components/SectionHeader.tsx +4 -16
- package/src/components/SkeletonPlaceholder.tsx +2 -2
- package/src/components/SourcePageCard.tsx +57 -55
- package/src/components/Toast.tsx +4 -4
- package/src/components/TouchableScale.tsx +8 -38
- package/src/components/TreeNode.tsx +5 -20
- package/src/constants/telemetryConfig.ts +3 -5
- package/src/constants/version.ts +1 -1
- package/src/customHooks/useAccordion.tsx +10 -43
- package/src/helpers/index.ts +11 -1
- package/src/helpers/remoteConfig.ts +212 -0
- package/src/helpers/searchQueryParser.ts +3 -0
- package/src/helpers/telemetry.ts +381 -10
- package/src/i18n/locales/en.json +69 -2
- package/src/index.tsx +93 -23
- package/src/native/NativeInspector.ts +186 -1
- package/src/native/NativeNetworkInspector.ts +9 -0
- package/src/styles/AppColors.ts +38 -0
- package/src/styles/AppFonts.ts +2 -0
- package/src/styles/index.ts +23 -2
- package/src/types/enums.ts +4 -0
- package/src/types/index.ts +2 -2
- package/src/types/interfaces.ts +12 -0
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/9.2.0/checksums/checksums.lock +0 -0
- package/android/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/9.2.0/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/results.bin +0 -1
- package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/results.bin +0 -1
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/BuildConfig.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView$iconView$1.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NativeNetworkInspectorSpec.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$Companion.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$frameCallback$1.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$shakeListener$1.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorPackage.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/com/inappinspector/BuildConfig.java +0 -10
- package/android/build/generated/source/codegen/java/com/inappinspector/NativeNetworkInspectorSpec.java +0 -104
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +0 -128
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec.h +0 -31
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.cpp +0 -22
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.h +0 -24
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.cpp +0 -16
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.h +0 -17
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.cpp +0 -19
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.h +0 -18
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/RNInAppInspectorSpecJSI.h +0 -177
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.cpp +0 -17
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.h +0 -23
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.cpp +0 -16
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.h +0 -20
- package/android/build/generated/source/codegen/schema.json +0 -1
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -7
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
- package/android/build/intermediates/aar_main_jar/debug/syncDebugLibJars/classes.jar +0 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
- package/android/build/intermediates/annotations_typedef_file/debug/extractDebugAnnotations/typedefs.txt +0 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
- package/android/build/intermediates/incremental/debug-mergeJavaRes/merge-state +0 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/BuildConfig.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -7
- package/android/build/intermediates/merged_java_res/debug/mergeDebugJavaResource/feature-react-native-inapp-inspector.jar +0 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -7
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -1
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/aar/react-native-inapp-inspector-debug.aar +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
- package/android/build/reports/problems/problems-report.html +0 -659
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorPackage.class +0 -0
|
@@ -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:
|
|
20
|
+
useNativeDriver: false,
|
|
21
21
|
}),
|
|
22
22
|
Animated.timing(shimmerAnim, {
|
|
23
23
|
toValue: 0.35,
|
|
24
24
|
duration: 750,
|
|
25
|
-
useNativeDriver:
|
|
25
|
+
useNativeDriver: false,
|
|
26
26
|
}),
|
|
27
27
|
]),
|
|
28
28
|
);
|
|
@@ -616,29 +616,6 @@ export const StorageTab = React.memo(() => {
|
|
|
616
616
|
}
|
|
617
617
|
ListFooterComponent={<View style={{height: 60}} />}
|
|
618
618
|
/>
|
|
619
|
-
|
|
620
|
-
<TouchableScale
|
|
621
|
-
onPress={() => {
|
|
622
|
-
try {
|
|
623
|
-
listRef.current?.scrollToOffset({
|
|
624
|
-
offset: 0,
|
|
625
|
-
animated: true,
|
|
626
|
-
});
|
|
627
|
-
} catch {
|
|
628
|
-
try {
|
|
629
|
-
listRef.current?.scrollToIndex({
|
|
630
|
-
index: 0,
|
|
631
|
-
animated: true,
|
|
632
|
-
});
|
|
633
|
-
} catch {}
|
|
634
|
-
}
|
|
635
|
-
}}
|
|
636
|
-
hitSlop={12}
|
|
637
|
-
style={globalStyles.scrollTopBtn}>
|
|
638
|
-
<View style={{transform: [{rotate: '180deg'}]}}>
|
|
639
|
-
<ChevronIcon color={AppColors.white} size={18} />
|
|
640
|
-
</View>
|
|
641
|
-
</TouchableScale>
|
|
642
619
|
</>
|
|
643
620
|
)}
|
|
644
621
|
|
|
@@ -972,7 +949,7 @@ const styles = StyleSheet.create({
|
|
|
972
949
|
borderColor: `${AppColors.grayBorderSecondary}80`,
|
|
973
950
|
},
|
|
974
951
|
valuePreviewText: {
|
|
975
|
-
fontFamily:
|
|
952
|
+
fontFamily: AppFonts.interRegular,
|
|
976
953
|
fontSize: 11,
|
|
977
954
|
color: AppColors.primaryBlack,
|
|
978
955
|
lineHeight: 16,
|
|
@@ -1037,7 +1014,7 @@ const styles = StyleSheet.create({
|
|
|
1037
1014
|
color: AppColors.purple,
|
|
1038
1015
|
},
|
|
1039
1016
|
connectGuideCode: {
|
|
1040
|
-
fontFamily:
|
|
1017
|
+
fontFamily: AppFonts.interRegular,
|
|
1041
1018
|
fontSize: 10,
|
|
1042
1019
|
color: AppColors.grayText,
|
|
1043
1020
|
lineHeight: 15,
|
|
@@ -1102,7 +1079,7 @@ const styles = StyleSheet.create({
|
|
|
1102
1079
|
textAreaInput: {
|
|
1103
1080
|
minHeight: 90,
|
|
1104
1081
|
maxHeight: 160,
|
|
1105
|
-
fontFamily:
|
|
1082
|
+
fontFamily: AppFonts.interRegular,
|
|
1106
1083
|
fontSize: 11,
|
|
1107
1084
|
},
|
|
1108
1085
|
typeSelectorStrip: {
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
import {useInspector} from './InspectorContext';
|
|
11
11
|
import styles from '../../styles';
|
|
12
12
|
import {AppColors} from '../../styles/AppColors';
|
|
13
|
+
import {AppFonts} from '../../styles/AppFonts';
|
|
13
14
|
import TouchableScale from '../TouchableScale';
|
|
14
15
|
import {
|
|
15
16
|
SignalIcon,
|
|
@@ -56,60 +57,70 @@ const TabBar = React.memo(() => {
|
|
|
56
57
|
{(
|
|
57
58
|
[
|
|
58
59
|
{
|
|
60
|
+
id: 1,
|
|
59
61
|
key: 'apis',
|
|
60
62
|
label: 'APIs',
|
|
61
63
|
count: logs.length,
|
|
62
64
|
icon: 'apis',
|
|
63
65
|
},
|
|
64
66
|
{
|
|
67
|
+
id: 2,
|
|
65
68
|
key: 'logs',
|
|
66
69
|
label: 'Logs',
|
|
67
70
|
count: consoleLogs.length,
|
|
68
71
|
icon: 'logs',
|
|
69
72
|
},
|
|
70
73
|
{
|
|
74
|
+
id: 3,
|
|
71
75
|
key: 'analytics',
|
|
72
76
|
label: 'Analytics',
|
|
73
77
|
count: analyticsEvents.length,
|
|
74
78
|
icon: 'analytics',
|
|
75
79
|
},
|
|
76
80
|
{
|
|
81
|
+
id: 4,
|
|
77
82
|
key: 'redux',
|
|
78
83
|
label: 'Redux',
|
|
79
84
|
count: 0,
|
|
80
85
|
icon: 'redux',
|
|
81
86
|
},
|
|
82
87
|
{
|
|
83
|
-
|
|
84
|
-
|
|
88
|
+
id: 5,
|
|
89
|
+
key: 'storage',
|
|
90
|
+
label: 'Storage',
|
|
85
91
|
count: 0,
|
|
86
|
-
icon: '
|
|
92
|
+
icon: 'storage',
|
|
87
93
|
},
|
|
88
94
|
{
|
|
89
|
-
|
|
90
|
-
|
|
95
|
+
id: 6,
|
|
96
|
+
key: 'device',
|
|
97
|
+
label: 'Device',
|
|
91
98
|
count: 0,
|
|
92
|
-
icon: '
|
|
99
|
+
icon: 'device',
|
|
93
100
|
},
|
|
94
101
|
{
|
|
102
|
+
id: 7,
|
|
95
103
|
key: 'crash',
|
|
96
104
|
label: 'Crash',
|
|
97
105
|
count: crashRecords?.length || 0,
|
|
98
106
|
icon: 'crash',
|
|
99
107
|
},
|
|
100
108
|
{
|
|
101
|
-
|
|
102
|
-
|
|
109
|
+
id: 8,
|
|
110
|
+
key: 'bundle',
|
|
111
|
+
label: 'Bundle',
|
|
103
112
|
count: 0,
|
|
104
|
-
icon: '
|
|
113
|
+
icon: 'bundle',
|
|
105
114
|
},
|
|
106
115
|
{
|
|
107
|
-
|
|
108
|
-
|
|
116
|
+
id: 9,
|
|
117
|
+
key: 'performance',
|
|
118
|
+
label: 'Performance',
|
|
109
119
|
count: 0,
|
|
110
|
-
icon: '
|
|
120
|
+
icon: 'performance',
|
|
111
121
|
},
|
|
112
122
|
{
|
|
123
|
+
id: 10,
|
|
113
124
|
key: 'debugging',
|
|
114
125
|
label: 'Debugging',
|
|
115
126
|
count: 0,
|
|
@@ -137,14 +148,11 @@ const TabBar = React.memo(() => {
|
|
|
137
148
|
: tab.key === 'crash' && tab.count > 0
|
|
138
149
|
? AppColors.errorColor
|
|
139
150
|
: AppColors.grayText;
|
|
140
|
-
const countLabel =
|
|
141
|
-
tab.count > 9 ? '9+' : String(tab.count);
|
|
151
|
+
const countLabel = tab.count > 9 ? '9+' : String(tab.count);
|
|
142
152
|
const hasUnreadApis =
|
|
143
|
-
activeTab !== 'apis' &&
|
|
144
|
-
logs.length > lastReadApisCount;
|
|
153
|
+
activeTab !== 'apis' && logs.length > lastReadApisCount;
|
|
145
154
|
const hasUnreadLogs =
|
|
146
|
-
activeTab !== 'logs' &&
|
|
147
|
-
consoleLogs.length > lastReadLogsCount;
|
|
155
|
+
activeTab !== 'logs' && consoleLogs.length > lastReadLogsCount;
|
|
148
156
|
const hasUnreadCrashes =
|
|
149
157
|
activeTab !== 'crash' &&
|
|
150
158
|
(crashRecords?.length || 0) > (lastReadCrashesCount || 0);
|
|
@@ -176,39 +184,63 @@ const TabBar = React.memo(() => {
|
|
|
176
184
|
{tab.icon === 'redux' && (
|
|
177
185
|
<ReduxIcon color={iconColor} size={14} />
|
|
178
186
|
)}
|
|
179
|
-
{tab.icon === '
|
|
180
|
-
<
|
|
187
|
+
{tab.icon === 'storage' && (
|
|
188
|
+
<DatabaseIcon color={iconColor} size={14} />
|
|
181
189
|
)}
|
|
182
|
-
{tab.icon === '
|
|
183
|
-
<
|
|
190
|
+
{tab.icon === 'device' && (
|
|
191
|
+
<SmartphoneIcon color={iconColor} size={14} />
|
|
184
192
|
)}
|
|
185
193
|
{tab.icon === 'crash' && (
|
|
186
194
|
<CrashIcon color={iconColor} size={14} />
|
|
187
195
|
)}
|
|
188
|
-
{tab.icon === '
|
|
189
|
-
<
|
|
196
|
+
{tab.icon === 'bundle' && (
|
|
197
|
+
<PackageIcon color={iconColor} size={14} />
|
|
190
198
|
)}
|
|
191
|
-
{tab.icon === '
|
|
192
|
-
<
|
|
199
|
+
{tab.icon === 'performance' && (
|
|
200
|
+
<PerformanceIcon color={iconColor} size={14} />
|
|
193
201
|
)}
|
|
194
202
|
{tab.icon === 'debugging' && (
|
|
195
203
|
<QrCodeIcon color={iconColor} size={14} />
|
|
196
204
|
)}
|
|
205
|
+
<View
|
|
206
|
+
style={{
|
|
207
|
+
minWidth: 20,
|
|
208
|
+
height: 20,
|
|
209
|
+
paddingHorizontal: 4,
|
|
210
|
+
borderRadius: 10,
|
|
211
|
+
backgroundColor: isActive
|
|
212
|
+
? `${AppColors.white}33`
|
|
213
|
+
: `${AppColors.purple}1F`,
|
|
214
|
+
borderWidth: 1,
|
|
215
|
+
borderColor: isActive
|
|
216
|
+
? `${AppColors.white}66`
|
|
217
|
+
: `${AppColors.purple}40`,
|
|
218
|
+
alignItems: 'center',
|
|
219
|
+
justifyContent: 'center',
|
|
220
|
+
}}>
|
|
221
|
+
<Text
|
|
222
|
+
style={{
|
|
223
|
+
fontFamily: AppFonts.interBold,
|
|
224
|
+
fontSize: 9.5,
|
|
225
|
+
lineHeight: 12,
|
|
226
|
+
color: isActive ? AppColors.white : AppColors.purple,
|
|
227
|
+
}}>
|
|
228
|
+
#{tab.id}
|
|
229
|
+
</Text>
|
|
230
|
+
</View>
|
|
197
231
|
<Text
|
|
198
232
|
numberOfLines={1}
|
|
199
233
|
ellipsizeMode="tail"
|
|
200
234
|
style={[
|
|
201
235
|
styles.contentTabButtonText,
|
|
202
|
-
isActive &&
|
|
203
|
-
styles.contentTabButtonTextActive,
|
|
236
|
+
isActive && styles.contentTabButtonTextActive,
|
|
204
237
|
]}>
|
|
205
|
-
{tab.label}{
|
|
206
|
-
{tab.count > 0 ? `(${countLabel})` : ''}
|
|
238
|
+
{tab.label} {tab.count > 0 ? `(${countLabel})` : ''}
|
|
207
239
|
</Text>
|
|
208
240
|
{((tab.key === 'apis' && hasUnreadApis) ||
|
|
209
241
|
(tab.key === 'logs' && hasUnreadLogs) ||
|
|
210
242
|
(tab.key === 'crash' && hasUnreadCrashes)) && (
|
|
211
|
-
<
|
|
243
|
+
<View
|
|
212
244
|
style={{
|
|
213
245
|
width: 6,
|
|
214
246
|
height: 6,
|
|
@@ -216,7 +248,6 @@ const TabBar = React.memo(() => {
|
|
|
216
248
|
backgroundColor: AppColors.errorColor,
|
|
217
249
|
marginLeft: 4,
|
|
218
250
|
alignSelf: 'center',
|
|
219
|
-
transform: [{scale: unreadPulseAnim}],
|
|
220
251
|
}}
|
|
221
252
|
/>
|
|
222
253
|
)}
|
|
@@ -15,6 +15,8 @@ import {NpmIcon} from '../NetworkIcons';
|
|
|
15
15
|
import {LIB_VERSION} from '../../constants';
|
|
16
16
|
import {copyToClipboard} from '../../helpers';
|
|
17
17
|
import {showToast} from '../../helpers/toast';
|
|
18
|
+
import {AppFonts} from '../../styles/AppFonts';
|
|
19
|
+
import {AppColors} from '../../styles/AppColors';
|
|
18
20
|
|
|
19
21
|
// ─── Crisp SVG Icons ─────────────────────────────────────────────────────────
|
|
20
22
|
|
|
@@ -289,15 +291,9 @@ export const UpdateAvailableModal: React.FC<UpdateAvailableModalProps> = ({
|
|
|
289
291
|
);
|
|
290
292
|
};
|
|
291
293
|
|
|
292
|
-
const fontStack =
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
},
|
|
296
|
-
android: {
|
|
297
|
-
fontFamily: 'sans-serif',
|
|
298
|
-
},
|
|
299
|
-
default: {},
|
|
300
|
-
});
|
|
294
|
+
const fontStack = {
|
|
295
|
+
fontFamily: AppFonts.interRegular,
|
|
296
|
+
};
|
|
301
297
|
|
|
302
298
|
const styles = StyleSheet.create({
|
|
303
299
|
overlay: {
|
|
@@ -499,7 +495,7 @@ const styles = StyleSheet.create({
|
|
|
499
495
|
commandText: {
|
|
500
496
|
flex: 1,
|
|
501
497
|
fontSize: 11,
|
|
502
|
-
fontFamily:
|
|
498
|
+
fontFamily: AppFonts.interRegular,
|
|
503
499
|
color: '#38BDF8',
|
|
504
500
|
},
|
|
505
501
|
copyIconWrapper: {
|
|
@@ -293,89 +293,130 @@ const JsonViewer = React.memo(({
|
|
|
293
293
|
</Text>
|
|
294
294
|
</View>
|
|
295
295
|
) : (
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
<ScrollView style={scrollStyle} contentContainerStyle={{flexGrow: 1}}>
|
|
296
|
+
wrap ? (
|
|
297
|
+
fullHeight ? (
|
|
298
|
+
<ScrollView style={{flex: 1}} contentContainerStyle={{flexGrow: 1}}>
|
|
299
|
+
<View style={[styles.codeBlock, {width: '100%'}]}>{tree}</View>
|
|
300
|
+
</ScrollView>
|
|
301
|
+
) : (
|
|
303
302
|
<View style={[styles.codeBlock, {width: '100%'}]}>{tree}</View>
|
|
304
|
-
|
|
305
|
-
)
|
|
306
|
-
) : (
|
|
307
|
-
fullHeight ? (
|
|
308
|
-
<ScrollView style={{flex: 1}} contentContainerStyle={{flexGrow: 1}}>
|
|
309
|
-
<View style={styles.codeBlock}>{tree}</View>
|
|
310
|
-
</ScrollView>
|
|
303
|
+
)
|
|
311
304
|
) : (
|
|
312
|
-
|
|
305
|
+
fullHeight ? (
|
|
306
|
+
<ScrollView style={{flex: 1}} contentContainerStyle={{flexGrow: 1}}>
|
|
307
|
+
<ScrollView
|
|
308
|
+
horizontal
|
|
309
|
+
showsHorizontalScrollIndicator={true}
|
|
310
|
+
style={styles.codeBlockScroll}>
|
|
311
|
+
<View style={styles.codeBlock}>{tree}</View>
|
|
312
|
+
</ScrollView>
|
|
313
|
+
</ScrollView>
|
|
314
|
+
) : (
|
|
313
315
|
<ScrollView
|
|
314
316
|
horizontal
|
|
315
317
|
showsHorizontalScrollIndicator={true}
|
|
316
318
|
style={styles.codeBlockScroll}>
|
|
317
319
|
<View style={styles.codeBlock}>{tree}</View>
|
|
318
320
|
</ScrollView>
|
|
319
|
-
|
|
321
|
+
)
|
|
320
322
|
)
|
|
321
323
|
)
|
|
322
|
-
)
|
|
323
324
|
)}
|
|
324
325
|
|
|
325
326
|
{mode === 'raw' && (
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
style={{
|
|
348
|
-
marginTop: 10,
|
|
349
|
-
backgroundColor: `${AppColors.brandPurple}15`,
|
|
350
|
-
paddingVertical: 8,
|
|
351
|
-
paddingHorizontal: 12,
|
|
352
|
-
borderRadius: 6,
|
|
353
|
-
alignItems: 'center',
|
|
354
|
-
borderWidth: 1,
|
|
355
|
-
borderColor: `${AppColors.brandPurple}30`,
|
|
356
|
-
}}>
|
|
357
|
-
<Text
|
|
327
|
+
fullHeight ? (
|
|
328
|
+
<ScrollView
|
|
329
|
+
style={{flex: 1}}
|
|
330
|
+
contentContainerStyle={localStyles.rawContainer}
|
|
331
|
+
showsVerticalScrollIndicator={true}>
|
|
332
|
+
<HighlightText
|
|
333
|
+
text={displayRawText}
|
|
334
|
+
search={search}
|
|
335
|
+
detectLinks={rawText.length < 20000}
|
|
336
|
+
style={localStyles.rawPlainText}
|
|
337
|
+
selectable={true}
|
|
338
|
+
highlightStyle={{
|
|
339
|
+
backgroundColor: AppColors.yellowHighlight,
|
|
340
|
+
color: AppColors.primaryBlack,
|
|
341
|
+
borderRadius: 3,
|
|
342
|
+
paddingHorizontal: 2,
|
|
343
|
+
}}
|
|
344
|
+
/>
|
|
345
|
+
{isTruncated && (
|
|
346
|
+
<TouchableOpacity
|
|
347
|
+
onPress={() => setShowFullRaw(true)}
|
|
358
348
|
style={{
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
349
|
+
marginTop: 10,
|
|
350
|
+
backgroundColor: `${AppColors.brandPurple}15`,
|
|
351
|
+
paddingVertical: 8,
|
|
352
|
+
paddingHorizontal: 12,
|
|
353
|
+
borderRadius: 6,
|
|
354
|
+
alignItems: 'center',
|
|
355
|
+
borderWidth: 1,
|
|
356
|
+
borderColor: `${AppColors.brandPurple}30`,
|
|
362
357
|
}}>
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
358
|
+
<Text
|
|
359
|
+
style={{
|
|
360
|
+
fontFamily: AppFonts.interBold,
|
|
361
|
+
fontSize: 11,
|
|
362
|
+
color: AppColors.brandPurple,
|
|
363
|
+
}}>
|
|
364
|
+
Showing first 50 KB ({Math.round(rawText.length / 1024)} KB total) · Tap to load full
|
|
365
|
+
</Text>
|
|
366
|
+
</TouchableOpacity>
|
|
367
|
+
)}
|
|
368
|
+
</ScrollView>
|
|
369
|
+
) : (
|
|
370
|
+
<View style={localStyles.rawContainer}>
|
|
371
|
+
<HighlightText
|
|
372
|
+
text={displayRawText}
|
|
373
|
+
search={search}
|
|
374
|
+
detectLinks={rawText.length < 20000}
|
|
375
|
+
style={localStyles.rawPlainText}
|
|
376
|
+
selectable={true}
|
|
377
|
+
highlightStyle={{
|
|
378
|
+
backgroundColor: AppColors.yellowHighlight,
|
|
379
|
+
color: AppColors.primaryBlack,
|
|
380
|
+
borderRadius: 3,
|
|
381
|
+
paddingHorizontal: 2,
|
|
382
|
+
}}
|
|
383
|
+
/>
|
|
384
|
+
{isTruncated && (
|
|
385
|
+
<TouchableOpacity
|
|
386
|
+
onPress={() => setShowFullRaw(true)}
|
|
387
|
+
style={{
|
|
388
|
+
marginTop: 10,
|
|
389
|
+
backgroundColor: `${AppColors.brandPurple}15`,
|
|
390
|
+
paddingVertical: 8,
|
|
391
|
+
paddingHorizontal: 12,
|
|
392
|
+
borderRadius: 6,
|
|
393
|
+
alignItems: 'center',
|
|
394
|
+
borderWidth: 1,
|
|
395
|
+
borderColor: `${AppColors.brandPurple}30`,
|
|
396
|
+
}}>
|
|
397
|
+
<Text
|
|
398
|
+
style={{
|
|
399
|
+
fontFamily: AppFonts.interBold,
|
|
400
|
+
fontSize: 11,
|
|
401
|
+
color: AppColors.brandPurple,
|
|
402
|
+
}}>
|
|
403
|
+
Showing first 50 KB ({Math.round(rawText.length / 1024)} KB total) · Tap to load full
|
|
404
|
+
</Text>
|
|
405
|
+
</TouchableOpacity>
|
|
406
|
+
)}
|
|
407
|
+
</View>
|
|
408
|
+
)
|
|
368
409
|
)}
|
|
369
410
|
|
|
370
411
|
{mode === 'table' && (
|
|
371
412
|
fullHeight ? (
|
|
372
|
-
<ScrollView style={
|
|
413
|
+
<ScrollView style={{flex: 1}}>
|
|
373
414
|
{renderTableMode()}
|
|
374
415
|
</ScrollView>
|
|
375
416
|
) : (
|
|
376
|
-
<
|
|
417
|
+
<View style={localStyles.tableView}>
|
|
377
418
|
{renderTableMode()}
|
|
378
|
-
</
|
|
419
|
+
</View>
|
|
379
420
|
)
|
|
380
421
|
)}
|
|
381
422
|
</View>
|
|
@@ -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:
|
|
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
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
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
|
|
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
|
|
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
|
-
<
|
|
114
|
+
<View style={chevronStyle}>
|
|
115
115
|
<ChevronIcon color={AppColors.grayTextWeak} size={14} />
|
|
116
|
-
</
|
|
116
|
+
</View>
|
|
117
117
|
</View>
|
|
118
118
|
</View>
|
|
119
119
|
</Pressable>
|
|
120
120
|
|
|
121
|
-
|
|
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
|
-
|
|
350
|
+
)}
|
|
351
351
|
</View>
|
|
352
352
|
);
|
|
353
353
|
};
|