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
|
@@ -56,13 +56,14 @@ 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");
|
|
62
63
|
const memoryManager_1 = require("../../helpers/memoryManager");
|
|
63
64
|
const SettingsPanel = () => {
|
|
64
65
|
const { t } = (0, i18n_1.useTranslation)();
|
|
65
|
-
const { settingsPage, setSettingsPage, settingsActiveSubTab, setSettingsActiveSubTab, tabVisibility, toggleTabVisibility, defaultTab, setDefaultTab, isDark, setIsDark, modalHeightPercent, setModalHeightPercent, modalAnimationType, setModalAnimationType, showDuplicateLogs, setShowDuplicateLogs, showUpdateToast, setShowUpdateToast, showConsoleLevels, setShowConsoleLevels, resetToDefaults, storage, logs, consoleLogs, analyticsEvents, reduxState, maxNetworkLogs, setMaxNetworkLogs, maxConsoleLogs, setMaxConsoleLogs, maxAnalyticsEventsLimit, setMaxAnalyticsEventsLimit, isAutoRamLimitEnabled, setIsAutoRamLimitEnabled, deviceFreeRamMb, reduxAutoRefresh, setReduxAutoRefreshState, reduxExpandDepth, setReduxExpandDepth, switchActiveTab, setSelected, setSelectedEvent, setReduxState, crashRecords, maxCrashLogs, setMaxCrashLogs, updateAvailable, latestNpmVersion, } = (0, InspectorContext_1.useInspector)();
|
|
66
|
+
const { settingsPage, setSettingsPage, settingsActiveSubTab, setSettingsActiveSubTab, tabVisibility, toggleTabVisibility, defaultTab, setDefaultTab, isDark, setIsDark, modalHeightPercent, setModalHeightPercent, modalAnimationType, setModalAnimationType, showDuplicateLogs, setShowDuplicateLogs, showUpdateToast, setShowUpdateToast, showConsoleLevels, setShowConsoleLevels, resetToDefaults, closeModal, storage, logs, consoleLogs, analyticsEvents, reduxState, maxNetworkLogs, setMaxNetworkLogs, maxConsoleLogs, setMaxConsoleLogs, maxAnalyticsEventsLimit, setMaxAnalyticsEventsLimit, isAutoRamLimitEnabled, setIsAutoRamLimitEnabled, deviceFreeRamMb, reduxAutoRefresh, setReduxAutoRefreshState, reduxExpandDepth, setReduxExpandDepth, switchActiveTab, setSelected, setSelectedEvent, setReduxState, crashRecords, maxCrashLogs, setMaxCrashLogs, updateAvailable, latestNpmVersion, } = (0, InspectorContext_1.useInspector)();
|
|
66
67
|
const [stagedHeight, setStagedHeight] = (0, react_1.useState)(modalHeightPercent);
|
|
67
68
|
(0, react_1.useEffect)(() => {
|
|
68
69
|
setStagedHeight(modalHeightPercent);
|
|
@@ -73,6 +74,7 @@ const SettingsPanel = () => {
|
|
|
73
74
|
const headerTopPadding = modalHeightPercent >= 95 ? statusBarHeight : 0;
|
|
74
75
|
const allModules = (0, react_1.useMemo)(() => [
|
|
75
76
|
{
|
|
77
|
+
id: 1,
|
|
76
78
|
key: 'apis',
|
|
77
79
|
label: 'APIs (Network)',
|
|
78
80
|
category: 'core',
|
|
@@ -80,6 +82,7 @@ const SettingsPanel = () => {
|
|
|
80
82
|
desc: 'HTTP/HTTPS requests, GraphQL, Axios & WebSocket inspector',
|
|
81
83
|
},
|
|
82
84
|
{
|
|
85
|
+
id: 2,
|
|
83
86
|
key: 'logs',
|
|
84
87
|
label: 'Console Logs',
|
|
85
88
|
category: 'core',
|
|
@@ -87,27 +90,7 @@ const SettingsPanel = () => {
|
|
|
87
90
|
desc: 'Terminal console logs, warnings, errors & stack traces',
|
|
88
91
|
},
|
|
89
92
|
{
|
|
90
|
-
|
|
91
|
-
label: 'Performance Tracker',
|
|
92
|
-
category: 'diagnostic',
|
|
93
|
-
icon: 'performance',
|
|
94
|
-
desc: '60 FPS monitor, Hermes memory telemetry & re-render profiler',
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
key: 'bundle',
|
|
98
|
-
label: 'Bundle Analyzer',
|
|
99
|
-
category: 'diagnostic',
|
|
100
|
-
icon: 'bundle',
|
|
101
|
-
desc: 'Metro packager dependencies, source maps & asset breakdown',
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
key: 'crash',
|
|
105
|
-
label: 'Crash Protection',
|
|
106
|
-
category: 'diagnostic',
|
|
107
|
-
icon: 'crash',
|
|
108
|
-
desc: 'Runtime exception guard, breadcrumbs & memory snapshot',
|
|
109
|
-
},
|
|
110
|
-
{
|
|
93
|
+
id: 3,
|
|
111
94
|
key: 'analytics',
|
|
112
95
|
label: 'Analytics Logger',
|
|
113
96
|
category: 'telemetry',
|
|
@@ -115,6 +98,7 @@ const SettingsPanel = () => {
|
|
|
115
98
|
desc: 'Firebase & custom analytics events, user properties & params',
|
|
116
99
|
},
|
|
117
100
|
{
|
|
101
|
+
id: 4,
|
|
118
102
|
key: 'redux',
|
|
119
103
|
label: 'Redux Inspector',
|
|
120
104
|
category: 'telemetry',
|
|
@@ -122,6 +106,15 @@ const SettingsPanel = () => {
|
|
|
122
106
|
desc: 'Store state diffing, action history & reducer timeline',
|
|
123
107
|
},
|
|
124
108
|
{
|
|
109
|
+
id: 5,
|
|
110
|
+
key: 'storage',
|
|
111
|
+
label: 'Storage Inspector',
|
|
112
|
+
category: 'telemetry',
|
|
113
|
+
icon: 'storage',
|
|
114
|
+
desc: 'AsyncStorage & MMKV key-value store viewer with full CRUD support',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
id: 6,
|
|
125
118
|
key: 'device',
|
|
126
119
|
label: 'Device Info',
|
|
127
120
|
category: 'diagnostic',
|
|
@@ -129,13 +122,31 @@ const SettingsPanel = () => {
|
|
|
129
122
|
desc: 'Hardware specs, IP address, screen metrics, UDID & runtime stats',
|
|
130
123
|
},
|
|
131
124
|
{
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
125
|
+
id: 7,
|
|
126
|
+
key: 'crash',
|
|
127
|
+
label: 'Crash Protection',
|
|
128
|
+
category: 'diagnostic',
|
|
129
|
+
icon: 'crash',
|
|
130
|
+
desc: 'Runtime exception guard, breadcrumbs & memory snapshot',
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
id: 8,
|
|
134
|
+
key: 'bundle',
|
|
135
|
+
label: 'Bundle Analyzer',
|
|
136
|
+
category: 'diagnostic',
|
|
137
|
+
icon: 'bundle',
|
|
138
|
+
desc: 'Metro packager dependencies, source maps & asset breakdown',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
id: 9,
|
|
142
|
+
key: 'performance',
|
|
143
|
+
label: 'Performance & Tracker',
|
|
144
|
+
category: 'diagnostic',
|
|
145
|
+
icon: 'performance',
|
|
146
|
+
desc: '60 FPS monitor, Hermes memory telemetry & re-render profiler',
|
|
137
147
|
},
|
|
138
148
|
{
|
|
149
|
+
id: 10,
|
|
139
150
|
key: 'debugging',
|
|
140
151
|
label: 'Multi-Device Debugging',
|
|
141
152
|
category: 'diagnostic',
|
|
@@ -150,11 +161,11 @@ const SettingsPanel = () => {
|
|
|
150
161
|
logs: Boolean(tabVisibility?.logs),
|
|
151
162
|
analytics: Boolean(tabVisibility?.analytics),
|
|
152
163
|
redux: Boolean(tabVisibility?.redux),
|
|
164
|
+
storage: Boolean(tabVisibility?.storage),
|
|
165
|
+
device: Boolean(tabVisibility?.device),
|
|
166
|
+
crash: Boolean(tabVisibility?.crash),
|
|
153
167
|
bundle: Boolean(tabVisibility?.bundle),
|
|
154
168
|
performance: Boolean(tabVisibility?.performance),
|
|
155
|
-
crash: Boolean(tabVisibility?.crash),
|
|
156
|
-
device: Boolean(tabVisibility?.device),
|
|
157
|
-
storage: Boolean(tabVisibility?.storage),
|
|
158
169
|
debugging: Boolean(tabVisibility?.debugging),
|
|
159
170
|
}));
|
|
160
171
|
(0, react_1.useEffect)(() => {
|
|
@@ -163,11 +174,11 @@ const SettingsPanel = () => {
|
|
|
163
174
|
logs: Boolean(tabVisibility?.logs),
|
|
164
175
|
analytics: Boolean(tabVisibility?.analytics),
|
|
165
176
|
redux: Boolean(tabVisibility?.redux),
|
|
177
|
+
storage: Boolean(tabVisibility?.storage),
|
|
178
|
+
device: Boolean(tabVisibility?.device),
|
|
179
|
+
crash: Boolean(tabVisibility?.crash),
|
|
166
180
|
bundle: Boolean(tabVisibility?.bundle),
|
|
167
181
|
performance: Boolean(tabVisibility?.performance),
|
|
168
|
-
crash: Boolean(tabVisibility?.crash),
|
|
169
|
-
device: Boolean(tabVisibility?.device),
|
|
170
|
-
storage: Boolean(tabVisibility?.storage),
|
|
171
182
|
debugging: Boolean(tabVisibility?.debugging),
|
|
172
183
|
});
|
|
173
184
|
}, [tabVisibility]);
|
|
@@ -177,17 +188,50 @@ const SettingsPanel = () => {
|
|
|
177
188
|
}, [stagedTabVisibility, tabVisibility, allModules]);
|
|
178
189
|
const stagedActiveCount = allModules.filter(m => m.key === 'apis' || Boolean(stagedTabVisibility[m.key])).length;
|
|
179
190
|
const handleSaveChanges = () => {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
+
if (!hasUnsavedChanges)
|
|
192
|
+
return;
|
|
193
|
+
react_native_1.Alert.alert('Apply Changes & Reload', 'Are you sure you want to save module changes? The inspector will close and reload the app to apply the new configuration.', [
|
|
194
|
+
{
|
|
195
|
+
text: 'Cancel',
|
|
196
|
+
style: 'cancel',
|
|
197
|
+
onPress: () => {
|
|
198
|
+
setStagedTabVisibility({
|
|
199
|
+
apis: true,
|
|
200
|
+
logs: Boolean(tabVisibility?.logs),
|
|
201
|
+
analytics: Boolean(tabVisibility?.analytics),
|
|
202
|
+
redux: Boolean(tabVisibility?.redux),
|
|
203
|
+
storage: Boolean(tabVisibility?.storage),
|
|
204
|
+
device: Boolean(tabVisibility?.device),
|
|
205
|
+
crash: Boolean(tabVisibility?.crash),
|
|
206
|
+
bundle: Boolean(tabVisibility?.bundle),
|
|
207
|
+
performance: Boolean(tabVisibility?.performance),
|
|
208
|
+
debugging: Boolean(tabVisibility?.debugging),
|
|
209
|
+
});
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
text: 'Save & Reload',
|
|
214
|
+
style: 'default',
|
|
215
|
+
onPress: () => {
|
|
216
|
+
(0, InspectorContext_1.animateNextLayout)();
|
|
217
|
+
allModules.forEach(m => {
|
|
218
|
+
if (m.key !== 'apis') {
|
|
219
|
+
const isStagedOn = Boolean(stagedTabVisibility[m.key]);
|
|
220
|
+
const isCurrentOn = Boolean(tabVisibility?.[m.key]);
|
|
221
|
+
if (isStagedOn !== isCurrentOn) {
|
|
222
|
+
toggleTabVisibility(m.key);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
closeModal();
|
|
227
|
+
setTimeout(() => {
|
|
228
|
+
if (__DEV__ && react_native_1.DevSettings && react_native_1.DevSettings.reload) {
|
|
229
|
+
react_native_1.DevSettings.reload();
|
|
230
|
+
}
|
|
231
|
+
}, 350);
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
]);
|
|
191
235
|
};
|
|
192
236
|
const [isDefaultTabDropdownOpen, setIsDefaultTabDropdownOpen] = (0, react_1.useState)(false);
|
|
193
237
|
const goBackToMain = () => {
|
|
@@ -360,6 +404,16 @@ const SettingsPanel = () => {
|
|
|
360
404
|
label: t('settings.ramLimits', 'RAM & Limits'),
|
|
361
405
|
Icon: NetworkIcons_1.BrainIcon,
|
|
362
406
|
},
|
|
407
|
+
{
|
|
408
|
+
key: 'capture',
|
|
409
|
+
label: t('settings.screenVideoCapture', 'Screen & Video Capture'),
|
|
410
|
+
Icon: NetworkIcons_1.CameraIcon,
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
key: 'about',
|
|
414
|
+
label: t('settings.aboutAndSpecs', 'About & Specs'),
|
|
415
|
+
Icon: NetworkIcons_1.InfoCircleIcon,
|
|
416
|
+
},
|
|
363
417
|
].map(tab => {
|
|
364
418
|
const isActive = settingsActiveSubTab === tab.key;
|
|
365
419
|
const IconComp = tab.Icon;
|
|
@@ -569,6 +623,32 @@ const SettingsPanel = () => {
|
|
|
569
623
|
gap: 6,
|
|
570
624
|
flexWrap: 'wrap',
|
|
571
625
|
}}>
|
|
626
|
+
<react_native_1.View style={{
|
|
627
|
+
minWidth: 22,
|
|
628
|
+
height: 22,
|
|
629
|
+
paddingHorizontal: 5,
|
|
630
|
+
borderRadius: 11,
|
|
631
|
+
backgroundColor: isChecked
|
|
632
|
+
? `${AppColors_1.AppColors.purple}1C`
|
|
633
|
+
: `${AppColors_1.AppColors.grayBorderSecondary}80`,
|
|
634
|
+
borderWidth: 1,
|
|
635
|
+
borderColor: isChecked
|
|
636
|
+
? `${AppColors_1.AppColors.purple}44`
|
|
637
|
+
: AppColors_1.AppColors.grayBorderSecondary,
|
|
638
|
+
alignItems: 'center',
|
|
639
|
+
justifyContent: 'center',
|
|
640
|
+
}}>
|
|
641
|
+
<react_native_1.Text style={{
|
|
642
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
643
|
+
fontSize: 10,
|
|
644
|
+
lineHeight: 13,
|
|
645
|
+
color: isChecked
|
|
646
|
+
? AppColors_1.AppColors.purple
|
|
647
|
+
: AppColors_1.AppColors.grayText,
|
|
648
|
+
}}>
|
|
649
|
+
#{moduleItem.id}
|
|
650
|
+
</react_native_1.Text>
|
|
651
|
+
</react_native_1.View>
|
|
572
652
|
<react_native_1.Text style={{
|
|
573
653
|
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
574
654
|
fontSize: 14,
|
|
@@ -1120,8 +1200,9 @@ const SettingsPanel = () => {
|
|
|
1120
1200
|
lineHeight: 18,
|
|
1121
1201
|
color: AppColors_1.AppColors.primaryBlack,
|
|
1122
1202
|
}}>
|
|
1123
|
-
{allModules.find(m => m.key === defaultTab)
|
|
1124
|
-
|
|
1203
|
+
{allModules.find(m => m.key === defaultTab)
|
|
1204
|
+
? `#${allModules.find(m => m.key === defaultTab)?.id} ${allModules.find(m => m.key === defaultTab)?.label}`
|
|
1205
|
+
: '#1 APIs (Network)'}
|
|
1125
1206
|
</react_native_1.Text>
|
|
1126
1207
|
<react_native_1.View style={{
|
|
1127
1208
|
backgroundColor: `${AppColors_1.AppColors.purple}14`,
|
|
@@ -1205,7 +1286,7 @@ const SettingsPanel = () => {
|
|
|
1205
1286
|
? AppColors_1.AppColors.purple
|
|
1206
1287
|
: AppColors_1.AppColors.primaryBlack,
|
|
1207
1288
|
}}>
|
|
1208
|
-
{tab.label}
|
|
1289
|
+
#{tab.id} {tab.label}
|
|
1209
1290
|
</react_native_1.Text>
|
|
1210
1291
|
</react_native_1.View>
|
|
1211
1292
|
{isActive && (<NetworkIcons_1.CheckIcon size={14} color={AppColors_1.AppColors.purple}/>)}
|
|
@@ -1303,132 +1384,6 @@ const SettingsPanel = () => {
|
|
|
1303
1384
|
</TouchableScale_1.default>
|
|
1304
1385
|
</react_native_1.View>
|
|
1305
1386
|
</react_native_1.View>
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
<react_native_1.View style={{
|
|
1309
|
-
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
1310
|
-
borderRadius: 14,
|
|
1311
|
-
borderWidth: 1,
|
|
1312
|
-
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
1313
|
-
overflow: 'hidden',
|
|
1314
|
-
padding: 14,
|
|
1315
|
-
gap: 12,
|
|
1316
|
-
}}>
|
|
1317
|
-
<react_native_1.Text style={{
|
|
1318
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
1319
|
-
fontSize: 11,
|
|
1320
|
-
lineHeight: 14,
|
|
1321
|
-
color: AppColors_1.AppColors.grayTextWeak,
|
|
1322
|
-
letterSpacing: 0.8,
|
|
1323
|
-
}}>
|
|
1324
|
-
PACKAGE VERSION & UPDATES
|
|
1325
|
-
</react_native_1.Text>
|
|
1326
|
-
|
|
1327
|
-
<react_native_1.View style={{
|
|
1328
|
-
flexDirection: 'row',
|
|
1329
|
-
alignItems: 'center',
|
|
1330
|
-
justifyContent: 'space-between',
|
|
1331
|
-
}}>
|
|
1332
|
-
<react_native_1.View style={{
|
|
1333
|
-
flexDirection: 'row',
|
|
1334
|
-
alignItems: 'center',
|
|
1335
|
-
gap: 10,
|
|
1336
|
-
flex: 1,
|
|
1337
|
-
marginRight: 8,
|
|
1338
|
-
}}>
|
|
1339
|
-
<react_native_1.View style={{
|
|
1340
|
-
width: 32,
|
|
1341
|
-
height: 32,
|
|
1342
|
-
borderRadius: 8,
|
|
1343
|
-
backgroundColor: '#CB383715',
|
|
1344
|
-
alignItems: 'center',
|
|
1345
|
-
justifyContent: 'center',
|
|
1346
|
-
}}>
|
|
1347
|
-
<NetworkIcons_1.NpmIcon color="#CB3837" size={16}/>
|
|
1348
|
-
</react_native_1.View>
|
|
1349
|
-
<react_native_1.View style={{ flex: 1 }}>
|
|
1350
|
-
<react_native_1.View style={{
|
|
1351
|
-
flexDirection: 'row',
|
|
1352
|
-
alignItems: 'center',
|
|
1353
|
-
gap: 6,
|
|
1354
|
-
}}>
|
|
1355
|
-
<react_native_1.Text style={{
|
|
1356
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
1357
|
-
fontSize: 13.5,
|
|
1358
|
-
lineHeight: 18,
|
|
1359
|
-
color: AppColors_1.AppColors.primaryBlack,
|
|
1360
|
-
}}>
|
|
1361
|
-
v{constants_1.LIB_VERSION}
|
|
1362
|
-
</react_native_1.Text>
|
|
1363
|
-
{updateAvailable ? (<react_native_1.View style={{
|
|
1364
|
-
flexDirection: 'row',
|
|
1365
|
-
alignItems: 'center',
|
|
1366
|
-
gap: 3,
|
|
1367
|
-
backgroundColor: '#F59E0B20',
|
|
1368
|
-
paddingHorizontal: 6,
|
|
1369
|
-
paddingVertical: 1.5,
|
|
1370
|
-
borderRadius: 5,
|
|
1371
|
-
borderWidth: 1,
|
|
1372
|
-
borderColor: '#F59E0B60',
|
|
1373
|
-
}}>
|
|
1374
|
-
<react_native_1.Text style={{
|
|
1375
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
1376
|
-
fontSize: 9.5,
|
|
1377
|
-
color: '#D97706',
|
|
1378
|
-
}}>
|
|
1379
|
-
v{latestNpmVersion} Available
|
|
1380
|
-
</react_native_1.Text>
|
|
1381
|
-
<NetworkIcons_1.BoltIcon size={9} color="#D97706"/>
|
|
1382
|
-
</react_native_1.View>) : (<react_native_1.View style={{
|
|
1383
|
-
backgroundColor: `${AppColors_1.AppColors.emerald500}20`,
|
|
1384
|
-
paddingHorizontal: 6,
|
|
1385
|
-
paddingVertical: 1.5,
|
|
1386
|
-
borderRadius: 5,
|
|
1387
|
-
borderWidth: 1,
|
|
1388
|
-
borderColor: `${AppColors_1.AppColors.emerald500}50`,
|
|
1389
|
-
}}>
|
|
1390
|
-
<react_native_1.Text style={{
|
|
1391
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
1392
|
-
fontSize: 9.5,
|
|
1393
|
-
color: AppColors_1.AppColors.emerald600,
|
|
1394
|
-
}}>
|
|
1395
|
-
Up to date
|
|
1396
|
-
</react_native_1.Text>
|
|
1397
|
-
</react_native_1.View>)}
|
|
1398
|
-
</react_native_1.View>
|
|
1399
|
-
<react_native_1.Text style={{
|
|
1400
|
-
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
1401
|
-
fontSize: 11,
|
|
1402
|
-
lineHeight: 15,
|
|
1403
|
-
color: AppColors_1.AppColors.grayText,
|
|
1404
|
-
marginTop: 1,
|
|
1405
|
-
}}>
|
|
1406
|
-
{updateAvailable
|
|
1407
|
-
? `A newer version (v${latestNpmVersion}) is available on npm registry.`
|
|
1408
|
-
: 'You are running the latest version from npm registry.'}
|
|
1409
|
-
</react_native_1.Text>
|
|
1410
|
-
</react_native_1.View>
|
|
1411
|
-
</react_native_1.View>
|
|
1412
|
-
|
|
1413
|
-
{updateAvailable && (<TouchableScale_1.default onPress={() => {
|
|
1414
|
-
(0, helpers_1.copyToClipboard)('npm install react-native-inapp-inspector@latest', 'Install Command');
|
|
1415
|
-
(0, toast_1.showToast)('Copied npm install command!');
|
|
1416
|
-
}} style={{
|
|
1417
|
-
backgroundColor: AppColors_1.AppColors.purple,
|
|
1418
|
-
paddingVertical: 6,
|
|
1419
|
-
paddingHorizontal: 10,
|
|
1420
|
-
borderRadius: 8,
|
|
1421
|
-
}}>
|
|
1422
|
-
<react_native_1.Text style={{
|
|
1423
|
-
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
1424
|
-
fontSize: 11,
|
|
1425
|
-
color: AppColors_1.AppColors.white,
|
|
1426
|
-
}}>
|
|
1427
|
-
Copy Upgrade
|
|
1428
|
-
</react_native_1.Text>
|
|
1429
|
-
</TouchableScale_1.default>)}
|
|
1430
|
-
</react_native_1.View>
|
|
1431
|
-
</react_native_1.View>
|
|
1432
1387
|
</react_native_1.View>)}
|
|
1433
1388
|
|
|
1434
1389
|
{settingsActiveSubTab === 'limits' && (<react_native_1.View style={{ gap: 14 }}>
|
|
@@ -1804,6 +1759,1158 @@ const SettingsPanel = () => {
|
|
|
1804
1759
|
</react_native_1.View>
|
|
1805
1760
|
</react_native_1.View>
|
|
1806
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>)}
|
|
2001
|
+
{settingsActiveSubTab === 'about' && (<react_native_1.View style={{ gap: 14 }}>
|
|
2002
|
+
|
|
2003
|
+
<react_native_1.View style={{
|
|
2004
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
2005
|
+
borderRadius: 14,
|
|
2006
|
+
borderWidth: 1,
|
|
2007
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
2008
|
+
padding: 16,
|
|
2009
|
+
gap: 12,
|
|
2010
|
+
}}>
|
|
2011
|
+
<react_native_1.View style={{
|
|
2012
|
+
flexDirection: 'row',
|
|
2013
|
+
alignItems: 'center',
|
|
2014
|
+
justifyContent: 'space-between',
|
|
2015
|
+
}}>
|
|
2016
|
+
<react_native_1.View style={{
|
|
2017
|
+
flexDirection: 'row',
|
|
2018
|
+
alignItems: 'center',
|
|
2019
|
+
gap: 12,
|
|
2020
|
+
flex: 1,
|
|
2021
|
+
}}>
|
|
2022
|
+
<react_native_1.View style={{
|
|
2023
|
+
width: 44,
|
|
2024
|
+
height: 44,
|
|
2025
|
+
borderRadius: 12,
|
|
2026
|
+
backgroundColor: `${AppColors_1.AppColors.purple}1A`,
|
|
2027
|
+
alignItems: 'center',
|
|
2028
|
+
justifyContent: 'center',
|
|
2029
|
+
borderWidth: 1,
|
|
2030
|
+
borderColor: `${AppColors_1.AppColors.purple}33`,
|
|
2031
|
+
}}>
|
|
2032
|
+
<NetworkIcons_1.PackageIcon color={AppColors_1.AppColors.purple} size={22}/>
|
|
2033
|
+
</react_native_1.View>
|
|
2034
|
+
<react_native_1.View style={{ flex: 1 }}>
|
|
2035
|
+
<react_native_1.View style={{
|
|
2036
|
+
flexDirection: 'row',
|
|
2037
|
+
alignItems: 'center',
|
|
2038
|
+
gap: 8,
|
|
2039
|
+
flexWrap: 'wrap',
|
|
2040
|
+
}}>
|
|
2041
|
+
<react_native_1.Text style={{
|
|
2042
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2043
|
+
fontSize: 15,
|
|
2044
|
+
lineHeight: 20,
|
|
2045
|
+
color: AppColors_1.AppColors.primaryBlack,
|
|
2046
|
+
}}>
|
|
2047
|
+
In-App Inspector
|
|
2048
|
+
</react_native_1.Text>
|
|
2049
|
+
<react_native_1.View style={{
|
|
2050
|
+
backgroundColor: `${AppColors_1.AppColors.purple}18`,
|
|
2051
|
+
paddingHorizontal: 7,
|
|
2052
|
+
paddingVertical: 2,
|
|
2053
|
+
borderRadius: 6,
|
|
2054
|
+
borderWidth: 1,
|
|
2055
|
+
borderColor: `${AppColors_1.AppColors.purple}33`,
|
|
2056
|
+
}}>
|
|
2057
|
+
<react_native_1.Text style={{
|
|
2058
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2059
|
+
fontSize: 10,
|
|
2060
|
+
color: AppColors_1.AppColors.purple,
|
|
2061
|
+
}}>
|
|
2062
|
+
v{constants_1.LIB_VERSION}
|
|
2063
|
+
</react_native_1.Text>
|
|
2064
|
+
</react_native_1.View>
|
|
2065
|
+
{updateAvailable ? (<react_native_1.View style={{
|
|
2066
|
+
flexDirection: 'row',
|
|
2067
|
+
alignItems: 'center',
|
|
2068
|
+
gap: 3,
|
|
2069
|
+
backgroundColor: '#F59E0B20',
|
|
2070
|
+
paddingHorizontal: 6,
|
|
2071
|
+
paddingVertical: 2,
|
|
2072
|
+
borderRadius: 6,
|
|
2073
|
+
borderWidth: 1,
|
|
2074
|
+
borderColor: '#F59E0B60',
|
|
2075
|
+
}}>
|
|
2076
|
+
<react_native_1.Text style={{
|
|
2077
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2078
|
+
fontSize: 9.5,
|
|
2079
|
+
color: '#D97706',
|
|
2080
|
+
}}>
|
|
2081
|
+
v{latestNpmVersion} Available
|
|
2082
|
+
</react_native_1.Text>
|
|
2083
|
+
<NetworkIcons_1.BoltIcon size={9} color="#D97706"/>
|
|
2084
|
+
</react_native_1.View>) : (<react_native_1.View style={{
|
|
2085
|
+
backgroundColor: `${AppColors_1.AppColors.emerald500}20`,
|
|
2086
|
+
paddingHorizontal: 6,
|
|
2087
|
+
paddingVertical: 2,
|
|
2088
|
+
borderRadius: 6,
|
|
2089
|
+
borderWidth: 1,
|
|
2090
|
+
borderColor: `${AppColors_1.AppColors.emerald500}50`,
|
|
2091
|
+
}}>
|
|
2092
|
+
<react_native_1.Text style={{
|
|
2093
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2094
|
+
fontSize: 9.5,
|
|
2095
|
+
color: AppColors_1.AppColors.emerald600,
|
|
2096
|
+
}}>
|
|
2097
|
+
Up to date
|
|
2098
|
+
</react_native_1.Text>
|
|
2099
|
+
</react_native_1.View>)}
|
|
2100
|
+
</react_native_1.View>
|
|
2101
|
+
<react_native_1.Text style={{
|
|
2102
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
2103
|
+
fontSize: 11,
|
|
2104
|
+
lineHeight: 15,
|
|
2105
|
+
color: AppColors_1.AppColors.grayText,
|
|
2106
|
+
marginTop: 2,
|
|
2107
|
+
}}>
|
|
2108
|
+
react-native-inapp-inspector
|
|
2109
|
+
</react_native_1.Text>
|
|
2110
|
+
</react_native_1.View>
|
|
2111
|
+
</react_native_1.View>
|
|
2112
|
+
</react_native_1.View>
|
|
2113
|
+
|
|
2114
|
+
<react_native_1.Text style={{
|
|
2115
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
2116
|
+
fontSize: 11.5,
|
|
2117
|
+
lineHeight: 16,
|
|
2118
|
+
color: AppColors_1.AppColors.grayText,
|
|
2119
|
+
}}>
|
|
2120
|
+
High-performance in-app debugging, network logging, console inspection, performance profiling, storage viewer & telemetry diagnostics for React Native.
|
|
2121
|
+
</react_native_1.Text>
|
|
2122
|
+
|
|
2123
|
+
{updateAvailable && (<TouchableScale_1.default onPress={() => {
|
|
2124
|
+
(0, helpers_1.copyToClipboard)('npm install react-native-inapp-inspector@latest', 'Install Command');
|
|
2125
|
+
(0, toast_1.showToast)('Copied npm upgrade command!');
|
|
2126
|
+
}} style={{
|
|
2127
|
+
backgroundColor: AppColors_1.AppColors.purple,
|
|
2128
|
+
paddingVertical: 8,
|
|
2129
|
+
paddingHorizontal: 12,
|
|
2130
|
+
borderRadius: 8,
|
|
2131
|
+
flexDirection: 'row',
|
|
2132
|
+
alignItems: 'center',
|
|
2133
|
+
justifyContent: 'center',
|
|
2134
|
+
gap: 6,
|
|
2135
|
+
}}>
|
|
2136
|
+
<NetworkIcons_1.BoltIcon size={12} color={AppColors_1.AppColors.white}/>
|
|
2137
|
+
<react_native_1.Text style={{
|
|
2138
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2139
|
+
fontSize: 12,
|
|
2140
|
+
color: AppColors_1.AppColors.white,
|
|
2141
|
+
}}>
|
|
2142
|
+
Copy Upgrade Command (v{latestNpmVersion})
|
|
2143
|
+
</react_native_1.Text>
|
|
2144
|
+
</TouchableScale_1.default>)}
|
|
2145
|
+
</react_native_1.View>
|
|
2146
|
+
|
|
2147
|
+
|
|
2148
|
+
<react_native_1.View style={{
|
|
2149
|
+
flexDirection: 'row',
|
|
2150
|
+
flexWrap: 'wrap',
|
|
2151
|
+
gap: 8,
|
|
2152
|
+
}}>
|
|
2153
|
+
<TouchableScale_1.default onPress={() => {
|
|
2154
|
+
react_native_1.Linking.openURL('https://github.com/vengatmacuser/react-native-inapp-inspector').catch(() => { });
|
|
2155
|
+
}} style={{
|
|
2156
|
+
flex: 1,
|
|
2157
|
+
minWidth: '47%',
|
|
2158
|
+
backgroundColor: `${AppColors_1.AppColors.purple}0F`,
|
|
2159
|
+
borderRadius: 12,
|
|
2160
|
+
borderWidth: 1,
|
|
2161
|
+
borderColor: `${AppColors_1.AppColors.purple}30`,
|
|
2162
|
+
paddingVertical: 10,
|
|
2163
|
+
paddingHorizontal: 12,
|
|
2164
|
+
flexDirection: 'row',
|
|
2165
|
+
alignItems: 'center',
|
|
2166
|
+
gap: 8,
|
|
2167
|
+
}}>
|
|
2168
|
+
<NetworkIcons_1.GitHubIcon color={AppColors_1.AppColors.purple} size={18}/>
|
|
2169
|
+
<react_native_1.View style={{ flex: 1 }}>
|
|
2170
|
+
<react_native_1.Text style={{
|
|
2171
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2172
|
+
fontSize: 11.5,
|
|
2173
|
+
color: AppColors_1.AppColors.primaryBlack,
|
|
2174
|
+
}}>
|
|
2175
|
+
⭐ Star on GitHub
|
|
2176
|
+
</react_native_1.Text>
|
|
2177
|
+
<react_native_1.Text style={{
|
|
2178
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
2179
|
+
fontSize: 9.5,
|
|
2180
|
+
color: AppColors_1.AppColors.grayText,
|
|
2181
|
+
}}>
|
|
2182
|
+
Support open source
|
|
2183
|
+
</react_native_1.Text>
|
|
2184
|
+
</react_native_1.View>
|
|
2185
|
+
</TouchableScale_1.default>
|
|
2186
|
+
|
|
2187
|
+
<TouchableScale_1.default onPress={() => {
|
|
2188
|
+
react_native_1.Linking.openURL('https://www.npmjs.com/package/react-native-inapp-inspector').catch(() => { });
|
|
2189
|
+
}} style={{
|
|
2190
|
+
flex: 1,
|
|
2191
|
+
minWidth: '47%',
|
|
2192
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
2193
|
+
borderRadius: 12,
|
|
2194
|
+
borderWidth: 1,
|
|
2195
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
2196
|
+
paddingVertical: 10,
|
|
2197
|
+
paddingHorizontal: 12,
|
|
2198
|
+
flexDirection: 'row',
|
|
2199
|
+
alignItems: 'center',
|
|
2200
|
+
gap: 8,
|
|
2201
|
+
}}>
|
|
2202
|
+
<NetworkIcons_1.NpmIcon color="#CB3837" size={18}/>
|
|
2203
|
+
<react_native_1.View style={{ flex: 1 }}>
|
|
2204
|
+
<react_native_1.Text style={{
|
|
2205
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2206
|
+
fontSize: 11.5,
|
|
2207
|
+
color: AppColors_1.AppColors.primaryBlack,
|
|
2208
|
+
}}>
|
|
2209
|
+
NPM Registry
|
|
2210
|
+
</react_native_1.Text>
|
|
2211
|
+
<react_native_1.Text style={{
|
|
2212
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
2213
|
+
fontSize: 9.5,
|
|
2214
|
+
color: AppColors_1.AppColors.grayText,
|
|
2215
|
+
}}>
|
|
2216
|
+
Package repository
|
|
2217
|
+
</react_native_1.Text>
|
|
2218
|
+
</react_native_1.View>
|
|
2219
|
+
</TouchableScale_1.default>
|
|
2220
|
+
|
|
2221
|
+
<TouchableScale_1.default onPress={() => {
|
|
2222
|
+
react_native_1.Linking.openURL('https://github.com/vengatmacuser/react-native-inapp-inspector#readme').catch(() => { });
|
|
2223
|
+
}} style={{
|
|
2224
|
+
flex: 1,
|
|
2225
|
+
minWidth: '47%',
|
|
2226
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
2227
|
+
borderRadius: 12,
|
|
2228
|
+
borderWidth: 1,
|
|
2229
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
2230
|
+
paddingVertical: 10,
|
|
2231
|
+
paddingHorizontal: 12,
|
|
2232
|
+
flexDirection: 'row',
|
|
2233
|
+
alignItems: 'center',
|
|
2234
|
+
gap: 8,
|
|
2235
|
+
}}>
|
|
2236
|
+
<react_native_1.Text style={{ fontSize: 16 }}>📖</react_native_1.Text>
|
|
2237
|
+
<react_native_1.View style={{ flex: 1 }}>
|
|
2238
|
+
<react_native_1.Text style={{
|
|
2239
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2240
|
+
fontSize: 11.5,
|
|
2241
|
+
color: AppColors_1.AppColors.primaryBlack,
|
|
2242
|
+
}}>
|
|
2243
|
+
Documentation
|
|
2244
|
+
</react_native_1.Text>
|
|
2245
|
+
<react_native_1.Text style={{
|
|
2246
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
2247
|
+
fontSize: 9.5,
|
|
2248
|
+
color: AppColors_1.AppColors.grayText,
|
|
2249
|
+
}}>
|
|
2250
|
+
Setup & API guide
|
|
2251
|
+
</react_native_1.Text>
|
|
2252
|
+
</react_native_1.View>
|
|
2253
|
+
</TouchableScale_1.default>
|
|
2254
|
+
|
|
2255
|
+
<TouchableScale_1.default onPress={() => {
|
|
2256
|
+
react_native_1.Linking.openURL('https://github.com/vengatmacuser/react-native-inapp-inspector/issues').catch(() => { });
|
|
2257
|
+
}} style={{
|
|
2258
|
+
flex: 1,
|
|
2259
|
+
minWidth: '47%',
|
|
2260
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
2261
|
+
borderRadius: 12,
|
|
2262
|
+
borderWidth: 1,
|
|
2263
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
2264
|
+
paddingVertical: 10,
|
|
2265
|
+
paddingHorizontal: 12,
|
|
2266
|
+
flexDirection: 'row',
|
|
2267
|
+
alignItems: 'center',
|
|
2268
|
+
gap: 8,
|
|
2269
|
+
}}>
|
|
2270
|
+
<react_native_1.Text style={{ fontSize: 16 }}>🐞</react_native_1.Text>
|
|
2271
|
+
<react_native_1.View style={{ flex: 1 }}>
|
|
2272
|
+
<react_native_1.Text style={{
|
|
2273
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2274
|
+
fontSize: 11.5,
|
|
2275
|
+
color: AppColors_1.AppColors.primaryBlack,
|
|
2276
|
+
}}>
|
|
2277
|
+
Report Issue
|
|
2278
|
+
</react_native_1.Text>
|
|
2279
|
+
<react_native_1.Text style={{
|
|
2280
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
2281
|
+
fontSize: 9.5,
|
|
2282
|
+
color: AppColors_1.AppColors.grayText,
|
|
2283
|
+
}}>
|
|
2284
|
+
Bugs & feature requests
|
|
2285
|
+
</react_native_1.Text>
|
|
2286
|
+
</react_native_1.View>
|
|
2287
|
+
</TouchableScale_1.default>
|
|
2288
|
+
|
|
2289
|
+
<TouchableScale_1.default onPress={() => {
|
|
2290
|
+
react_native_1.Linking.openURL('https://github.com/vengatmacuser/react-native-inapp-inspector/releases').catch(() => { });
|
|
2291
|
+
}} style={{
|
|
2292
|
+
flex: 1,
|
|
2293
|
+
minWidth: '47%',
|
|
2294
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
2295
|
+
borderRadius: 12,
|
|
2296
|
+
borderWidth: 1,
|
|
2297
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
2298
|
+
paddingVertical: 10,
|
|
2299
|
+
paddingHorizontal: 12,
|
|
2300
|
+
flexDirection: 'row',
|
|
2301
|
+
alignItems: 'center',
|
|
2302
|
+
gap: 8,
|
|
2303
|
+
}}>
|
|
2304
|
+
<react_native_1.Text style={{ fontSize: 16 }}>🏷️</react_native_1.Text>
|
|
2305
|
+
<react_native_1.View style={{ flex: 1 }}>
|
|
2306
|
+
<react_native_1.Text style={{
|
|
2307
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2308
|
+
fontSize: 11.5,
|
|
2309
|
+
color: AppColors_1.AppColors.primaryBlack,
|
|
2310
|
+
}}>
|
|
2311
|
+
Release Notes
|
|
2312
|
+
</react_native_1.Text>
|
|
2313
|
+
<react_native_1.Text style={{
|
|
2314
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
2315
|
+
fontSize: 9.5,
|
|
2316
|
+
color: AppColors_1.AppColors.grayText,
|
|
2317
|
+
}}>
|
|
2318
|
+
Version changelog
|
|
2319
|
+
</react_native_1.Text>
|
|
2320
|
+
</react_native_1.View>
|
|
2321
|
+
</TouchableScale_1.default>
|
|
2322
|
+
|
|
2323
|
+
<TouchableScale_1.default onPress={() => {
|
|
2324
|
+
const win = react_native_1.Dimensions.get('window');
|
|
2325
|
+
const scr = react_native_1.Dimensions.get('screen');
|
|
2326
|
+
const rnVer = react_native_1.Platform.constants?.reactNativeVersion;
|
|
2327
|
+
const specsPayload = {
|
|
2328
|
+
package: {
|
|
2329
|
+
name: 'react-native-inapp-inspector',
|
|
2330
|
+
version: `v${constants_1.LIB_VERSION}`,
|
|
2331
|
+
latestNpmVersion: latestNpmVersion ? `v${latestNpmVersion}` : 'Checking...',
|
|
2332
|
+
license: 'MIT',
|
|
2333
|
+
repository: 'https://github.com/vengatmacuser/react-native-inapp-inspector',
|
|
2334
|
+
},
|
|
2335
|
+
hostApp: {
|
|
2336
|
+
name: (0, helpers_1.getAppName)(),
|
|
2337
|
+
bundleId: (0, helpers_1.getBundleIdentifier)(),
|
|
2338
|
+
versionAndBuild: (0, helpers_1.getAppVersionAndBuild)().formatted,
|
|
2339
|
+
buildVariant: __DEV__ ? 'Development (Debug)' : 'Production (Release)',
|
|
2340
|
+
metroConnected: (0, helpers_1.isLocalDebugEnvironment)(),
|
|
2341
|
+
},
|
|
2342
|
+
runtime: {
|
|
2343
|
+
reactNativeVersion: rnVer ? `${rnVer.major}.${rnVer.minor}.${rnVer.patch}` : '0.74+',
|
|
2344
|
+
reactVersion: react_1.default.version,
|
|
2345
|
+
jsEngine: Boolean(global?.HermesInternal) ? 'Hermes' : 'JavaScriptCore (JSC)',
|
|
2346
|
+
architecture: Boolean(global?.nativeFabricUIManager) ? 'Fabric (New Architecture)' : 'Paper (Legacy Bridge)',
|
|
2347
|
+
turboModules: Boolean(global?.__turboModuleProxy || global?.TurboModuleRegistry),
|
|
2348
|
+
},
|
|
2349
|
+
device: {
|
|
2350
|
+
platform: react_native_1.Platform.OS,
|
|
2351
|
+
osVersion: react_native_1.Platform.Version,
|
|
2352
|
+
deviceModel: react_native_1.Platform.constants?.Model || 'Unknown Device',
|
|
2353
|
+
windowDimensions: `${Math.round(win.width)}x${Math.round(win.height)} pt`,
|
|
2354
|
+
screenDimensions: `${Math.round(scr.width)}x${Math.round(scr.height)} pt`,
|
|
2355
|
+
pixelRatio: react_native_1.PixelRatio.get(),
|
|
2356
|
+
fontScale: react_native_1.PixelRatio.getFontScale(),
|
|
2357
|
+
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone || 'Unknown',
|
|
2358
|
+
locale: Intl.DateTimeFormat().resolvedOptions().locale || 'en',
|
|
2359
|
+
},
|
|
2360
|
+
storageAndCapabilities: {
|
|
2361
|
+
storageEngine: (0, settingsStore_1.isPersistentStorageAvailable)() ? 'MMKV (Fast Native Storage)' : 'In-Memory State',
|
|
2362
|
+
hasNativeModule: Boolean(global?.NativeInspectorModule || global?.__IN_APP_INSPECTOR_NATIVE__),
|
|
2363
|
+
reduxConnected: (0, reduxLogger_1.isReduxConnected)(),
|
|
2364
|
+
analyticsConnected: (0, analyticsLogger_2.isAnalyticsConnected)(),
|
|
2365
|
+
},
|
|
2366
|
+
};
|
|
2367
|
+
(0, helpers_1.copyToClipboard)(JSON.stringify(specsPayload, null, 2), 'Diagnostic Specifications');
|
|
2368
|
+
(0, toast_1.showToast)('Copied full diagnostic specs to clipboard!');
|
|
2369
|
+
}} style={{
|
|
2370
|
+
flex: 1,
|
|
2371
|
+
minWidth: '47%',
|
|
2372
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
2373
|
+
borderRadius: 12,
|
|
2374
|
+
borderWidth: 1,
|
|
2375
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
2376
|
+
paddingVertical: 10,
|
|
2377
|
+
paddingHorizontal: 12,
|
|
2378
|
+
flexDirection: 'row',
|
|
2379
|
+
alignItems: 'center',
|
|
2380
|
+
gap: 8,
|
|
2381
|
+
}}>
|
|
2382
|
+
<NetworkIcons_1.CopyIcon color={AppColors_1.AppColors.purple} size={16}/>
|
|
2383
|
+
<react_native_1.View style={{ flex: 1 }}>
|
|
2384
|
+
<react_native_1.Text style={{
|
|
2385
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2386
|
+
fontSize: 11.5,
|
|
2387
|
+
color: AppColors_1.AppColors.primaryBlack,
|
|
2388
|
+
}}>
|
|
2389
|
+
Copy Specs JSON
|
|
2390
|
+
</react_native_1.Text>
|
|
2391
|
+
<react_native_1.Text style={{
|
|
2392
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
2393
|
+
fontSize: 9.5,
|
|
2394
|
+
color: AppColors_1.AppColors.grayText,
|
|
2395
|
+
}}>
|
|
2396
|
+
Diagnostics payload
|
|
2397
|
+
</react_native_1.Text>
|
|
2398
|
+
</react_native_1.View>
|
|
2399
|
+
</TouchableScale_1.default>
|
|
2400
|
+
</react_native_1.View>
|
|
2401
|
+
|
|
2402
|
+
|
|
2403
|
+
<react_native_1.View style={{
|
|
2404
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
2405
|
+
borderRadius: 14,
|
|
2406
|
+
borderWidth: 1,
|
|
2407
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
2408
|
+
overflow: 'hidden',
|
|
2409
|
+
padding: 14,
|
|
2410
|
+
gap: 12,
|
|
2411
|
+
}}>
|
|
2412
|
+
<react_native_1.Text style={{
|
|
2413
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2414
|
+
fontSize: 11,
|
|
2415
|
+
lineHeight: 14,
|
|
2416
|
+
color: AppColors_1.AppColors.grayTextWeak,
|
|
2417
|
+
letterSpacing: 0.8,
|
|
2418
|
+
}}>
|
|
2419
|
+
PACKAGE VERSION & UPGRADES
|
|
2420
|
+
</react_native_1.Text>
|
|
2421
|
+
|
|
2422
|
+
<react_native_1.View style={{
|
|
2423
|
+
flexDirection: 'row',
|
|
2424
|
+
alignItems: 'center',
|
|
2425
|
+
justifyContent: 'space-between',
|
|
2426
|
+
}}>
|
|
2427
|
+
<react_native_1.View style={{
|
|
2428
|
+
flexDirection: 'row',
|
|
2429
|
+
alignItems: 'center',
|
|
2430
|
+
gap: 10,
|
|
2431
|
+
flex: 1,
|
|
2432
|
+
marginRight: 8,
|
|
2433
|
+
}}>
|
|
2434
|
+
<react_native_1.View style={{
|
|
2435
|
+
width: 34,
|
|
2436
|
+
height: 34,
|
|
2437
|
+
borderRadius: 9,
|
|
2438
|
+
backgroundColor: '#CB383715',
|
|
2439
|
+
alignItems: 'center',
|
|
2440
|
+
justifyContent: 'center',
|
|
2441
|
+
}}>
|
|
2442
|
+
<NetworkIcons_1.NpmIcon color="#CB3837" size={17}/>
|
|
2443
|
+
</react_native_1.View>
|
|
2444
|
+
<react_native_1.View style={{ flex: 1 }}>
|
|
2445
|
+
<react_native_1.View style={{
|
|
2446
|
+
flexDirection: 'row',
|
|
2447
|
+
alignItems: 'center',
|
|
2448
|
+
gap: 6,
|
|
2449
|
+
}}>
|
|
2450
|
+
<react_native_1.Text style={{
|
|
2451
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2452
|
+
fontSize: 14,
|
|
2453
|
+
lineHeight: 18,
|
|
2454
|
+
color: AppColors_1.AppColors.primaryBlack,
|
|
2455
|
+
}}>
|
|
2456
|
+
v{constants_1.LIB_VERSION}
|
|
2457
|
+
</react_native_1.Text>
|
|
2458
|
+
{updateAvailable ? (<react_native_1.View style={{
|
|
2459
|
+
flexDirection: 'row',
|
|
2460
|
+
alignItems: 'center',
|
|
2461
|
+
gap: 3,
|
|
2462
|
+
backgroundColor: '#F59E0B20',
|
|
2463
|
+
paddingHorizontal: 6,
|
|
2464
|
+
paddingVertical: 1.5,
|
|
2465
|
+
borderRadius: 5,
|
|
2466
|
+
borderWidth: 1,
|
|
2467
|
+
borderColor: '#F59E0B60',
|
|
2468
|
+
}}>
|
|
2469
|
+
<react_native_1.Text style={{
|
|
2470
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2471
|
+
fontSize: 9.5,
|
|
2472
|
+
color: '#D97706',
|
|
2473
|
+
}}>
|
|
2474
|
+
v{latestNpmVersion} Available
|
|
2475
|
+
</react_native_1.Text>
|
|
2476
|
+
<NetworkIcons_1.BoltIcon size={9} color="#D97706"/>
|
|
2477
|
+
</react_native_1.View>) : (<react_native_1.View style={{
|
|
2478
|
+
backgroundColor: `${AppColors_1.AppColors.emerald500}20`,
|
|
2479
|
+
paddingHorizontal: 6,
|
|
2480
|
+
paddingVertical: 1.5,
|
|
2481
|
+
borderRadius: 5,
|
|
2482
|
+
borderWidth: 1,
|
|
2483
|
+
borderColor: `${AppColors_1.AppColors.emerald500}50`,
|
|
2484
|
+
}}>
|
|
2485
|
+
<react_native_1.Text style={{
|
|
2486
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2487
|
+
fontSize: 9.5,
|
|
2488
|
+
color: AppColors_1.AppColors.emerald600,
|
|
2489
|
+
}}>
|
|
2490
|
+
Up to date
|
|
2491
|
+
</react_native_1.Text>
|
|
2492
|
+
</react_native_1.View>)}
|
|
2493
|
+
</react_native_1.View>
|
|
2494
|
+
<react_native_1.Text style={{
|
|
2495
|
+
fontFamily: AppFonts_1.AppFonts.interRegular,
|
|
2496
|
+
fontSize: 11,
|
|
2497
|
+
lineHeight: 15,
|
|
2498
|
+
color: AppColors_1.AppColors.grayText,
|
|
2499
|
+
marginTop: 1,
|
|
2500
|
+
}}>
|
|
2501
|
+
{updateAvailable
|
|
2502
|
+
? `A newer release (v${latestNpmVersion}) is available on npm registry.`
|
|
2503
|
+
: 'You are running the latest version from npm registry.'}
|
|
2504
|
+
</react_native_1.Text>
|
|
2505
|
+
</react_native_1.View>
|
|
2506
|
+
</react_native_1.View>
|
|
2507
|
+
|
|
2508
|
+
<TouchableScale_1.default onPress={() => {
|
|
2509
|
+
(0, helpers_1.copyToClipboard)('npm install react-native-inapp-inspector@latest', 'Install Command');
|
|
2510
|
+
(0, toast_1.showToast)('Copied npm install command!');
|
|
2511
|
+
}} style={{
|
|
2512
|
+
backgroundColor: updateAvailable ? AppColors_1.AppColors.purple : `${AppColors_1.AppColors.purple}18`,
|
|
2513
|
+
paddingVertical: 7,
|
|
2514
|
+
paddingHorizontal: 11,
|
|
2515
|
+
borderRadius: 8,
|
|
2516
|
+
flexDirection: 'row',
|
|
2517
|
+
alignItems: 'center',
|
|
2518
|
+
gap: 5,
|
|
2519
|
+
}}>
|
|
2520
|
+
<NetworkIcons_1.CopyIcon color={updateAvailable ? AppColors_1.AppColors.white : AppColors_1.AppColors.purple} size={12}/>
|
|
2521
|
+
<react_native_1.Text style={{
|
|
2522
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2523
|
+
fontSize: 11,
|
|
2524
|
+
color: updateAvailable ? AppColors_1.AppColors.white : AppColors_1.AppColors.purple,
|
|
2525
|
+
}}>
|
|
2526
|
+
{updateAvailable ? 'Copy Upgrade' : 'Copy Install'}
|
|
2527
|
+
</react_native_1.Text>
|
|
2528
|
+
</TouchableScale_1.default>
|
|
2529
|
+
</react_native_1.View>
|
|
2530
|
+
</react_native_1.View>
|
|
2531
|
+
|
|
2532
|
+
|
|
2533
|
+
<react_native_1.View style={{
|
|
2534
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
2535
|
+
borderRadius: 14,
|
|
2536
|
+
borderWidth: 1,
|
|
2537
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
2538
|
+
padding: 14,
|
|
2539
|
+
gap: 10,
|
|
2540
|
+
}}>
|
|
2541
|
+
<react_native_1.Text style={{
|
|
2542
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2543
|
+
fontSize: 11,
|
|
2544
|
+
lineHeight: 14,
|
|
2545
|
+
color: AppColors_1.AppColors.grayTextWeak,
|
|
2546
|
+
letterSpacing: 0.8,
|
|
2547
|
+
}}>
|
|
2548
|
+
HOST APPLICATION & BUILD
|
|
2549
|
+
</react_native_1.Text>
|
|
2550
|
+
|
|
2551
|
+
<react_native_1.View style={{ gap: 8 }}>
|
|
2552
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2553
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2554
|
+
Application Name
|
|
2555
|
+
</react_native_1.Text>
|
|
2556
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2557
|
+
{(0, helpers_1.getAppName)()}
|
|
2558
|
+
</react_native_1.Text>
|
|
2559
|
+
</react_native_1.View>
|
|
2560
|
+
|
|
2561
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2562
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2563
|
+
Bundle ID / Package
|
|
2564
|
+
</react_native_1.Text>
|
|
2565
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2566
|
+
{(0, helpers_1.getBundleIdentifier)()}
|
|
2567
|
+
</react_native_1.Text>
|
|
2568
|
+
</react_native_1.View>
|
|
2569
|
+
|
|
2570
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2571
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2572
|
+
Version & Build Number
|
|
2573
|
+
</react_native_1.Text>
|
|
2574
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2575
|
+
{(0, helpers_1.getAppVersionAndBuild)().formatted}
|
|
2576
|
+
</react_native_1.Text>
|
|
2577
|
+
</react_native_1.View>
|
|
2578
|
+
|
|
2579
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2580
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2581
|
+
Build Variant
|
|
2582
|
+
</react_native_1.Text>
|
|
2583
|
+
<react_native_1.View style={{
|
|
2584
|
+
backgroundColor: __DEV__ ? `${AppColors_1.AppColors.amber500}20` : `${AppColors_1.AppColors.emerald500}20`,
|
|
2585
|
+
paddingHorizontal: 6,
|
|
2586
|
+
paddingVertical: 1.5,
|
|
2587
|
+
borderRadius: 5,
|
|
2588
|
+
borderWidth: 1,
|
|
2589
|
+
borderColor: __DEV__ ? `${AppColors_1.AppColors.amber500}50` : `${AppColors_1.AppColors.emerald500}50`,
|
|
2590
|
+
}}>
|
|
2591
|
+
<react_native_1.Text style={{
|
|
2592
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2593
|
+
fontSize: 10,
|
|
2594
|
+
color: __DEV__ ? AppColors_1.AppColors.amber500 : AppColors_1.AppColors.emerald600,
|
|
2595
|
+
}}>
|
|
2596
|
+
{__DEV__ ? 'Development (Debug)' : 'Production (Release)'}
|
|
2597
|
+
</react_native_1.Text>
|
|
2598
|
+
</react_native_1.View>
|
|
2599
|
+
</react_native_1.View>
|
|
2600
|
+
|
|
2601
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2602
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2603
|
+
Metro Bundler Connection
|
|
2604
|
+
</react_native_1.Text>
|
|
2605
|
+
<react_native_1.Text style={{
|
|
2606
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2607
|
+
fontSize: 11.5,
|
|
2608
|
+
color: (0, helpers_1.isLocalDebugEnvironment)() ? AppColors_1.AppColors.emerald600 : AppColors_1.AppColors.grayText,
|
|
2609
|
+
}}>
|
|
2610
|
+
{(0, helpers_1.isLocalDebugEnvironment)() ? 'Connected (Hot Reload Active)' : 'Offline / Standalone'}
|
|
2611
|
+
</react_native_1.Text>
|
|
2612
|
+
</react_native_1.View>
|
|
2613
|
+
</react_native_1.View>
|
|
2614
|
+
</react_native_1.View>
|
|
2615
|
+
|
|
2616
|
+
|
|
2617
|
+
<react_native_1.View style={{
|
|
2618
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
2619
|
+
borderRadius: 14,
|
|
2620
|
+
borderWidth: 1,
|
|
2621
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
2622
|
+
padding: 14,
|
|
2623
|
+
gap: 10,
|
|
2624
|
+
}}>
|
|
2625
|
+
<react_native_1.Text style={{
|
|
2626
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2627
|
+
fontSize: 11,
|
|
2628
|
+
lineHeight: 14,
|
|
2629
|
+
color: AppColors_1.AppColors.grayTextWeak,
|
|
2630
|
+
letterSpacing: 0.8,
|
|
2631
|
+
}}>
|
|
2632
|
+
FRAMEWORK & RUNTIME ENGINE
|
|
2633
|
+
</react_native_1.Text>
|
|
2634
|
+
|
|
2635
|
+
<react_native_1.View style={{ gap: 8 }}>
|
|
2636
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2637
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2638
|
+
React Native Version
|
|
2639
|
+
</react_native_1.Text>
|
|
2640
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2641
|
+
v{(react_native_1.Platform.constants?.reactNativeVersion?.major != null)
|
|
2642
|
+
? `${react_native_1.Platform.constants.reactNativeVersion.major}.${react_native_1.Platform.constants.reactNativeVersion.minor}.${react_native_1.Platform.constants.reactNativeVersion.patch}`
|
|
2643
|
+
: '0.74+'}
|
|
2644
|
+
</react_native_1.Text>
|
|
2645
|
+
</react_native_1.View>
|
|
2646
|
+
|
|
2647
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2648
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2649
|
+
React Core Version
|
|
2650
|
+
</react_native_1.Text>
|
|
2651
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2652
|
+
v{react_1.default.version}
|
|
2653
|
+
</react_native_1.Text>
|
|
2654
|
+
</react_native_1.View>
|
|
2655
|
+
|
|
2656
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2657
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2658
|
+
JavaScript Engine
|
|
2659
|
+
</react_native_1.Text>
|
|
2660
|
+
<react_native_1.View style={{
|
|
2661
|
+
backgroundColor: `${AppColors_1.AppColors.purple}15`,
|
|
2662
|
+
paddingHorizontal: 6,
|
|
2663
|
+
paddingVertical: 1.5,
|
|
2664
|
+
borderRadius: 5,
|
|
2665
|
+
borderWidth: 1,
|
|
2666
|
+
borderColor: `${AppColors_1.AppColors.purple}40`,
|
|
2667
|
+
}}>
|
|
2668
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 10.5, color: AppColors_1.AppColors.purple }}>
|
|
2669
|
+
{Boolean(global?.HermesInternal) ? 'Hermes Engine (Active)' : 'JavaScriptCore (JSC)'}
|
|
2670
|
+
</react_native_1.Text>
|
|
2671
|
+
</react_native_1.View>
|
|
2672
|
+
</react_native_1.View>
|
|
2673
|
+
|
|
2674
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2675
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2676
|
+
Rendering Architecture
|
|
2677
|
+
</react_native_1.Text>
|
|
2678
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2679
|
+
{Boolean(global?.nativeFabricUIManager) ? 'Fabric (New Architecture)' : 'Paper (Legacy Bridge)'}
|
|
2680
|
+
</react_native_1.Text>
|
|
2681
|
+
</react_native_1.View>
|
|
2682
|
+
|
|
2683
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2684
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2685
|
+
TurboModules Support
|
|
2686
|
+
</react_native_1.Text>
|
|
2687
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2688
|
+
{Boolean(global?.__turboModuleProxy || global?.TurboModuleRegistry)
|
|
2689
|
+
? 'Enabled (C++ JSI)'
|
|
2690
|
+
: 'Standard Bridge'}
|
|
2691
|
+
</react_native_1.Text>
|
|
2692
|
+
</react_native_1.View>
|
|
2693
|
+
</react_native_1.View>
|
|
2694
|
+
</react_native_1.View>
|
|
2695
|
+
|
|
2696
|
+
|
|
2697
|
+
<react_native_1.View style={{
|
|
2698
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
2699
|
+
borderRadius: 14,
|
|
2700
|
+
borderWidth: 1,
|
|
2701
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
2702
|
+
padding: 14,
|
|
2703
|
+
gap: 10,
|
|
2704
|
+
}}>
|
|
2705
|
+
<react_native_1.Text style={{
|
|
2706
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2707
|
+
fontSize: 11,
|
|
2708
|
+
lineHeight: 14,
|
|
2709
|
+
color: AppColors_1.AppColors.grayTextWeak,
|
|
2710
|
+
letterSpacing: 0.8,
|
|
2711
|
+
}}>
|
|
2712
|
+
DEVICE & DISPLAY METRICS
|
|
2713
|
+
</react_native_1.Text>
|
|
2714
|
+
|
|
2715
|
+
<react_native_1.View style={{ gap: 8 }}>
|
|
2716
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2717
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2718
|
+
Operating System
|
|
2719
|
+
</react_native_1.Text>
|
|
2720
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2721
|
+
{react_native_1.Platform.OS === 'ios' ? 'Apple iOS' : react_native_1.Platform.OS === 'android' ? 'Google Android' : react_native_1.Platform.OS}{' '}
|
|
2722
|
+
{react_native_1.Platform.Version}
|
|
2723
|
+
</react_native_1.Text>
|
|
2724
|
+
</react_native_1.View>
|
|
2725
|
+
|
|
2726
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2727
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2728
|
+
Device Hardware Model
|
|
2729
|
+
</react_native_1.Text>
|
|
2730
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2731
|
+
{react_native_1.Platform.constants?.Model ||
|
|
2732
|
+
(react_native_1.Platform.OS === 'ios' ? 'Apple Device' : 'Android Device')}
|
|
2733
|
+
</react_native_1.Text>
|
|
2734
|
+
</react_native_1.View>
|
|
2735
|
+
|
|
2736
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2737
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2738
|
+
Window Viewport (Points)
|
|
2739
|
+
</react_native_1.Text>
|
|
2740
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2741
|
+
{Math.round(react_native_1.Dimensions.get('window').width)} × {Math.round(react_native_1.Dimensions.get('window').height)} pt
|
|
2742
|
+
</react_native_1.Text>
|
|
2743
|
+
</react_native_1.View>
|
|
2744
|
+
|
|
2745
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2746
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2747
|
+
Native Physical Resolution
|
|
2748
|
+
</react_native_1.Text>
|
|
2749
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2750
|
+
{Math.round(react_native_1.Dimensions.get('screen').width * react_native_1.PixelRatio.get())} × {Math.round(react_native_1.Dimensions.get('screen').height * react_native_1.PixelRatio.get())} px
|
|
2751
|
+
</react_native_1.Text>
|
|
2752
|
+
</react_native_1.View>
|
|
2753
|
+
|
|
2754
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2755
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2756
|
+
Pixel Density & Font Scale
|
|
2757
|
+
</react_native_1.Text>
|
|
2758
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2759
|
+
{react_native_1.PixelRatio.get().toFixed(1)}x ({react_native_1.PixelRatio.get() >= 3 ? '@3x' : react_native_1.PixelRatio.get() >= 2 ? '@2x' : '@1x'}) • Font: {react_native_1.PixelRatio.getFontScale().toFixed(2)}x
|
|
2760
|
+
</react_native_1.Text>
|
|
2761
|
+
</react_native_1.View>
|
|
2762
|
+
|
|
2763
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2764
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2765
|
+
Timezone & Locale
|
|
2766
|
+
</react_native_1.Text>
|
|
2767
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2768
|
+
{Intl.DateTimeFormat().resolvedOptions().timeZone || 'System'} ({Intl.DateTimeFormat().resolvedOptions().locale || 'en'})
|
|
2769
|
+
</react_native_1.Text>
|
|
2770
|
+
</react_native_1.View>
|
|
2771
|
+
</react_native_1.View>
|
|
2772
|
+
</react_native_1.View>
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
<react_native_1.View style={{
|
|
2776
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
2777
|
+
borderRadius: 14,
|
|
2778
|
+
borderWidth: 1,
|
|
2779
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
2780
|
+
padding: 14,
|
|
2781
|
+
gap: 10,
|
|
2782
|
+
}}>
|
|
2783
|
+
<react_native_1.Text style={{
|
|
2784
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2785
|
+
fontSize: 11,
|
|
2786
|
+
lineHeight: 14,
|
|
2787
|
+
color: AppColors_1.AppColors.grayTextWeak,
|
|
2788
|
+
letterSpacing: 0.8,
|
|
2789
|
+
}}>
|
|
2790
|
+
INSPECTOR STORAGE & CAPABILITIES
|
|
2791
|
+
</react_native_1.Text>
|
|
2792
|
+
|
|
2793
|
+
<react_native_1.View style={{ gap: 8 }}>
|
|
2794
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2795
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2796
|
+
Storage Persistence Engine
|
|
2797
|
+
</react_native_1.Text>
|
|
2798
|
+
<react_native_1.View style={{
|
|
2799
|
+
backgroundColor: (0, settingsStore_1.isPersistentStorageAvailable)() ? `${AppColors_1.AppColors.emerald500}18` : `${AppColors_1.AppColors.amber500}18`,
|
|
2800
|
+
paddingHorizontal: 6,
|
|
2801
|
+
paddingVertical: 1.5,
|
|
2802
|
+
borderRadius: 5,
|
|
2803
|
+
borderWidth: 1,
|
|
2804
|
+
borderColor: (0, settingsStore_1.isPersistentStorageAvailable)() ? `${AppColors_1.AppColors.emerald500}50` : `${AppColors_1.AppColors.amber500}50`,
|
|
2805
|
+
}}>
|
|
2806
|
+
<react_native_1.Text style={{
|
|
2807
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2808
|
+
fontSize: 10.5,
|
|
2809
|
+
color: (0, settingsStore_1.isPersistentStorageAvailable)() ? AppColors_1.AppColors.emerald600 : AppColors_1.AppColors.amber500,
|
|
2810
|
+
}}>
|
|
2811
|
+
{(0, settingsStore_1.isPersistentStorageAvailable)() ? 'MMKV Fast Native Storage' : 'In-Memory State'}
|
|
2812
|
+
</react_native_1.Text>
|
|
2813
|
+
</react_native_1.View>
|
|
2814
|
+
</react_native_1.View>
|
|
2815
|
+
|
|
2816
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2817
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2818
|
+
Native Module Status
|
|
2819
|
+
</react_native_1.Text>
|
|
2820
|
+
<react_native_1.Text style={{
|
|
2821
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2822
|
+
fontSize: 11.5,
|
|
2823
|
+
color: Boolean(global?.NativeInspectorModule) ? AppColors_1.AppColors.emerald600 : AppColors_1.AppColors.grayText,
|
|
2824
|
+
}}>
|
|
2825
|
+
{Boolean(global?.NativeInspectorModule) ? 'Linked & Active' : 'JavaScript Only'}
|
|
2826
|
+
</react_native_1.Text>
|
|
2827
|
+
</react_native_1.View>
|
|
2828
|
+
|
|
2829
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2830
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2831
|
+
Network Logger Interceptor
|
|
2832
|
+
</react_native_1.Text>
|
|
2833
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.emerald600 }}>
|
|
2834
|
+
Active (XMLHttpRequest & Fetch Hooked)
|
|
2835
|
+
</react_native_1.Text>
|
|
2836
|
+
</react_native_1.View>
|
|
2837
|
+
|
|
2838
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2839
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2840
|
+
Redux & Analytics Watchers
|
|
2841
|
+
</react_native_1.Text>
|
|
2842
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2843
|
+
Redux: {(0, reduxLogger_1.isReduxConnected)() ? 'Connected' : 'Listening'} • Analytics: {(0, analyticsLogger_2.isAnalyticsConnected)() ? 'Connected' : 'Listening'}
|
|
2844
|
+
</react_native_1.Text>
|
|
2845
|
+
</react_native_1.View>
|
|
2846
|
+
|
|
2847
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2848
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2849
|
+
Crash & Exception Boundary
|
|
2850
|
+
</react_native_1.Text>
|
|
2851
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.emerald600 }}>
|
|
2852
|
+
Global JS Exception Handler Active
|
|
2853
|
+
</react_native_1.Text>
|
|
2854
|
+
</react_native_1.View>
|
|
2855
|
+
|
|
2856
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2857
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2858
|
+
Memory Management
|
|
2859
|
+
</react_native_1.Text>
|
|
2860
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.emerald600 }}>
|
|
2861
|
+
Dynamic Auto RAM Tiering Active
|
|
2862
|
+
</react_native_1.Text>
|
|
2863
|
+
</react_native_1.View>
|
|
2864
|
+
</react_native_1.View>
|
|
2865
|
+
</react_native_1.View>
|
|
2866
|
+
|
|
2867
|
+
|
|
2868
|
+
<react_native_1.View style={{
|
|
2869
|
+
backgroundColor: AppColors_1.AppColors.primaryLight,
|
|
2870
|
+
borderRadius: 14,
|
|
2871
|
+
borderWidth: 1,
|
|
2872
|
+
borderColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
2873
|
+
padding: 14,
|
|
2874
|
+
gap: 8,
|
|
2875
|
+
}}>
|
|
2876
|
+
<react_native_1.Text style={{
|
|
2877
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
2878
|
+
fontSize: 11,
|
|
2879
|
+
lineHeight: 14,
|
|
2880
|
+
color: AppColors_1.AppColors.grayTextWeak,
|
|
2881
|
+
letterSpacing: 0.8,
|
|
2882
|
+
}}>
|
|
2883
|
+
LICENSE & CREDITS
|
|
2884
|
+
</react_native_1.Text>
|
|
2885
|
+
|
|
2886
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2887
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2888
|
+
License
|
|
2889
|
+
</react_native_1.Text>
|
|
2890
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.emerald600 }}>
|
|
2891
|
+
MIT Permissive Open Source
|
|
2892
|
+
</react_native_1.Text>
|
|
2893
|
+
</react_native_1.View>
|
|
2894
|
+
|
|
2895
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2896
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2897
|
+
Created & Maintained By
|
|
2898
|
+
</react_native_1.Text>
|
|
2899
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interBold, fontSize: 11.5, color: AppColors_1.AppColors.primaryBlack }}>
|
|
2900
|
+
Vengateswaran
|
|
2901
|
+
</react_native_1.Text>
|
|
2902
|
+
</react_native_1.View>
|
|
2903
|
+
|
|
2904
|
+
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
|
|
2905
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11.5, color: AppColors_1.AppColors.grayText }}>
|
|
2906
|
+
Repository
|
|
2907
|
+
</react_native_1.Text>
|
|
2908
|
+
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interRegular, fontSize: 11, color: AppColors_1.AppColors.purple }}>
|
|
2909
|
+
github.com/vengatmacuser/react-native-inapp-inspector
|
|
2910
|
+
</react_native_1.Text>
|
|
2911
|
+
</react_native_1.View>
|
|
2912
|
+
</react_native_1.View>
|
|
2913
|
+
</react_native_1.View>)}
|
|
1807
2914
|
<react_native_1.View style={{ height: 48 }}/>
|
|
1808
2915
|
</react_native_1.ScrollView>
|
|
1809
2916
|
|