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.
- 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 -2
- package/dist/commonjs/components/Inspector/ConsoleTab.js +1 -1
- package/dist/commonjs/components/Inspector/CrashTab.js +4 -2
- package/dist/commonjs/components/Inspector/DebuggingTab.js +2 -2
- package/dist/commonjs/components/Inspector/InspectorHeader.js +651 -313
- package/dist/commonjs/components/Inspector/MainScreen.js +25 -70
- 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 +183 -182
- package/dist/commonjs/components/Inspector/NpmUpdateToast.js +4 -9
- package/dist/commonjs/components/Inspector/ReduxTab.js +4 -2
- package/dist/commonjs/components/Inspector/SettingsPanel.js +245 -0
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +2 -2
- package/dist/commonjs/components/Inspector/StorageTab.js +3 -3
- package/dist/commonjs/components/Inspector/TabBar.js +5 -10
- 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 +8 -0
- package/dist/commonjs/components/NetworkIcons.js +51 -1
- 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 +2 -1
- package/dist/commonjs/helpers/index.js +10 -1
- package/dist/commonjs/i18n/locales/en.json +66 -2
- package/dist/commonjs/index.d.ts +1 -0
- package/dist/commonjs/index.js +39 -22
- 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/index.d.ts +3 -1
- package/dist/commonjs/styles/index.js +3 -1
- package/dist/commonjs/types/enums.d.ts +1 -0
- package/dist/commonjs/types/enums.js +1 -0
- package/dist/commonjs/types/index.d.ts +2 -2
- 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 +2 -3
- package/dist/esm/components/Inspector/ConsoleTab.js +2 -2
- package/dist/esm/components/Inspector/CrashTab.js +5 -3
- package/dist/esm/components/Inspector/DebuggingTab.js +3 -3
- package/dist/esm/components/Inspector/InspectorHeader.js +654 -316
- package/dist/esm/components/Inspector/MainScreen.js +25 -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 +185 -184
- package/dist/esm/components/Inspector/NpmUpdateToast.js +5 -10
- package/dist/esm/components/Inspector/ReduxTab.js +5 -3
- package/dist/esm/components/Inspector/SettingsPanel.js +246 -1
- package/dist/esm/components/Inspector/SkeletonPlaceholder.js +2 -2
- package/dist/esm/components/Inspector/StorageTab.js +3 -3
- package/dist/esm/components/Inspector/TabBar.js +6 -11
- 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 +8 -0
- package/dist/esm/components/NetworkIcons.js +42 -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 +2 -1
- package/dist/esm/helpers/index.js +8 -0
- package/dist/esm/i18n/locales/en.json +66 -2
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +36 -21
- 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/index.d.ts +3 -1
- package/dist/esm/styles/index.js +3 -1
- package/dist/esm/types/enums.d.ts +1 -0
- package/dist/esm/types/enums.js +1 -0
- package/dist/esm/types/index.d.ts +2 -2
- 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 -2
- package/src/components/Inspector/ConsoleTab.tsx +2 -1
- package/src/components/Inspector/CrashTab.tsx +4 -2
- package/src/components/Inspector/DebuggingTab.tsx +2 -2
- package/src/components/Inspector/InspectorHeader.tsx +1215 -789
- package/src/components/Inspector/MainScreen.tsx +44 -85
- package/src/components/Inspector/MediaGalleryTab.tsx +355 -0
- package/src/components/Inspector/MediaPreviewModal.tsx +435 -0
- package/src/components/Inspector/NetworkTab.tsx +14 -15
- package/src/components/Inspector/NpmUpdateToast.tsx +4 -9
- package/src/components/Inspector/ReduxTab.tsx +5 -2
- package/src/components/Inspector/SettingsPanel.tsx +303 -0
- package/src/components/Inspector/SkeletonPlaceholder.tsx +2 -2
- package/src/components/Inspector/StorageTab.tsx +3 -3
- package/src/components/Inspector/TabBar.tsx +6 -12
- 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 +150 -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 +10 -1
- package/src/i18n/locales/en.json +69 -2
- package/src/index.tsx +51 -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/index.ts +3 -1
- package/src/types/enums.ts +3 -0
- package/src/types/index.ts +2 -2
- 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
|
@@ -56,6 +56,7 @@ const reduxLogger_1 = require("../../customHooks/reduxLogger");
|
|
|
56
56
|
const analyticsLogger_2 = require("../../customHooks/analyticsLogger");
|
|
57
57
|
const i18n_1 = require("../../i18n");
|
|
58
58
|
const NetworkIcons_1 = require("../NetworkIcons");
|
|
59
|
+
const capture_1 = require("../../capture");
|
|
59
60
|
const constants_1 = require("../../constants");
|
|
60
61
|
const helpers_1 = require("../../helpers");
|
|
61
62
|
const toast_1 = require("../../helpers/toast");
|
|
@@ -403,6 +404,11 @@ const SettingsPanel = () => {
|
|
|
403
404
|
label: t('settings.ramLimits', 'RAM & Limits'),
|
|
404
405
|
Icon: NetworkIcons_1.BrainIcon,
|
|
405
406
|
},
|
|
407
|
+
{
|
|
408
|
+
key: 'capture',
|
|
409
|
+
label: t('settings.screenVideoCapture', 'Screen & Video Capture'),
|
|
410
|
+
Icon: NetworkIcons_1.CameraIcon,
|
|
411
|
+
},
|
|
406
412
|
{
|
|
407
413
|
key: 'about',
|
|
408
414
|
label: t('settings.aboutAndSpecs', 'About & Specs'),
|
|
@@ -1753,6 +1759,245 @@ const SettingsPanel = () => {
|
|
|
1753
1759
|
</react_native_1.View>
|
|
1754
1760
|
</react_native_1.View>
|
|
1755
1761
|
</react_native_1.View>)}
|
|
1762
|
+
{settingsActiveSubTab === 'capture' && (<react_native_1.View style={{ gap: 12 }}>
|
|
1763
|
+
|
|
1764
|
+
<react_native_1.View style={{
|
|
1765
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
1766
|
+
padding: 16,
|
|
1767
|
+
borderRadius: 14,
|
|
1768
|
+
borderWidth: 1,
|
|
1769
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
1770
|
+
gap: 12,
|
|
1771
|
+
}}>
|
|
1772
|
+
<react_native_1.View style={{ flexDirection: 'row', alignItems: 'center', gap: 10 }}>
|
|
1773
|
+
<react_native_1.View style={{
|
|
1774
|
+
width: 36,
|
|
1775
|
+
height: 36,
|
|
1776
|
+
borderRadius: 10,
|
|
1777
|
+
backgroundColor: AppColors_1.AppColors.purpleShade50,
|
|
1778
|
+
alignItems: 'center',
|
|
1779
|
+
justifyContent: 'center',
|
|
1780
|
+
}}>
|
|
1781
|
+
<NetworkIcons_1.CameraIcon color={AppColors_1.AppColors.purple} size={16}/>
|
|
1782
|
+
</react_native_1.View>
|
|
1783
|
+
<react_native_1.View style={{ flex: 1 }}>
|
|
1784
|
+
<react_native_1.Text style={{
|
|
1785
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
1786
|
+
fontSize: 14,
|
|
1787
|
+
lineHeight: 18,
|
|
1788
|
+
color: AppColors_1.AppColors.primaryBlack,
|
|
1789
|
+
}}>
|
|
1790
|
+
{t('settings.media.screenshotCardTitle', 'Screenshot Capture Settings')}
|
|
1791
|
+
</react_native_1.Text>
|
|
1792
|
+
<react_native_1.Text style={{
|
|
1793
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
1794
|
+
fontSize: 11,
|
|
1795
|
+
lineHeight: 15,
|
|
1796
|
+
color: AppColors_1.AppColors.grayText,
|
|
1797
|
+
marginTop: 1,
|
|
1798
|
+
}}>
|
|
1799
|
+
{t('settings.media.screenshotCardDesc', 'Image encoding format, compression quality and overlay auto-hide')}
|
|
1800
|
+
</react_native_1.Text>
|
|
1801
|
+
</react_native_1.View>
|
|
1802
|
+
</react_native_1.View>
|
|
1803
|
+
|
|
1804
|
+
{renderSettingRow({
|
|
1805
|
+
icon: <NetworkIcons_1.ImageIcon color={AppColors_1.AppColors.purple} size={16}/>,
|
|
1806
|
+
label: t('settings.media.imageFormat', 'Image Format'),
|
|
1807
|
+
description: t('settings.media.imageFormatDesc', 'Export formats (PNG lossless, JPEG lossy, WebP)'),
|
|
1808
|
+
right: (<react_native_1.View style={{ flexDirection: 'row', gap: 4 }}>
|
|
1809
|
+
{['PNG', 'JPEG', 'WEBP'].map(fmt => (<react_native_1.View key={fmt} style={{
|
|
1810
|
+
paddingHorizontal: 8,
|
|
1811
|
+
paddingVertical: 4,
|
|
1812
|
+
borderRadius: 6,
|
|
1813
|
+
backgroundColor: fmt === 'PNG' ? AppColors_1.AppColors.purple : `${AppColors_1.AppColors.purple}1A`,
|
|
1814
|
+
}}>
|
|
1815
|
+
<react_native_1.Text style={{
|
|
1816
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
1817
|
+
fontSize: 10,
|
|
1818
|
+
color: fmt === 'PNG' ? AppColors_1.AppColors.white : AppColors_1.AppColors.purple,
|
|
1819
|
+
}}>
|
|
1820
|
+
{fmt}
|
|
1821
|
+
</react_native_1.Text>
|
|
1822
|
+
</react_native_1.View>))}
|
|
1823
|
+
</react_native_1.View>),
|
|
1824
|
+
})}
|
|
1825
|
+
|
|
1826
|
+
{renderSettingRow({
|
|
1827
|
+
icon: <NetworkIcons_1.EyeIcon color={AppColors_1.AppColors.purple} size={16}/>,
|
|
1828
|
+
label: t('settings.media.autoHide', 'Auto-Hide Inspector During Capture'),
|
|
1829
|
+
description: t('settings.media.autoHideDesc', 'Temporarily hides the inspector overlay during screen capture'),
|
|
1830
|
+
isLast: true,
|
|
1831
|
+
right: (<react_native_1.View style={{
|
|
1832
|
+
paddingHorizontal: 8,
|
|
1833
|
+
paddingVertical: 4,
|
|
1834
|
+
borderRadius: 6,
|
|
1835
|
+
backgroundColor: `${AppColors_1.AppColors.emerald500}26`,
|
|
1836
|
+
}}>
|
|
1837
|
+
<react_native_1.Text style={{
|
|
1838
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
1839
|
+
fontSize: 10,
|
|
1840
|
+
color: AppColors_1.AppColors.emerald500,
|
|
1841
|
+
}}>
|
|
1842
|
+
{t('settings.media.enabled', 'ON')}
|
|
1843
|
+
</react_native_1.Text>
|
|
1844
|
+
</react_native_1.View>),
|
|
1845
|
+
})}
|
|
1846
|
+
</react_native_1.View>
|
|
1847
|
+
|
|
1848
|
+
|
|
1849
|
+
<react_native_1.View style={{
|
|
1850
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
1851
|
+
padding: 16,
|
|
1852
|
+
borderRadius: 14,
|
|
1853
|
+
borderWidth: 1,
|
|
1854
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
1855
|
+
gap: 12,
|
|
1856
|
+
}}>
|
|
1857
|
+
<react_native_1.View style={{ flexDirection: 'row', alignItems: 'center', gap: 10 }}>
|
|
1858
|
+
<react_native_1.View style={{
|
|
1859
|
+
width: 36,
|
|
1860
|
+
height: 36,
|
|
1861
|
+
borderRadius: 10,
|
|
1862
|
+
backgroundColor: AppColors_1.AppColors.purpleShade50,
|
|
1863
|
+
alignItems: 'center',
|
|
1864
|
+
justifyContent: 'center',
|
|
1865
|
+
}}>
|
|
1866
|
+
<NetworkIcons_1.VideoCameraIcon color={AppColors_1.AppColors.purple} size={16}/>
|
|
1867
|
+
</react_native_1.View>
|
|
1868
|
+
<react_native_1.View style={{ flex: 1 }}>
|
|
1869
|
+
<react_native_1.Text style={{
|
|
1870
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
1871
|
+
fontSize: 14,
|
|
1872
|
+
lineHeight: 18,
|
|
1873
|
+
color: AppColors_1.AppColors.primaryBlack,
|
|
1874
|
+
}}>
|
|
1875
|
+
{t('settings.media.videoCardTitle', 'Video Recording & GIF Conversion')}
|
|
1876
|
+
</react_native_1.Text>
|
|
1877
|
+
<react_native_1.Text style={{
|
|
1878
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
1879
|
+
fontSize: 11,
|
|
1880
|
+
lineHeight: 15,
|
|
1881
|
+
color: AppColors_1.AppColors.grayText,
|
|
1882
|
+
marginTop: 1,
|
|
1883
|
+
}}>
|
|
1884
|
+
{t('settings.media.videoCardDesc', 'ReplayKit hardware encoding, frame capture fallback and GIF generation')}
|
|
1885
|
+
</react_native_1.Text>
|
|
1886
|
+
</react_native_1.View>
|
|
1887
|
+
</react_native_1.View>
|
|
1888
|
+
|
|
1889
|
+
{renderSettingRow({
|
|
1890
|
+
icon: <NetworkIcons_1.MicrophoneIcon color={AppColors_1.AppColors.purple} size={16}/>,
|
|
1891
|
+
label: t('settings.media.audioMode', 'Audio Source'),
|
|
1892
|
+
description: t('settings.media.audioModeDesc', 'Record video with muted, app audio, or microphone commentary'),
|
|
1893
|
+
right: (<react_native_1.View style={{ flexDirection: 'row', gap: 4 }}>
|
|
1894
|
+
{['Muted', 'App', 'Mic'].map((aud, i) => (<react_native_1.View key={aud} style={{
|
|
1895
|
+
paddingHorizontal: 7,
|
|
1896
|
+
paddingVertical: 4,
|
|
1897
|
+
borderRadius: 6,
|
|
1898
|
+
backgroundColor: i === 0 ? AppColors_1.AppColors.purple : `${AppColors_1.AppColors.purple}1A`,
|
|
1899
|
+
}}>
|
|
1900
|
+
<react_native_1.Text style={{
|
|
1901
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
1902
|
+
fontSize: 10,
|
|
1903
|
+
color: i === 0 ? AppColors_1.AppColors.white : AppColors_1.AppColors.purple,
|
|
1904
|
+
}}>
|
|
1905
|
+
{aud}
|
|
1906
|
+
</react_native_1.Text>
|
|
1907
|
+
</react_native_1.View>))}
|
|
1908
|
+
</react_native_1.View>),
|
|
1909
|
+
})}
|
|
1910
|
+
|
|
1911
|
+
{renderSettingRow({
|
|
1912
|
+
icon: <NetworkIcons_1.FilmIcon color={AppColors_1.AppColors.purple} size={16}/>,
|
|
1913
|
+
label: t('settings.media.frameRate', 'Recording Frame Rate (FPS)'),
|
|
1914
|
+
description: t('settings.media.frameRateDesc', 'Target video smoothness: 15, 24, 30, or 60 FPS'),
|
|
1915
|
+
right: (<react_native_1.View style={{ flexDirection: 'row', gap: 4 }}>
|
|
1916
|
+
{['15', '24', '30', '60'].map(fps => (<react_native_1.View key={fps} style={{
|
|
1917
|
+
paddingHorizontal: 6,
|
|
1918
|
+
paddingVertical: 4,
|
|
1919
|
+
borderRadius: 6,
|
|
1920
|
+
backgroundColor: fps === '24' ? AppColors_1.AppColors.purple : `${AppColors_1.AppColors.purple}1A`,
|
|
1921
|
+
}}>
|
|
1922
|
+
<react_native_1.Text style={{
|
|
1923
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
1924
|
+
fontSize: 10,
|
|
1925
|
+
color: fps === '24' ? AppColors_1.AppColors.white : AppColors_1.AppColors.purple,
|
|
1926
|
+
}}>
|
|
1927
|
+
{fps}fps
|
|
1928
|
+
</react_native_1.Text>
|
|
1929
|
+
</react_native_1.View>))}
|
|
1930
|
+
</react_native_1.View>),
|
|
1931
|
+
})}
|
|
1932
|
+
|
|
1933
|
+
{renderSettingRow({
|
|
1934
|
+
icon: <NetworkIcons_1.GifIcon color={AppColors_1.AppColors.purple} size={16}/>,
|
|
1935
|
+
label: t('settings.media.gifAutoOpt', 'Auto GIF Optimization'),
|
|
1936
|
+
description: t('settings.media.gifAutoOptDesc', 'Automatic palette reduction and frame skip for lightweight animated GIFs'),
|
|
1937
|
+
isLast: true,
|
|
1938
|
+
right: (<react_native_1.View style={{
|
|
1939
|
+
paddingHorizontal: 8,
|
|
1940
|
+
paddingVertical: 4,
|
|
1941
|
+
borderRadius: 6,
|
|
1942
|
+
backgroundColor: `${AppColors_1.AppColors.emerald500}26`,
|
|
1943
|
+
}}>
|
|
1944
|
+
<react_native_1.Text style={{
|
|
1945
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
1946
|
+
fontSize: 10,
|
|
1947
|
+
color: AppColors_1.AppColors.emerald500,
|
|
1948
|
+
}}>
|
|
1949
|
+
ON
|
|
1950
|
+
</react_native_1.Text>
|
|
1951
|
+
</react_native_1.View>),
|
|
1952
|
+
})}
|
|
1953
|
+
</react_native_1.View>
|
|
1954
|
+
|
|
1955
|
+
|
|
1956
|
+
<react_native_1.View style={{
|
|
1957
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
1958
|
+
borderRadius: 14,
|
|
1959
|
+
borderWidth: 1,
|
|
1960
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
1961
|
+
padding: 16,
|
|
1962
|
+
}}>
|
|
1963
|
+
{renderSettingRow({
|
|
1964
|
+
icon: <NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor} size={16}/>,
|
|
1965
|
+
label: t('settings.media.purgeAll', 'Purge Captured Media Cache'),
|
|
1966
|
+
description: t('settings.media.purgeAllDesc', 'Delete all local screenshots, screen recordings and converted GIFs'),
|
|
1967
|
+
isLast: true,
|
|
1968
|
+
onPress: () => {
|
|
1969
|
+
react_native_1.Alert.alert(t('settings.media.purgeConfirmTitle', 'Purge Media Storage?'), t('settings.media.purgeConfirmMessage', 'This will permanently delete all captured screenshots and videos from disk.'), [
|
|
1970
|
+
{ text: t('common.cancel', 'Cancel'), style: 'cancel' },
|
|
1971
|
+
{
|
|
1972
|
+
text: t('settings.media.purgeCacheBtn', 'Purge All'),
|
|
1973
|
+
style: 'destructive',
|
|
1974
|
+
onPress: async () => {
|
|
1975
|
+
await capture_1.ScreenCapture.clearAllMedia();
|
|
1976
|
+
(0, toast_1.showToast)(t('settings.media.purgedSuccess', 'Media cache cleared successfully'));
|
|
1977
|
+
},
|
|
1978
|
+
},
|
|
1979
|
+
]);
|
|
1980
|
+
},
|
|
1981
|
+
right: (<react_native_1.View style={{
|
|
1982
|
+
paddingHorizontal: 12,
|
|
1983
|
+
paddingVertical: 6,
|
|
1984
|
+
borderRadius: 8,
|
|
1985
|
+
backgroundColor: `${AppColors_1.AppColors.errorColor}14`,
|
|
1986
|
+
borderWidth: 1,
|
|
1987
|
+
borderColor: `${AppColors_1.AppColors.errorColor}33`,
|
|
1988
|
+
}}>
|
|
1989
|
+
<react_native_1.Text style={{
|
|
1990
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
1991
|
+
fontSize: 11,
|
|
1992
|
+
lineHeight: 14,
|
|
1993
|
+
color: AppColors_1.AppColors.errorColor,
|
|
1994
|
+
}}>
|
|
1995
|
+
{t('settings.media.purgeCacheBtn', 'Purge All')}
|
|
1996
|
+
</react_native_1.Text>
|
|
1997
|
+
</react_native_1.View>),
|
|
1998
|
+
})}
|
|
1999
|
+
</react_native_1.View>
|
|
2000
|
+
</react_native_1.View>)}
|
|
1756
2001
|
{settingsActiveSubTab === 'about' && (<react_native_1.View style={{ gap: 14 }}>
|
|
1757
2002
|
|
|
1758
2003
|
<react_native_1.View style={{
|
|
@@ -44,12 +44,12 @@ exports.SkeletonPlaceholder = react_1.default.memo(function SkeletonPlaceholder(
|
|
|
44
44
|
react_native_1.Animated.timing(shimmerAnim, {
|
|
45
45
|
toValue: 0.85,
|
|
46
46
|
duration: 750,
|
|
47
|
-
useNativeDriver:
|
|
47
|
+
useNativeDriver: false,
|
|
48
48
|
}),
|
|
49
49
|
react_native_1.Animated.timing(shimmerAnim, {
|
|
50
50
|
toValue: 0.35,
|
|
51
51
|
duration: 750,
|
|
52
|
-
useNativeDriver:
|
|
52
|
+
useNativeDriver: false,
|
|
53
53
|
}),
|
|
54
54
|
]));
|
|
55
55
|
animation.start();
|
|
@@ -729,7 +729,7 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
729
729
|
borderColor: `${AppColors_1.AppColors.grayBorderSecondary}80`,
|
|
730
730
|
},
|
|
731
731
|
valuePreviewText: {
|
|
732
|
-
fontFamily:
|
|
732
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
733
733
|
fontSize: 11,
|
|
734
734
|
color: AppColors_1.AppColors.primaryBlack,
|
|
735
735
|
lineHeight: 16,
|
|
@@ -794,7 +794,7 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
794
794
|
color: AppColors_1.AppColors.purple,
|
|
795
795
|
},
|
|
796
796
|
connectGuideCode: {
|
|
797
|
-
fontFamily:
|
|
797
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
798
798
|
fontSize: 10,
|
|
799
799
|
color: AppColors_1.AppColors.grayText,
|
|
800
800
|
lineHeight: 15,
|
|
@@ -859,7 +859,7 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
859
859
|
textAreaInput: {
|
|
860
860
|
minHeight: 90,
|
|
861
861
|
maxHeight: 160,
|
|
862
|
-
fontFamily:
|
|
862
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
863
863
|
fontSize: 11,
|
|
864
864
|
},
|
|
865
865
|
typeSelectorStrip: {
|
|
@@ -114,10 +114,8 @@ const TabBar = react_1.default.memo(() => {
|
|
|
114
114
|
? AppColors_1.AppColors.errorColor
|
|
115
115
|
: AppColors_1.AppColors.grayText;
|
|
116
116
|
const countLabel = tab.count > 9 ? '9+' : String(tab.count);
|
|
117
|
-
const hasUnreadApis = activeTab !== 'apis' &&
|
|
118
|
-
|
|
119
|
-
const hasUnreadLogs = activeTab !== 'logs' &&
|
|
120
|
-
consoleLogs.length > lastReadLogsCount;
|
|
117
|
+
const hasUnreadApis = activeTab !== 'apis' && logs.length > lastReadApisCount;
|
|
118
|
+
const hasUnreadLogs = activeTab !== 'logs' && consoleLogs.length > lastReadLogsCount;
|
|
121
119
|
const hasUnreadCrashes = activeTab !== 'crash' &&
|
|
122
120
|
(crashRecords?.length || 0) > (lastReadCrashesCount || 0);
|
|
123
121
|
return (<TouchableScale_1.default key={tab.key} onPress={() => {
|
|
@@ -167,22 +165,19 @@ const TabBar = react_1.default.memo(() => {
|
|
|
167
165
|
</react_native_1.View>
|
|
168
166
|
<react_native_1.Text numberOfLines={1} ellipsizeMode="tail" style={[
|
|
169
167
|
styles_1.default.contentTabButtonText,
|
|
170
|
-
isActive &&
|
|
171
|
-
styles_1.default.contentTabButtonTextActive,
|
|
168
|
+
isActive && styles_1.default.contentTabButtonTextActive,
|
|
172
169
|
]}>
|
|
173
|
-
{tab.label}{
|
|
174
|
-
{tab.count > 0 ? `(${countLabel})` : ''}
|
|
170
|
+
{tab.label} {tab.count > 0 ? `(${countLabel})` : ''}
|
|
175
171
|
</react_native_1.Text>
|
|
176
172
|
{((tab.key === 'apis' && hasUnreadApis) ||
|
|
177
173
|
(tab.key === 'logs' && hasUnreadLogs) ||
|
|
178
|
-
(tab.key === 'crash' && hasUnreadCrashes)) && (<react_native_1.
|
|
174
|
+
(tab.key === 'crash' && hasUnreadCrashes)) && (<react_native_1.View style={{
|
|
179
175
|
width: 6,
|
|
180
176
|
height: 6,
|
|
181
177
|
borderRadius: 3,
|
|
182
178
|
backgroundColor: AppColors_1.AppColors.errorColor,
|
|
183
179
|
marginLeft: 4,
|
|
184
180
|
alignSelf: 'center',
|
|
185
|
-
transform: [{ scale: unreadPulseAnim }],
|
|
186
181
|
}}/>)}
|
|
187
182
|
</react_native_1.View>
|
|
188
183
|
</TouchableScale_1.default>);
|
|
@@ -42,6 +42,7 @@ const NetworkIcons_1 = require("../NetworkIcons");
|
|
|
42
42
|
const constants_1 = require("../../constants");
|
|
43
43
|
const helpers_1 = require("../../helpers");
|
|
44
44
|
const toast_1 = require("../../helpers/toast");
|
|
45
|
+
const AppFonts_1 = require("../../styles/AppFonts");
|
|
45
46
|
const CopySvg = ({ size = 14, color = '#64748B' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
46
47
|
<react_native_svg_1.Path d="M8 4v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-8a2 2 0 0 0-2 2z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
47
48
|
<react_native_svg_1.Path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
@@ -205,15 +206,9 @@ const UpdateAvailableModal = ({ visible, latestVersion, onClose, }) => {
|
|
|
205
206
|
</react_native_1.Modal>);
|
|
206
207
|
};
|
|
207
208
|
exports.UpdateAvailableModal = UpdateAvailableModal;
|
|
208
|
-
const fontStack =
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
},
|
|
212
|
-
android: {
|
|
213
|
-
fontFamily: 'sans-serif',
|
|
214
|
-
},
|
|
215
|
-
default: {},
|
|
216
|
-
});
|
|
209
|
+
const fontStack = {
|
|
210
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
211
|
+
};
|
|
217
212
|
const styles = react_native_1.StyleSheet.create({
|
|
218
213
|
overlay: {
|
|
219
214
|
flex: 1,
|
|
@@ -414,7 +409,7 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
414
409
|
commandText: {
|
|
415
410
|
flex: 1,
|
|
416
411
|
fontSize: 11,
|
|
417
|
-
fontFamily:
|
|
412
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
418
413
|
color: '#38BDF8',
|
|
419
414
|
},
|
|
420
415
|
copyIconWrapper: {
|
|
@@ -206,25 +206,23 @@ const JsonViewer = react_1.default.memo(({ data, search, forceOpen, defaultExpan
|
|
|
206
206
|
{t('network.jsonViewer.emptyPayload')}
|
|
207
207
|
</react_native_1.Text>
|
|
208
208
|
</react_native_1.View>) : (wrap ? (fullHeight ? (<react_native_1.ScrollView style={{ flex: 1 }} contentContainerStyle={{ flexGrow: 1 }}>
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
<react_native_1.ScrollView horizontal showsHorizontalScrollIndicator={true} style={styles_1.default.codeBlockScroll}>
|
|
209
|
+
<react_native_1.View style={[styles_1.default.codeBlock, { width: '100%' }]}>{tree}</react_native_1.View>
|
|
210
|
+
</react_native_1.ScrollView>) : (<react_native_1.View style={[styles_1.default.codeBlock, { width: '100%' }]}>{tree}</react_native_1.View>)) : (fullHeight ? (<react_native_1.ScrollView style={{ flex: 1 }} contentContainerStyle={{ flexGrow: 1 }}>
|
|
211
|
+
<react_native_1.ScrollView horizontal showsHorizontalScrollIndicator={true} style={styles_1.default.codeBlockScroll}>
|
|
212
|
+
<react_native_1.View style={styles_1.default.codeBlock}>{tree}</react_native_1.View>
|
|
213
|
+
</react_native_1.ScrollView>
|
|
214
|
+
</react_native_1.ScrollView>) : (<react_native_1.ScrollView horizontal showsHorizontalScrollIndicator={true} style={styles_1.default.codeBlockScroll}>
|
|
216
215
|
<react_native_1.View style={styles_1.default.codeBlock}>{tree}</react_native_1.View>
|
|
217
|
-
</react_native_1.ScrollView>
|
|
218
|
-
</react_native_1.ScrollView>))))}
|
|
216
|
+
</react_native_1.ScrollView>))))}
|
|
219
217
|
|
|
220
|
-
{mode === 'raw' && (<react_native_1.ScrollView style={
|
|
221
|
-
|
|
218
|
+
{mode === 'raw' && (fullHeight ? (<react_native_1.ScrollView style={{ flex: 1 }} contentContainerStyle={localStyles.rawContainer} showsVerticalScrollIndicator={true}>
|
|
219
|
+
<HighlightText_1.default text={displayRawText} search={search} detectLinks={rawText.length < 20000} style={localStyles.rawPlainText} selectable={true} highlightStyle={{
|
|
222
220
|
backgroundColor: AppColors_1.AppColors.yellowHighlight,
|
|
223
221
|
color: AppColors_1.AppColors.primaryBlack,
|
|
224
222
|
borderRadius: 3,
|
|
225
223
|
paddingHorizontal: 2,
|
|
226
224
|
}}/>
|
|
227
|
-
|
|
225
|
+
{isTruncated && (<react_native_1.TouchableOpacity onPress={() => setShowFullRaw(true)} style={{
|
|
228
226
|
marginTop: 10,
|
|
229
227
|
backgroundColor: `${AppColors_1.AppColors.brandPurple}15`,
|
|
230
228
|
paddingVertical: 8,
|
|
@@ -234,21 +232,46 @@ const JsonViewer = react_1.default.memo(({ data, search, forceOpen, defaultExpan
|
|
|
234
232
|
borderWidth: 1,
|
|
235
233
|
borderColor: `${AppColors_1.AppColors.brandPurple}30`,
|
|
236
234
|
}}>
|
|
237
|
-
|
|
235
|
+
<react_native_1.Text style={{
|
|
238
236
|
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
239
237
|
fontSize: 11,
|
|
240
238
|
color: AppColors_1.AppColors.brandPurple,
|
|
241
239
|
}}>
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
240
|
+
Showing first 50 KB ({Math.round(rawText.length / 1024)} KB total) · Tap to load full
|
|
241
|
+
</react_native_1.Text>
|
|
242
|
+
</react_native_1.TouchableOpacity>)}
|
|
243
|
+
</react_native_1.ScrollView>) : (<react_native_1.View style={localStyles.rawContainer}>
|
|
244
|
+
<HighlightText_1.default text={displayRawText} search={search} detectLinks={rawText.length < 20000} style={localStyles.rawPlainText} selectable={true} highlightStyle={{
|
|
245
|
+
backgroundColor: AppColors_1.AppColors.yellowHighlight,
|
|
246
|
+
color: AppColors_1.AppColors.primaryBlack,
|
|
247
|
+
borderRadius: 3,
|
|
248
|
+
paddingHorizontal: 2,
|
|
249
|
+
}}/>
|
|
250
|
+
{isTruncated && (<react_native_1.TouchableOpacity onPress={() => setShowFullRaw(true)} style={{
|
|
251
|
+
marginTop: 10,
|
|
252
|
+
backgroundColor: `${AppColors_1.AppColors.brandPurple}15`,
|
|
253
|
+
paddingVertical: 8,
|
|
254
|
+
paddingHorizontal: 12,
|
|
255
|
+
borderRadius: 6,
|
|
256
|
+
alignItems: 'center',
|
|
257
|
+
borderWidth: 1,
|
|
258
|
+
borderColor: `${AppColors_1.AppColors.brandPurple}30`,
|
|
259
|
+
}}>
|
|
260
|
+
<react_native_1.Text style={{
|
|
261
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
262
|
+
fontSize: 11,
|
|
263
|
+
color: AppColors_1.AppColors.brandPurple,
|
|
264
|
+
}}>
|
|
265
|
+
Showing first 50 KB ({Math.round(rawText.length / 1024)} KB total) · Tap to load full
|
|
266
|
+
</react_native_1.Text>
|
|
267
|
+
</react_native_1.TouchableOpacity>)}
|
|
268
|
+
</react_native_1.View>))}
|
|
246
269
|
|
|
247
|
-
{mode === 'table' && (fullHeight ? (<react_native_1.ScrollView style={
|
|
270
|
+
{mode === 'table' && (fullHeight ? (<react_native_1.ScrollView style={{ flex: 1 }}>
|
|
248
271
|
{renderTableMode()}
|
|
249
|
-
</react_native_1.ScrollView>) : (<react_native_1.
|
|
272
|
+
</react_native_1.ScrollView>) : (<react_native_1.View style={localStyles.tableView}>
|
|
250
273
|
{renderTableMode()}
|
|
251
|
-
</react_native_1.
|
|
274
|
+
</react_native_1.View>))}
|
|
252
275
|
</react_native_1.View>
|
|
253
276
|
</react_native_1.View>);
|
|
254
277
|
});
|
|
@@ -101,7 +101,7 @@ const LogCard = react_1.default.memo(function LogCard({ item, onPress, timelineM
|
|
|
101
101
|
react_native_1.Animated.timing(shimmerOpacity, {
|
|
102
102
|
toValue: 0,
|
|
103
103
|
duration: 1200,
|
|
104
|
-
useNativeDriver:
|
|
104
|
+
useNativeDriver: false,
|
|
105
105
|
}).start();
|
|
106
106
|
}
|
|
107
107
|
}, [isNew]);
|
|
@@ -359,10 +359,10 @@ const LogCard = react_1.default.memo(function LogCard({ item, onPress, timelineM
|
|
|
359
359
|
</react_native_1.View>)}
|
|
360
360
|
</react_native_1.View>
|
|
361
361
|
|
|
362
|
-
<react_native_1.Animated.View pointerEvents="none" style={[
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
362
|
+
{isNew && (<react_native_1.Animated.View pointerEvents="none" style={[
|
|
363
|
+
react_native_1.StyleSheet.absoluteFill,
|
|
364
|
+
{ backgroundColor: methodColor, opacity: shimmerOpacity },
|
|
365
|
+
]}/>)}
|
|
366
366
|
</TouchableScale_1.default>
|
|
367
367
|
</react_native_1.View>);
|
|
368
368
|
});
|