react-native-inapp-inspector 2.5.11 → 2.5.12
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.ar.md +0 -8
- package/README.de.md +0 -8
- package/README.es.md +0 -8
- package/README.fr.md +0 -8
- package/README.hi.md +0 -8
- package/README.ja.md +0 -8
- package/README.ko.md +0 -8
- package/README.md +54 -26
- package/README.pt-BR.md +0 -8
- package/README.ru.md +0 -8
- package/README.zh-CN.md +0 -8
- package/dist/commonjs/components/ConsoleLogCard.js +32 -26
- package/dist/commonjs/components/Inspector/AboutModal.js +1 -4
- package/dist/commonjs/components/Inspector/ConsoleTab.js +19 -14
- package/dist/commonjs/components/Inspector/InspectorHeader.js +6 -6
- package/dist/commonjs/components/Inspector/MainScreen.js +9 -6
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +187 -90
- package/dist/commonjs/components/Inspector/NetworkDetail.js +11 -8
- package/dist/commonjs/components/Inspector/NetworkTab.js +31 -32
- package/dist/commonjs/components/Inspector/PerformanceTab.d.ts +2 -0
- package/dist/commonjs/components/Inspector/PerformanceTab.js +652 -0
- package/dist/commonjs/components/Inspector/SettingsPanel.js +256 -249
- package/dist/commonjs/components/Inspector/TabBar.js +17 -16
- package/dist/commonjs/components/LogCard.js +11 -8
- package/dist/commonjs/components/NetworkIcons.d.ts +6 -0
- package/dist/commonjs/components/NetworkIcons.js +35 -3
- package/dist/commonjs/constants/index.d.ts +1 -0
- package/dist/commonjs/constants/index.js +1 -1
- package/dist/commonjs/constants/telemetryConfig.d.ts +3 -3
- package/dist/commonjs/constants/telemetryConfig.js +1 -1
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/helpers/index.d.ts +3 -0
- package/dist/commonjs/helpers/index.js +8 -6
- package/dist/commonjs/helpers/performanceSampler.d.ts +88 -0
- package/dist/commonjs/helpers/performanceSampler.js +1 -0
- package/dist/commonjs/helpers/remoteConfig.d.ts +0 -2
- package/dist/commonjs/helpers/remoteConfig.js +1 -1
- package/dist/commonjs/i18n/locales/ar.json +1 -1
- package/dist/commonjs/i18n/locales/bn.json +1 -1
- package/dist/commonjs/i18n/locales/de.json +1 -1
- package/dist/commonjs/i18n/locales/en.json +1 -1
- package/dist/commonjs/i18n/locales/es.json +1 -1
- package/dist/commonjs/i18n/locales/fr.json +1 -1
- package/dist/commonjs/i18n/locales/gu.json +1 -1
- package/dist/commonjs/i18n/locales/hi.json +1 -1
- package/dist/commonjs/i18n/locales/id.json +1 -1
- package/dist/commonjs/i18n/locales/it.json +1 -1
- package/dist/commonjs/i18n/locales/ja.json +1 -1
- package/dist/commonjs/i18n/locales/kn.json +1 -1
- package/dist/commonjs/i18n/locales/ko.json +1 -1
- package/dist/commonjs/i18n/locales/ml.json +1 -1
- package/dist/commonjs/i18n/locales/mr.json +1 -1
- package/dist/commonjs/i18n/locales/nl.json +1 -1
- package/dist/commonjs/i18n/locales/pa.json +1 -1
- package/dist/commonjs/i18n/locales/pl.json +1 -1
- package/dist/commonjs/i18n/locales/pt.json +1 -1
- package/dist/commonjs/i18n/locales/ru.json +1 -1
- package/dist/commonjs/i18n/locales/ta.json +1 -1
- package/dist/commonjs/i18n/locales/te.json +1 -1
- package/dist/commonjs/i18n/locales/tr.json +1 -1
- package/dist/commonjs/i18n/locales/vi.json +1 -1
- package/dist/commonjs/i18n/locales/zh.json +1 -1
- package/dist/commonjs/index.d.ts +3 -3
- package/dist/commonjs/index.js +3 -3
- package/dist/commonjs/styles/index.js +1 -1
- package/dist/commonjs/types/enums.d.ts +1 -0
- package/dist/commonjs/types/enums.js +1 -1
- package/dist/commonjs/types/interfaces.d.ts +8 -0
- package/dist/esm/components/ConsoleLogCard.js +67 -61
- package/dist/esm/components/Inspector/AboutModal.js +14 -17
- package/dist/esm/components/Inspector/ConsoleTab.js +33 -28
- package/dist/esm/components/Inspector/InspectorHeader.js +6 -6
- package/dist/esm/components/Inspector/MainScreen.js +61 -58
- package/dist/esm/components/Inspector/MediaGalleryTab.js +254 -157
- package/dist/esm/components/Inspector/NetworkDetail.js +62 -59
- package/dist/esm/components/Inspector/NetworkTab.js +101 -102
- package/dist/esm/components/Inspector/PerformanceTab.d.ts +2 -0
- package/dist/esm/components/Inspector/PerformanceTab.js +652 -0
- package/dist/esm/components/Inspector/SettingsPanel.js +299 -292
- package/dist/esm/components/Inspector/TabBar.js +4 -3
- package/dist/esm/components/LogCard.js +37 -34
- package/dist/esm/components/NetworkIcons.d.ts +6 -0
- package/dist/esm/components/NetworkIcons.js +32 -0
- package/dist/esm/constants/index.d.ts +1 -0
- package/dist/esm/constants/index.js +1 -1
- package/dist/esm/constants/telemetryConfig.d.ts +3 -3
- package/dist/esm/constants/telemetryConfig.js +1 -1
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/helpers/index.d.ts +3 -0
- package/dist/esm/helpers/index.js +8 -6
- package/dist/esm/helpers/performanceSampler.d.ts +88 -0
- package/dist/esm/helpers/performanceSampler.js +1 -0
- package/dist/esm/helpers/remoteConfig.d.ts +0 -2
- package/dist/esm/helpers/remoteConfig.js +1 -1
- package/dist/esm/i18n/locales/ar.json +1 -1
- package/dist/esm/i18n/locales/bn.json +1 -1
- package/dist/esm/i18n/locales/de.json +1 -1
- package/dist/esm/i18n/locales/en.json +1 -1
- package/dist/esm/i18n/locales/es.json +1 -1
- package/dist/esm/i18n/locales/fr.json +1 -1
- package/dist/esm/i18n/locales/gu.json +1 -1
- package/dist/esm/i18n/locales/hi.json +1 -1
- package/dist/esm/i18n/locales/id.json +1 -1
- package/dist/esm/i18n/locales/it.json +1 -1
- package/dist/esm/i18n/locales/ja.json +1 -1
- package/dist/esm/i18n/locales/kn.json +1 -1
- package/dist/esm/i18n/locales/ko.json +1 -1
- package/dist/esm/i18n/locales/ml.json +1 -1
- package/dist/esm/i18n/locales/mr.json +1 -1
- package/dist/esm/i18n/locales/nl.json +1 -1
- package/dist/esm/i18n/locales/pa.json +1 -1
- package/dist/esm/i18n/locales/pl.json +1 -1
- package/dist/esm/i18n/locales/pt.json +1 -1
- package/dist/esm/i18n/locales/ru.json +1 -1
- package/dist/esm/i18n/locales/ta.json +1 -1
- package/dist/esm/i18n/locales/te.json +1 -1
- package/dist/esm/i18n/locales/tr.json +1 -1
- package/dist/esm/i18n/locales/vi.json +1 -1
- package/dist/esm/i18n/locales/zh.json +1 -1
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +8 -8
- package/dist/esm/styles/index.js +1 -1
- package/dist/esm/types/enums.d.ts +1 -0
- package/dist/esm/types/enums.js +1 -1
- package/dist/esm/types/interfaces.d.ts +8 -0
- package/package.json +24 -1
- package/android/.gradle/8.9/checksums/checksums.lock +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/.settings/org.eclipse.buildship.core.prefs +0 -13
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/results.bin +0 -1
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/BuildConfig.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView$iconView$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NativeNetworkInspectorSpec.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$Companion.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$activityEventListener$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$frameCallback$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$getCapturedMedia$lambda$57$$inlined$sortedByDescending$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$shakeListener$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$startVideoRecording$2$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorPackage.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/.transforms/c93e459e24d856bde563ebb048265732/results.bin +0 -1
- package/android/build/.transforms/c93e459e24d856bde563ebb048265732/transformed/classes/classes_dex/classes.dex +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 -160
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +0 -212
- 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 -300
- 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_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/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/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_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$activityEventListener$1.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$getCapturedMedia$lambda$57$$inlined$sortedByDescending$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$startVideoRecording$2$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/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$activityEventListener$1.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$getCapturedMedia$lambda$57$$inlined$sortedByDescending$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$startVideoRecording$2$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
- package/dist/commonjs/a11y.d.ts +0 -2
- package/dist/commonjs/a11y.js +0 -1
- package/dist/commonjs/components/Inspector/A11yTab.d.ts +0 -2
- package/dist/commonjs/components/Inspector/A11yTab.js +0 -268
- package/dist/commonjs/components/Inspector/DeveloperSponsorCard.d.ts +0 -9
- package/dist/commonjs/components/Inspector/DeveloperSponsorCard.js +0 -52
- package/dist/commonjs/customHooks/a11yAdapter.d.ts +0 -11
- package/dist/commonjs/customHooks/a11yAdapter.js +0 -1
- package/dist/commonjs/helpers/sponsorService.d.ts +0 -20
- package/dist/commonjs/helpers/sponsorService.js +0 -1
- package/dist/esm/a11y.d.ts +0 -2
- package/dist/esm/a11y.js +0 -1
- package/dist/esm/components/Inspector/A11yTab.d.ts +0 -2
- package/dist/esm/components/Inspector/A11yTab.js +0 -268
- package/dist/esm/components/Inspector/DeveloperSponsorCard.d.ts +0 -9
- package/dist/esm/components/Inspector/DeveloperSponsorCard.js +0 -52
- package/dist/esm/customHooks/a11yAdapter.d.ts +0 -11
- package/dist/esm/customHooks/a11yAdapter.js +0 -1
- package/dist/esm/helpers/sponsorService.d.ts +0 -20
- package/dist/esm/helpers/sponsorService.js +0 -1
|
@@ -188,6 +188,7 @@ export interface PersistedSettings {
|
|
|
188
188
|
captureAutoGif?: boolean;
|
|
189
189
|
captureWidgetEnabled?: boolean;
|
|
190
190
|
peekOpacity?: number;
|
|
191
|
+
hiddenUrlPatterns?: string[];
|
|
191
192
|
}
|
|
192
193
|
export interface NetworkInspectorProps {
|
|
193
194
|
enabled?: boolean;
|
|
@@ -312,6 +313,8 @@ export interface InspectorContextValue {
|
|
|
312
313
|
handleDelete: () => void;
|
|
313
314
|
isGroupByPageEnabled: boolean;
|
|
314
315
|
setIsGroupByPageEnabled: React.Dispatch<React.SetStateAction<boolean>>;
|
|
316
|
+
hiddenUrlPatterns: string[];
|
|
317
|
+
setHiddenUrlPatterns: React.Dispatch<React.SetStateAction<string[]>>;
|
|
315
318
|
detailTitle: string;
|
|
316
319
|
detailDisplayUrl: string;
|
|
317
320
|
apiDetailActiveTab: 'metadata' | 'headers' | 'request' | 'response';
|
|
@@ -339,6 +342,9 @@ export interface InspectorContextValue {
|
|
|
339
342
|
logCounts: Record<string, string>;
|
|
340
343
|
logSortOrder: SortOrder;
|
|
341
344
|
setLogSortOrder: React.Dispatch<React.SetStateAction<SortOrder>>;
|
|
345
|
+
selectedConsoleLogs: Set<number>;
|
|
346
|
+
setSelectedConsoleLogs: React.Dispatch<React.SetStateAction<Set<number>>>;
|
|
347
|
+
toggleSelectConsoleLog: (id: number) => void;
|
|
342
348
|
analyticsEvents: AnalyticsEvent[];
|
|
343
349
|
filteredAnalyticsEvents: (AnalyticsEvent & {
|
|
344
350
|
count?: number;
|
|
@@ -562,6 +568,8 @@ export interface ConsoleLogCardProps {
|
|
|
562
568
|
searchStr?: string;
|
|
563
569
|
onPress?: (item: ConsoleLog) => void;
|
|
564
570
|
testID?: string;
|
|
571
|
+
isSelected?: boolean;
|
|
572
|
+
onToggleSelect?: (id: number) => void;
|
|
565
573
|
}
|
|
566
574
|
export interface JsonContent {
|
|
567
575
|
header: string;
|
|
@@ -1,95 +1,101 @@
|
|
|
1
|
-
import
|
|
2
|
-
<
|
|
3
|
-
{T.slice(0,2).map((
|
|
4
|
-
<
|
|
5
|
-
<E style={[o.prefixTagText,{color:
|
|
6
|
-
{
|
|
1
|
+
import V from"react";import{useTranslation as K}from"../i18n";import{Pressable as W,StyleSheet as Y,Text as E,View as C}from"react-native";import X,{Path as J}from"react-native-svg";import{AppColors as r}from"../styles/AppColors";import{AppFonts as x}from"../styles/AppFonts";import{formatTime as Q,getJsonContent as Z,getJsonPreviewText as q,parseStackLine as _,openInVSCode as ee,getSize as re,getCleanCallerDisplay as oe}from"../helpers";import Ce from"./TouchableScale";import L from"./LogSyntaxHighlighter";import{ForwardChevronIcon as Ie,ExternalLinkIcon as Te,FlaskIcon as Se,ZapIcon as F,GlobeIcon as me,DiceIcon as xe,AtomIcon as $,BarChartIcon as ye,KeyIcon as Ee,SmartphoneIcon as Re,AlertTriangleIcon as Be,BugIcon as Ae,TagIcon as Pe,MapPinIcon as U,StorageIcon as Oe,SignalIcon as we,FlameIcon as ke,MoneyIcon as Le,CircleCheckIcon as G,CircleAlertIcon as Ne,CircleXIcon as He,RefreshCcwIcon as De,PerformanceIcon as Ve,ChipIcon as Fe,SettingsIcon as Me,TerminalIcon as ze,InfoCircleIcon as v,ShieldAlertIcon as We,LayoutIcon as $e,ClockIcon as Ue,SizeIcon as Ge}from"./NetworkIcons";import{useInspector as ve}from"./Inspector/InspectorContext";const je=(y,t,B,N,H)=>{if(!y)return null;const P=/^((?:\[[^\]]+\]\s*)+)/,A=y.match(P);if(A){const O=A[1],D=y.substring(O.length),T=O.match(/\[[^\]]+\]/g)||[],w=I=>{const e=I.replace(/[\[\]]/g,"").trim().toUpperCase();return e==="AXIOS"?{color:r.emerald600,Icon:F,label:"AXIOS"}:e==="API"||e==="FETCH"||e==="HTTP"||e==="REST"||e==="NETWORK"?{color:r.sky600,Icon:me,label:e}:e==="GRAPHQL"||e==="GQL"||e==="APOLLO"||e==="MUTATION"||e==="QUERY"?{color:r.pink500,Icon:$,label:e}:e==="WS"||e==="WEBSOCKET"||e==="SOCKET"||e==="SOCKET.IO"||e==="REALTIME"?{color:r.cyan600,Icon:we,label:e}:e==="REDUX"||e==="STORE"||e==="STATE"||e==="ZUSTAND"||e==="MOBX"||e==="RECOIL"||e==="ACTION"||e==="DISPATCH"?{color:r.violet600,Icon:$,label:e}:e==="ANALYTICS"||e==="FIREBASE"||e==="GA4"||e==="GA"||e==="SEGMENT"||e==="MIXPANEL"||e==="POSTHOG"||e==="TRACK"||e==="EVENT"?{color:r.teal600,Icon:ye,label:e}:e==="AUTH"||e==="TOKEN"||e==="SESSION"||e==="JWT"||e==="LOGIN"||e==="LOGOUT"||e==="USER"?{color:r.amber600,Icon:Ee,label:e}:e==="SECURITY"||e==="SHIELD"||e==="PERMISSION"||e==="PERMISSIONS"?{color:r.indigo600Alt,Icon:We,label:e}:e==="NAV"||e==="NAVIGATION"||e==="ROUTE"||e==="SCREEN"||e==="ROUTER"||e==="DEEPLINK"?{color:r.indigo600Alt,Icon:U,label:e}:e==="STORAGE"||e==="ASYNCSTORAGE"||e==="MMKV"||e==="SQLITE"||e==="DB"||e==="DATABASE"||e==="REALM"||e==="CACHE"?{color:r.purple500,Icon:Oe,label:e}:e==="PERF"||e==="RENDER"||e==="PERFORMANCE"||e==="FPS"||e==="MEMORY"?{color:r.violet500,Icon:Ve,label:e}:e==="INIT"||e==="BOOT"||e==="STARTUP"||e==="LIFECYCLE"||e==="MOUNT"||e==="UNMOUNT"?{color:r.blue600,Icon:F,label:e}:e==="SYNC"||e==="REFRESH"||e==="BACKGROUND"||e==="JOB"||e==="WORKER"?{color:r.sky600,Icon:De,label:e}:e==="PUSH"||e==="NOTIF"||e==="NOTIFICATION"||e==="FCM"||e==="APNS"?{color:r.darkOrange,Icon:ke,label:e}:e==="PAY"||e==="PAYMENT"||e==="STRIPE"||e==="IAP"||e==="BILLING"||e==="CHECKOUT"||e==="CART"?{color:r.emerald600,Icon:Le,label:e}:e==="DEVICE"||e==="HARDWARE"||e==="BLE"||e==="BLUETOOTH"||e==="NFC"||e==="SENSOR"?{color:r.slate600,Icon:Fe,label:e}:e==="LOCATION"||e==="GPS"||e==="GEO"?{color:r.emerald600,Icon:U,label:e}:e==="APP"?{color:r.indigo600Alt,Icon:Re,label:"APP"}:e==="UI"||e==="VIEW"||e==="THEME"||e==="STYLE"||e==="LAYOUT"?{color:r.pink600,Icon:$e,label:e}:e==="TEST"||e==="MOCK"||e==="SPEC"?{color:r.emerald500,Icon:Se,label:"TEST"}:e==="SAMPLE"||e==="BATCH"?{color:r.indigo600Alt,Icon:xe,label:e}:e==="CONFIG"||e==="ENV"||e==="SETTINGS"?{color:r.slate700,Icon:Me,label:e}:e==="DEBUG"||e==="TRACE"?{color:r.purpleText,Icon:ze,label:e}:e==="INFO"?{color:r.sky600,Icon:v,label:"INFO"}:e==="SUCCESS"||e==="OK"||e==="DONE"||e==="PASSED"?{color:r.green600,Icon:G,label:e}:e==="WARN"||e==="WARNING"?{color:r.amber600,Icon:Be,label:"WARN"}:e==="ERROR"||e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?{color:r.red600,Icon:Ae,label:e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?e:"ERROR"}:{color:r.slate600,Icon:Pe,label:e}};return<C style={{flexDirection:"column",gap:2}}>
|
|
2
|
+
<C style={{flexDirection:"row",gap:4,overflow:"hidden"}}>
|
|
3
|
+
{T.slice(0,2).map((I,e)=>{const m=w(I),M=m.Icon;return<C key={e}style={[o.prefixTag,{backgroundColor:`${m.color}12`,borderColor:`${m.color}30`}]}>
|
|
4
|
+
<M color={m.color}size={8.5}/>
|
|
5
|
+
<E style={[o.prefixTagText,{color:m.color}]}>
|
|
6
|
+
{m.label}
|
|
7
7
|
</E>
|
|
8
|
-
</
|
|
9
|
-
</
|
|
10
|
-
<L text={
|
|
11
|
-
</
|
|
12
|
-
<
|
|
13
|
-
<
|
|
8
|
+
</C>})}
|
|
9
|
+
</C>
|
|
10
|
+
<L text={D}search={t}style={B}numberOfLines={1}detectLinks={!1}/>
|
|
11
|
+
</C>}return<L text={y}search={t}style={B}numberOfLines={H||2}detectLinks={!1}/>};export const ConsoleLogCard=V.memo(function({item:t,searchStr:B="",onPress:N,testID:H,isSelected:P,onToggleSelect:A}){const{setSelectedLog:O}=ve(),{t:D}=K(),T=Z(t.message),w=t.message.toLowerCase().includes("[analytics error]"),I=V.useMemo(()=>{const S=oe(t.caller);if(!S)return null;const R=_(t.caller,!0);return{...R,display:S.display,fileName:S.fileName,lineNumber:S.lineNumber||R.lineNumber}},[t.caller]),m=(()=>{const S=(t.type||"log").toLowerCase(),R=(t.sourceMethod||S).toLowerCase();return w||S==="error"||R==="error"?{badgeColor:r.errorColor,border:r.errorColor,badgeBg:`${r.errorColor}18`,badgeText:r.errorColor,label:"ERROR",cardBg:r.errorCardBg,statusPillBg:`${r.errorColor}14`,statusPillBorder:`${r.errorColor}33`,statusPillText:r.errorColor,StatusIcon:He}:S==="warn"||R==="warn"?{badgeColor:r.darkOrange,border:r.darkOrange,badgeBg:`${r.darkOrange}18`,badgeText:r.darkOrange,label:"WARN",cardBg:r.warnCardBg,statusPillBg:`${r.darkOrange}14`,statusPillBorder:`${r.darkOrange}33`,statusPillText:r.darkOrange,StatusIcon:Ne}:S==="debug"||R==="debug"?{badgeColor:r.purple,border:r.purple,badgeBg:`${r.purple}18`,badgeText:r.purple,label:"DEBUG",cardBg:r.purpleTintBg,statusPillBg:`${r.purple}14`,statusPillBorder:`${r.purple}33`,statusPillText:r.purple,StatusIcon:F}:R==="info"||S==="info"&&R!=="log"?{badgeColor:r.sky600,border:r.sky600,badgeBg:`${r.sky600}18`,badgeText:r.sky600,label:"INFO",cardBg:r.blueTintBg,statusPillBg:`${r.sky600}14`,statusPillBorder:`${r.sky600}33`,statusPillText:r.sky600,StatusIcon:v}:{badgeColor:r.brandPurple,border:r.brandPurple,badgeBg:`${r.brandPurple}15`,badgeText:r.brandPurple,label:"LOG",cardBg:r.white,statusPillBg:`${r.brandPurple}12`,statusPillBorder:`${r.brandPurple}2E`,statusPillText:r.brandPurple,StatusIcon:G}})(),M=m.StatusIcon,z=T?q(T.data):null,j=()=>{N?N(t):O(t)},Ye=("sourceMethod"in t?t.sourceMethod:void 0)||t.type||"log";return<C style={o.container}>
|
|
12
|
+
<Ce testID={H}onPress={j}style={[o.card,{borderLeftWidth:3.5,borderLeftColor:m.border,backgroundColor:m.cardBg}]}>
|
|
13
|
+
<C style={o.cardBody}>
|
|
14
14
|
|
|
15
|
-
<
|
|
16
|
-
<
|
|
15
|
+
<C style={o.cardHeaderRow}>
|
|
16
|
+
<C style={o.cardHeaderLeft}>
|
|
17
|
+
{A&&t.id!=null&&<W testID={`inspector.console.checkbox.${t.id}`}onPress={S=>{S.stopPropagation(),A(t.id)}}hitSlop={8}style={[o.smallCheckbox,P&&o.smallCheckboxChecked]}>
|
|
18
|
+
{P&&<X width={9}height={9}viewBox="0 0 24 24"fill="none">
|
|
19
|
+
<J d="M20 6L9 17l-5-5"stroke={r.white}strokeWidth="4"strokeLinecap="round"strokeLinejoin="round"/>
|
|
20
|
+
</X>}
|
|
21
|
+
</W>}
|
|
22
|
+
|
|
17
23
|
<E style={o.serialNumber}>
|
|
18
24
|
#{t.id!=null?t.id+1:1}
|
|
19
25
|
</E>
|
|
20
26
|
|
|
21
27
|
|
|
22
|
-
<
|
|
23
|
-
<E style={o.methodBadgeText}>{
|
|
24
|
-
</
|
|
28
|
+
<C style={[o.methodBadge,{backgroundColor:m.badgeColor}]}>
|
|
29
|
+
<E style={o.methodBadgeText}>{m.label}</E>
|
|
30
|
+
</C>
|
|
25
31
|
|
|
26
32
|
|
|
27
|
-
{C
|
|
33
|
+
{T&&<C style={[o.chip,{backgroundColor:`${r.teal600}12`,borderColor:`${r.teal600}2E`}]}>
|
|
28
34
|
<E style={[o.chipText,{color:r.teal600}]}>
|
|
29
|
-
{Array.isArray(
|
|
35
|
+
{Array.isArray(T.data)?`Array[${T.data.length}]`:`Object{${Object.keys(T.data).length}}`}
|
|
30
36
|
</E>
|
|
31
|
-
</
|
|
37
|
+
</C>}
|
|
32
38
|
|
|
33
39
|
|
|
34
|
-
{"duplicateCount"in t&&t.duplicateCount!=null&&t.duplicateCount>1&&<
|
|
40
|
+
{"duplicateCount"in t&&t.duplicateCount!=null&&t.duplicateCount>1&&<C style={o.dupBadge}>
|
|
35
41
|
<E style={o.dupBadgeText}>
|
|
36
42
|
×{t.duplicateCount}
|
|
37
43
|
</E>
|
|
38
|
-
</
|
|
39
|
-
</
|
|
44
|
+
</C>}
|
|
45
|
+
</C>
|
|
40
46
|
|
|
41
47
|
|
|
42
|
-
<
|
|
43
|
-
<
|
|
44
|
-
</
|
|
45
|
-
</
|
|
48
|
+
<C style={o.cardHeaderRight}>
|
|
49
|
+
<Ie color={r.slate400}size={13}/>
|
|
50
|
+
</C>
|
|
51
|
+
</C>
|
|
46
52
|
|
|
47
53
|
|
|
48
|
-
<
|
|
49
|
-
{C
|
|
50
|
-
{
|
|
51
|
-
{
|
|
52
|
-
</
|
|
53
|
-
</
|
|
54
|
+
<C style={o.messageBox}>
|
|
55
|
+
{T?<C style={o.jsonPreviewRow}>
|
|
56
|
+
{T.header?<L text={T.header}search={B}style={o.messageText}detectLinks={!1}numberOfLines={1}/>:null}
|
|
57
|
+
{z&&<L text={z.text.replace(/\s+/g," ")}search={B}style={o.jsonPreviewText}detectLinks={!1}numberOfLines={T.header?2:3}/>}
|
|
58
|
+
</C>:je(t.message,B,o.messageText,o.highlight,3)}
|
|
59
|
+
</C>
|
|
54
60
|
|
|
55
61
|
|
|
56
|
-
<
|
|
57
|
-
<
|
|
58
|
-
<
|
|
59
|
-
|
|
62
|
+
<C style={o.cardFooterRow}>
|
|
63
|
+
<C style={o.footerLeft}>
|
|
64
|
+
<C style={o.cardDateRow}>
|
|
65
|
+
<Ue color={r.grayTextWeak}size={10}/>
|
|
60
66
|
<E style={o.cardDateText}numberOfLines={1}>
|
|
61
|
-
{
|
|
67
|
+
{Q(t.timestamp)}
|
|
62
68
|
</E>
|
|
63
|
-
</
|
|
69
|
+
</C>
|
|
64
70
|
|
|
65
|
-
{
|
|
66
|
-
{
|
|
67
|
-
<E style={[o.extBadgeText,{color:
|
|
68
|
-
{
|
|
71
|
+
{I&&<W onPress={S=>{S.stopPropagation?.(),ee(I.rawFilePath||I.fullPath||I.fileName,I.lineNumber,I.columnNumber)}}hitSlop={8}style={o.callerChip}>
|
|
72
|
+
{I.fileExt&&I.fileExt!=="other"&&<C style={[o.extBadge,{backgroundColor:I.fileExt==="tsx"||I.fileExt==="ts"?`${r.brandPurple}22`:`${r.teal600}22`}]}>
|
|
73
|
+
<E style={[o.extBadgeText,{color:I.fileExt==="tsx"||I.fileExt==="ts"?r.brandPurple:r.teal600}]}>
|
|
74
|
+
{I.fileExt.toUpperCase()}
|
|
69
75
|
</E>
|
|
70
|
-
</
|
|
76
|
+
</C>}
|
|
71
77
|
<E style={o.callerChipText}numberOfLines={1}ellipsizeMode="middle">
|
|
72
|
-
{
|
|
78
|
+
{I.display}
|
|
73
79
|
</E>
|
|
74
|
-
<
|
|
75
|
-
</
|
|
76
|
-
</
|
|
80
|
+
<Te color={r.sky600}size={8}/>
|
|
81
|
+
</W>}
|
|
82
|
+
</C>
|
|
77
83
|
|
|
78
|
-
<
|
|
79
|
-
{C
|
|
80
|
-
<
|
|
84
|
+
<C style={o.footerRight}>
|
|
85
|
+
{T&&<C style={o.metaStatChip}>
|
|
86
|
+
<Ge color={r.purple}size={8.5}/>
|
|
81
87
|
<E style={o.metaStatText}>
|
|
82
|
-
{
|
|
88
|
+
{re(T.data)}
|
|
83
89
|
</E>
|
|
84
|
-
</
|
|
90
|
+
</C>}
|
|
85
91
|
|
|
86
|
-
{
|
|
92
|
+
{w&&<C style={[o.chip,{backgroundColor:`${r.skyBlue}15`,borderColor:`${r.skyBlue}30`}]}>
|
|
87
93
|
<E style={[o.chipText,{color:r.skyBlue}]}>
|
|
88
|
-
{
|
|
94
|
+
{D("console.analyticsBadge")||"ANALYTICS"}
|
|
89
95
|
</E>
|
|
90
|
-
</
|
|
91
|
-
</
|
|
92
|
-
</
|
|
93
|
-
</
|
|
94
|
-
</
|
|
95
|
-
</
|
|
96
|
+
</C>}
|
|
97
|
+
</C>
|
|
98
|
+
</C>
|
|
99
|
+
</C>
|
|
100
|
+
</Ce>
|
|
101
|
+
</C>});const o=Y.create({container:{paddingHorizontal:8,paddingVertical:4,height:148,justifyContent:"center"},card:{height:140,alignSelf:"stretch",borderRadius:10,overflow:"hidden",borderWidth:1,borderColor:r.dividerColor,shadowColor:r.shadowColorString},cardBody:{height:"100%",paddingHorizontal:8,paddingTop:8,paddingBottom:6,justifyContent:"space-between"},cardHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:22,minHeight:22,maxHeight:22},cardHeaderLeft:{flexDirection:"row",alignItems:"center",flex:1,marginRight:4,gap:4.5,minWidth:0,overflow:"hidden"},cardHeaderRight:{flexDirection:"row",alignItems:"center",gap:4,flexShrink:0},serialNumber:{fontFamily:x.interBold,color:r.grayTextWeak,fontSize:10},methodBadge:{paddingHorizontal:6,paddingVertical:2,borderRadius:5,alignItems:"center",justifyContent:"center"},methodBadgeText:{fontFamily:x.interBold,fontSize:9.5,lineHeight:12,letterSpacing:.5,color:r.white},chip:{paddingHorizontal:5.5,paddingVertical:1.5,borderRadius:4,borderWidth:1},chipText:{fontFamily:x.interBold,fontSize:9,lineHeight:12},dupBadge:{backgroundColor:`${r.purple}14`,borderColor:`${r.purple}2E`,borderWidth:1,paddingHorizontal:4.5,paddingVertical:1,borderRadius:3.5},dupBadgeText:{fontFamily:x.interBold,fontSize:8.5,color:r.purple},statusPill:{flexDirection:"row",alignItems:"center",gap:3.5,paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1,flexShrink:0},statusPillText:{fontFamily:x.interBold,fontSize:9.5,lineHeight:12},messageBox:{backgroundColor:r.grayBackground,borderRadius:7,borderWidth:1,borderColor:r.dividerColor,paddingHorizontal:7,paddingVertical:5,height:68,minHeight:68,maxHeight:68,justifyContent:"center",gap:2,overflow:"hidden"},messageText:{fontFamily:x.interMedium,fontSize:12,color:r.primaryBlack,lineHeight:17},highlight:{backgroundColor:r.yellowHighlight,color:r.primaryBlack,borderRadius:2},jsonPreviewRow:{flexDirection:"column",justifyContent:"center",gap:2},jsonPreviewText:{fontFamily:x.interMedium,fontSize:11,color:r.teal700,lineHeight:15},cardFooterRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:18,minHeight:18,maxHeight:18,gap:4},footerLeft:{flexDirection:"row",alignItems:"center",gap:4.5,flex:1,minWidth:0,overflow:"hidden"},footerRight:{flexDirection:"row",alignItems:"center",gap:4,flexShrink:0},cardDateRow:{flexDirection:"row",alignItems:"center",gap:3.5},cardDateText:{fontFamily:x.interRegular,fontSize:10,lineHeight:13,color:r.slate400},callerChip:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:r.skySoftBg,borderColor:r.skySoftBorder,borderWidth:1,paddingHorizontal:5,paddingVertical:1.5,borderRadius:4,flexShrink:1,minWidth:0},extBadge:{borderRadius:3,paddingHorizontal:3,paddingVertical:.5},extBadgeText:{fontFamily:x.interBold,fontSize:7.5},callerChipText:{color:r.skySoftText,fontSize:9,lineHeight:12,fontFamily:x.interBold},metaStatChip:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:r.violetSoftBg,borderColor:r.violetSoftBorder,borderWidth:1,paddingHorizontal:5.5,paddingVertical:1.5,borderRadius:4},metaStatText:{fontFamily:x.interBold,color:r.violetSoftText,fontSize:9,lineHeight:12},prefixTag:{flexDirection:"row",alignItems:"center",gap:2.5,paddingHorizontal:5,paddingVertical:1.5,borderRadius:3.5,borderWidth:1},prefixTagText:{fontFamily:x.interBold,fontSize:8.5,letterSpacing:.3},bottomAccentBar:{height:2.5,width:"100%",borderRadius:1.5,marginTop:2},smallCheckbox:{width:14,height:14,borderRadius:3.5,borderWidth:1.2,borderColor:r.grayBorderSecondary,backgroundColor:r.primaryLight,alignItems:"center",justifyContent:"center",marginRight:2},smallCheckboxChecked:{backgroundColor:r.purple,borderColor:r.purple}});function Ke(y,t){return y.item===t.item&&y.searchStr===t.searchStr&&y.onPress===t.onPress&&y.isSelected===t.isSelected&&y.onToggleSelect===t.onToggleSelect}export const MemoizedConsoleLogCard=V.memo(ConsoleLogCard,Ke);export default MemoizedConsoleLogCard;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,Text as C,View as T}from"react-native";import{AppColors as t}from"../../styles/AppColors";import{AppFonts as I}from"../../styles/AppFonts";import S from"../TouchableScale";import{useInspector as N}from"./InspectorContext";import{t as V}from"../../i18n";import{LIB_VERSION as $}from"../../constants/version";import _ from"../AppHeaderLogo";import{getAppName as O,getBundleIdentifier as E,getAppVersionAndBuild as M,copyToClipboard as H,showToast as A}from"../../helpers";import{
|
|
1
|
+
import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,Text as C,View as T}from"react-native";import{AppColors as t}from"../../styles/AppColors";import{AppFonts as I}from"../../styles/AppFonts";import S from"../TouchableScale";import{useInspector as N}from"./InspectorContext";import{t as V}from"../../i18n";import{LIB_VERSION as $}from"../../constants/version";import _ from"../AppHeaderLogo";import{getAppName as O,getBundleIdentifier as E,getAppVersionAndBuild as M,copyToClipboard as H,showToast as A}from"../../helpers";import{GitHubIcon as U,NpmIcon as G,BoltIcon as W,StarIcon as Q,BookOpenIcon as Z,BugIcon as J,TagIcon as K,WifiIcon as X,TerminalIcon as Y,AnalyticsIcon as Te,DatabaseIcon as Ce,CameraIcon as Ve,CrashIcon as Ie,ExternalLinkIcon as R,CopyIcon as Se}from"../NetworkIcons";export const AboutModal=({onClose:Be})=>{const{updateAvailable:z,latestNpmVersion:D}=N();return<T style={e.container}>
|
|
2
2
|
<L style={e.scrollView}contentContainerStyle={e.scrollContent}showsVerticalScrollIndicator={!1}>
|
|
3
3
|
|
|
4
4
|
<T style={e.heroCard}>
|
|
@@ -40,9 +40,6 @@ import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,
|
|
|
40
40
|
</T>
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
<U/>
|
|
44
|
-
|
|
45
|
-
|
|
46
43
|
<T style={e.sectionCard}>
|
|
47
44
|
<C style={e.sectionHeader}>{V("about.appInformation","APP INFORMATION")}</C>
|
|
48
45
|
|
|
@@ -90,7 +87,7 @@ import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,
|
|
|
90
87
|
<T style={e.featuresList}>
|
|
91
88
|
<T style={e.featureItem}>
|
|
92
89
|
<T style={[e.featureIconBox,{backgroundColor:`${t.brandPurple}15`}]}>
|
|
93
|
-
<
|
|
90
|
+
<X color={t.brandPurple}size={18}/>
|
|
94
91
|
</T>
|
|
95
92
|
<T style={e.featureTextBox}>
|
|
96
93
|
<C style={e.featureTitle}>{V("about.featureNetwork","Network Traffic Monitor")}</C>
|
|
@@ -102,7 +99,7 @@ import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,
|
|
|
102
99
|
|
|
103
100
|
<T style={e.featureItem}>
|
|
104
101
|
<T style={[e.featureIconBox,{backgroundColor:`${t.blue500}15`}]}>
|
|
105
|
-
<
|
|
102
|
+
<Y color={t.blue500}size={18}/>
|
|
106
103
|
</T>
|
|
107
104
|
<T style={e.featureTextBox}>
|
|
108
105
|
<C style={e.featureTitle}>{V("about.featureConsole","Console Logger")}</C>
|
|
@@ -114,7 +111,7 @@ import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,
|
|
|
114
111
|
|
|
115
112
|
<T style={e.featureItem}>
|
|
116
113
|
<T style={[e.featureIconBox,{backgroundColor:`${t.firebaseOrange}15`}]}>
|
|
117
|
-
<
|
|
114
|
+
<Te color={t.firebaseOrange}size={18}/>
|
|
118
115
|
</T>
|
|
119
116
|
<T style={e.featureTextBox}>
|
|
120
117
|
<C style={e.featureTitle}>{V("about.featureAnalytics","Analytics Telemetry")}</C>
|
|
@@ -126,7 +123,7 @@ import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,
|
|
|
126
123
|
|
|
127
124
|
<T style={e.featureItem}>
|
|
128
125
|
<T style={[e.featureIconBox,{backgroundColor:`${t.violet600}15`}]}>
|
|
129
|
-
<
|
|
126
|
+
<Ce color={t.violet600}size={18}/>
|
|
130
127
|
</T>
|
|
131
128
|
<T style={e.featureTextBox}>
|
|
132
129
|
<C style={e.featureTitle}>{V("about.featureRedux","Redux State & Actions")}</C>
|
|
@@ -138,7 +135,7 @@ import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,
|
|
|
138
135
|
|
|
139
136
|
<T style={e.featureItem}>
|
|
140
137
|
<T style={[e.featureIconBox,{backgroundColor:`${t.teal600}15`}]}>
|
|
141
|
-
<
|
|
138
|
+
<Ve color={t.teal600}size={18}/>
|
|
142
139
|
</T>
|
|
143
140
|
<T style={e.featureTextBox}>
|
|
144
141
|
<C style={e.featureTitle}>{V("about.featureCapture","Screen & Video Capture")}</C>
|
|
@@ -150,7 +147,7 @@ import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,
|
|
|
150
147
|
|
|
151
148
|
<T style={e.featureItem}>
|
|
152
149
|
<T style={[e.featureIconBox,{backgroundColor:`${t.emerald600}15`}]}>
|
|
153
|
-
<
|
|
150
|
+
<Ie color={t.emerald600}size={18}/>
|
|
154
151
|
</T>
|
|
155
152
|
<T style={e.featureTextBox}>
|
|
156
153
|
<C style={e.featureTitle}>
|
|
@@ -167,10 +164,10 @@ import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,
|
|
|
167
164
|
|
|
168
165
|
<T style={e.gridContainer}>
|
|
169
166
|
<S onPress={()=>{B.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector").catch(()=>{})}}style={[e.gridCard,{backgroundColor:`${t.brandPurple}0F`,borderColor:`${t.brandPurple}30`}]}>
|
|
170
|
-
<
|
|
167
|
+
<U color={t.brandPurple}size={18}/>
|
|
171
168
|
<T style={{flex:1}}>
|
|
172
169
|
<T style={{flexDirection:"row",alignItems:"center",gap:5}}>
|
|
173
|
-
<
|
|
170
|
+
<Q color={t.amber500}size={13}/>
|
|
174
171
|
<C style={e.gridCardTitle}>{V("about.github","GitHub")}</C>
|
|
175
172
|
</T>
|
|
176
173
|
<C style={e.gridCardSub}>{V("about.githubSub","Star & source code")}</C>
|
|
@@ -179,7 +176,7 @@ import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,
|
|
|
179
176
|
</S>
|
|
180
177
|
|
|
181
178
|
<S onPress={()=>{B.openURL("https://www.npmjs.com/package/react-native-inapp-inspector").catch(()=>{})}}style={e.gridCard}>
|
|
182
|
-
<
|
|
179
|
+
<G color={t.npmRed}size={18}/>
|
|
183
180
|
<T style={{flex:1}}>
|
|
184
181
|
<C style={e.gridCardTitle}>{V("about.npmRegistry","NPM Registry")}</C>
|
|
185
182
|
<C style={e.gridCardSub}>{V("about.npmRegistrySub","Package updates")}</C>
|
|
@@ -188,7 +185,7 @@ import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,
|
|
|
188
185
|
</S>
|
|
189
186
|
|
|
190
187
|
<S onPress={()=>{B.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector#readme").catch(()=>{})}}style={e.gridCard}>
|
|
191
|
-
<
|
|
188
|
+
<Z color={t.brandPurple}size={18}/>
|
|
192
189
|
<T style={{flex:1}}>
|
|
193
190
|
<C style={e.gridCardTitle}>{V("about.documentation","Documentation")}</C>
|
|
194
191
|
<C style={e.gridCardSub}>{V("about.documentationSub","Integration guide")}</C>
|
|
@@ -197,7 +194,7 @@ import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,
|
|
|
197
194
|
</S>
|
|
198
195
|
|
|
199
196
|
<S onPress={()=>{B.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector/issues").catch(()=>{})}}style={e.gridCard}>
|
|
200
|
-
<
|
|
197
|
+
<J color={t.errorColor}size={18}/>
|
|
201
198
|
<T style={{flex:1}}>
|
|
202
199
|
<C style={e.gridCardTitle}>{V("about.reportIssue","Report Issue")}</C>
|
|
203
200
|
<C style={e.gridCardSub}>{V("about.reportIssueSub","Help & support")}</C>
|
|
@@ -206,7 +203,7 @@ import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,
|
|
|
206
203
|
</S>
|
|
207
204
|
|
|
208
205
|
<S onPress={()=>{B.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector/releases").catch(()=>{})}}style={e.gridCard}>
|
|
209
|
-
<
|
|
206
|
+
<K color={t.successGreen}size={18}/>
|
|
210
207
|
<T style={{flex:1}}>
|
|
211
208
|
<C style={e.gridCardTitle}>{V("about.releaseNotes","Release Notes")}</C>
|
|
212
209
|
<C style={e.gridCardSub}>{V("about.releaseNotesSub","What's new")}</C>
|
|
@@ -215,7 +212,7 @@ import"react";import{Platform as P,Linking as B,ScrollView as L,StyleSheet as F,
|
|
|
215
212
|
</S>
|
|
216
213
|
|
|
217
214
|
<S onPress={()=>{H("npm install react-native-inapp-inspector","NPM Command"),A(V("about.copiedInstallCommand","Copied package install command!"))}}style={e.gridCard}>
|
|
218
|
-
<
|
|
215
|
+
<Se color={t.brandPurple}size={16}/>
|
|
219
216
|
<T style={{flex:1}}>
|
|
220
217
|
<C style={e.gridCardTitle}>{V("about.copyInstall","Copy Install")}</C>
|
|
221
218
|
<C style={e.gridCardSub}>{V("about.copyInstallSub","npm / yarn command")}</C>
|
|
@@ -1,76 +1,81 @@
|
|
|
1
|
-
import F,{useCallback as
|
|
2
|
-
<Ae testID={`inspector.console.item.${t}`}item={e}searchStr={
|
|
3
|
-
</Le>,[
|
|
1
|
+
import F,{useCallback as R,useMemo as $,useRef as pe}from"react";import{FlatList as Se,Pressable as Ce,ScrollView as J,Text as A,TextInput as Ie,View as S}from"react-native";import{useInspector as we}from"./InspectorContext";import{useTranslation as Te}from"../../i18n";import P from"../TouchableScale";import Le from"../AnimatedEntrance";import{ConsoleLogCard as Ae}from"../ConsoleLogCard";import Ee from"../EmptyState";import Ve from"../EndOfListFooter";import Be from"./ConsoleExportModal";import h from"../../styles";import{AppColors as o}from"../../styles/AppColors";import{AppFonts as z}from"../../styles/AppFonts";import{LogFilter as E}from"../../types";import{SearchIcon as Fe,ClearIcon as Pe,SortArrowIcon as He,TrashIcon as Re,LayersIcon as $e,UserIcon as De,InfoCircleIcon as We,WarningTriangleIcon as Oe,ErrorCircleIcon as Me,AnalyticsIcon as Ne,ExportIcon as Ue}from"../NetworkIcons";const Z=10,ve=F.memo(()=>{const{t:w}=Te(),{logSearch:C,setLogSearch:V,logSortOrder:ee,setLogSortOrder:oe,handleDelete:te,logFilters:b,setLogFilters:D,logCounts:x,filteredConsoleLogs:I,visibleConsoleLogs:W,maxConsoleLogs:O,setSelectedLog:U,selectedConsoleLogs:H,toggleSelectConsoleLog:v}=we(),le=O||100,G=pe(null),[_,Q]=F.useState(le),[re,Y]=F.useState(!1);F.useEffect(()=>{Q(O||100),G.current?.scrollToOffset({offset:0,animated:!1})},[C,b,O]);const M=$(()=>I.slice(0,_),[I,_]),K=R(e=>{U(e)},[U]),ne=R(({item:e,index:t})=><Le index={t}distance={8}>
|
|
2
|
+
<Ae testID={`inspector.console.item.${t}`}item={e}searchStr={C}onPress={K}isSelected={H.has(e.id)}onToggleSelect={v}/>
|
|
3
|
+
</Le>,[C,K,H,v]),ie=R((e,t)=>({length:148,offset:148*t,index:t}),[]),se=R((e,t)=>e?.id?.toString()??t.toString(),[]),ae=$(()=>{const e=W.length,t=I.length;if(b.has("all")||!Array.from(b).some(B=>B!=="all"))return<S style={{paddingHorizontal:8,paddingTop:8,paddingBottom:3}}>
|
|
4
4
|
<A style={{fontFamily:z.interMedium,fontSize:11,color:o.grayTextWeak,letterSpacing:.2}}>
|
|
5
5
|
{t===e?`Showing ${e} logs`:`Showing ${t} of ${e} logs`}
|
|
6
6
|
</A>
|
|
7
|
-
</S>;{const B=Array.from(
|
|
7
|
+
</S>;{const B=Array.from(b).filter(T=>T!=="all").map(T=>T==="user-log"?"Log":T==="analytics"?"Analytics":T.charAt(0).toUpperCase()+T.slice(1));return<S style={{paddingHorizontal:12,paddingTop:8,paddingBottom:3}}>
|
|
8
8
|
<A style={{fontFamily:z.interMedium,fontSize:11,color:o.grayTextWeak,letterSpacing:.2}}>
|
|
9
9
|
Filtered by {B.join(", ")} ({t} of {e} logs)
|
|
10
10
|
</A>
|
|
11
|
-
</S>}},[
|
|
11
|
+
</S>}},[W.length,I.length,b]),[N,X]=F.useState(!1),ce=$(()=>["[AXIOS]","[API]","[GRAPHQL]","[REDUX]","[ANALYTICS]","[AUTH]","[NAV]","[STORAGE]","[PERF]","[WS]","[PUSH]","[PAYMENT]","[SYNC]","[BLE]","[LOCATION]","[TEST]","[DEBUG]"],[]),de=$(()=>[{id:E.All,label:w("common.all","All"),count:x.all?.split("/")?.[0]??"0",color:o.purple,Icon:$e},{id:E.UserLog,label:w("console.log","Log"),count:x["user-log"]?.split("/")?.[0]??"0",color:o.teal600,Icon:De},{id:E.Info,label:w("console.info","Info"),count:x.info?.split("/")?.[0]??"0",color:o.sky600,Icon:We},{id:E.Warn,label:w("console.warning","Warn"),count:x.warn?.split("/")?.[0]??"0",color:o.amber600,Icon:Oe},{id:E.Error,label:w("console.error","Error"),count:x.error?.split("/")?.[0]??"0",color:o.errorColor,Icon:Me},{id:E.Analytics,label:w("console.analytics","Analytics"),count:x.analytics?.split("/")?.[0]??"0",color:o.violet600,Icon:Ne}],[x,w]);return<S style={{flex:1}}>
|
|
12
12
|
<S style={{backgroundColor:o.white,borderBottomWidth:1,borderBottomColor:o.dividerColor,paddingBottom:6}}>
|
|
13
|
-
<S style={[
|
|
14
|
-
<S style={[
|
|
15
|
-
<Fe color={
|
|
16
|
-
<Ie placeholder={
|
|
17
|
-
{
|
|
13
|
+
<S style={[h.toolbarRow,{marginTop:12,marginBottom:8}]}>
|
|
14
|
+
<S style={[h.searchContainer,N&&{borderColor:o.purple,borderWidth:1.5}]}>
|
|
15
|
+
<Fe color={N?o.purple:o.grayTextWeak}size={16}/>
|
|
16
|
+
<Ie placeholder={w("console.searchPlaceholder")}placeholderTextColor={o.grayTextWeak}value={C}onChangeText={V}onFocus={()=>X(!0)}onBlur={()=>X(!1)}style={h.searchInput}autoCorrect={!1}autoCapitalize="none"/>
|
|
17
|
+
{C.length>0&&<S style={{flexDirection:"row",alignItems:"center",gap:4}}>
|
|
18
18
|
<S style={{backgroundColor:`${o.purple}20`,borderRadius:10,paddingHorizontal:6,paddingVertical:2}}>
|
|
19
19
|
<A style={{color:o.purple,fontSize:10,fontFamily:z.interBold}}>
|
|
20
|
-
{
|
|
20
|
+
{I.length}
|
|
21
21
|
</A>
|
|
22
22
|
</S>
|
|
23
|
-
<Ce onPress={()=>V("")}hitSlop={10}style={
|
|
23
|
+
<Ce onPress={()=>V("")}hitSlop={10}style={h.clearBtn}>
|
|
24
24
|
<Pe color={o.grayTextWeak}size={14}/>
|
|
25
25
|
</Ce>
|
|
26
26
|
</S>}
|
|
27
27
|
</S>
|
|
28
28
|
|
|
29
|
-
<S style={
|
|
30
|
-
<P style={[
|
|
29
|
+
<S style={h.toolbarRight}>
|
|
30
|
+
<P style={[h.toolbarBtn,{borderColor:`${o.purple}38`,backgroundColor:`${o.purple}0F`}]}onPress={()=>Y(!0)}hitSlop={6}testID="inspector.console.exportBtn">
|
|
31
31
|
<Ue color={o.purple}size={15}/>
|
|
32
32
|
</P>
|
|
33
|
-
<P style={
|
|
34
|
-
<He color={o.grayTextStrong}size={18}direction={
|
|
33
|
+
<P style={h.toolbarBtn}onPress={()=>oe(e=>e==="newest"?"oldest":"newest")}hitSlop={10}>
|
|
34
|
+
<He color={o.grayTextStrong}size={18}direction={ee==="newest"?"down":"up"}/>
|
|
35
35
|
</P>
|
|
36
|
-
<P style={[
|
|
36
|
+
<P style={[h.toolbarBtn,{borderColor:`${o.errorColor}38`,backgroundColor:`${o.errorColor}0F`}]}onPress={te}hitSlop={6}>
|
|
37
37
|
<Re color={o.errorColor}size={15}/>
|
|
38
|
+
{H.size>0&&<S style={h.trashBadge}>
|
|
39
|
+
<A style={h.trashBadgeText}>
|
|
40
|
+
{H.size}
|
|
41
|
+
</A>
|
|
42
|
+
</S>}
|
|
38
43
|
</P>
|
|
39
44
|
</S>
|
|
40
45
|
</S>
|
|
41
46
|
|
|
42
47
|
|
|
43
|
-
{(
|
|
44
|
-
{
|
|
48
|
+
{(N||C.length>0)&&<J horizontal showsHorizontalScrollIndicator={!1}style={{marginBottom:6,maxHeight:30}}contentContainerStyle={{paddingHorizontal:8,flexDirection:"row",alignItems:"center",gap:6}}>
|
|
49
|
+
{ce.map(e=>{const t=C.includes(e);return<P key={e}onPress={()=>{V(t?y=>y.replace(e,"").trim():y=>y?`${y} ${e}`.trim():e)}}>
|
|
45
50
|
<S style={{paddingHorizontal:8,paddingVertical:3,borderRadius:6,backgroundColor:t?o.purple:`${o.purple}14`,borderWidth:1,borderColor:t?o.purple:`${o.purple}30`}}>
|
|
46
51
|
<A style={{fontFamily:z.interBold,fontSize:10,color:t?o.white:o.purple}}>
|
|
47
52
|
{e}
|
|
48
53
|
</A>
|
|
49
54
|
</S>
|
|
50
55
|
</P>})}
|
|
51
|
-
</
|
|
56
|
+
</J>}
|
|
52
57
|
|
|
53
58
|
|
|
54
59
|
<S style={{flexDirection:"row",alignItems:"center",marginBottom:8,paddingHorizontal:8,gap:6}}>
|
|
55
|
-
<
|
|
56
|
-
{
|
|
57
|
-
<S style={{flexDirection:"row",alignItems:"center",paddingHorizontal:9,paddingVertical:4.5,borderRadius:8,backgroundColor:t?
|
|
60
|
+
<J horizontal showsHorizontalScrollIndicator={!1}style={{flex:1}}contentContainerStyle={{flexDirection:"row",alignItems:"center",gap:6,paddingRight:6}}>
|
|
61
|
+
{de.map(e=>{const t=e.id==="all"?b.has("all"):b.has(e.id)&&!b.has("all"),y=e.color||o.purple,B=t?o.white:y,T=e.Icon;return<P testID={`inspector.console.filter.${e.id}`}key={e.id}onPress={()=>{e.id==="all"?D(new Set(["all"])):D(ge=>{const L=new Set(ge);return L.delete("all"),L.has(e.id)?L.delete(e.id):L.add(e.id),L.size===0&&L.add("all"),L})}}>
|
|
62
|
+
<S style={{flexDirection:"row",alignItems:"center",paddingHorizontal:9,paddingVertical:4.5,borderRadius:8,backgroundColor:t?y:`${y}12`,borderWidth:1,borderColor:t?y:`${y}30`,gap:5}}>
|
|
58
63
|
<T size={11}color={B}/>
|
|
59
64
|
<A style={{fontFamily:z.interBold,fontSize:10.5,color:t?o.white:o.primaryBlack}}>
|
|
60
65
|
{e.label}
|
|
61
66
|
</A>
|
|
62
|
-
<S style={{backgroundColor:t?"rgba(255,255,255,0.25)":`${
|
|
63
|
-
<A style={{fontFamily:z.interBold,fontSize:9,color:t?o.white:
|
|
67
|
+
<S style={{backgroundColor:t?"rgba(255,255,255,0.25)":`${y}20`,paddingHorizontal:5,paddingVertical:1,borderRadius:8}}>
|
|
68
|
+
<A style={{fontFamily:z.interBold,fontSize:9,color:t?o.white:y}}>
|
|
64
69
|
{e.count}
|
|
65
70
|
</A>
|
|
66
71
|
</S>
|
|
67
72
|
</S>
|
|
68
73
|
</P>})}
|
|
69
|
-
</
|
|
74
|
+
</J>
|
|
70
75
|
</S>
|
|
71
76
|
</S>
|
|
72
77
|
|
|
73
|
-
<Se ref={
|
|
78
|
+
<Se ref={G}data={M}keyExtractor={se}ListHeaderComponent={ae}renderItem={ne}getItemLayout={ie}initialNumToRender={10}maxToRenderPerBatch={8}windowSize={5}updateCellsBatchingPeriod={40}removeClippedSubviews={!0}renderToHardwareTextureAndroid={!0}showsVerticalScrollIndicator={!1}nestedScrollEnabled={!0}ListEmptyComponent={<Ee isSearch={C.length>0||!b.has("all")}searchQuery={C}customTitle={C.length>0?"No matching console logs":"No console logs"}onClearSearch={()=>{V(""),D(new Set(["all"]))}}/>}ListFooterComponent={I.length>0?<Ve count={M.length}totalCount={I.length}label="logs"loadMoreStep={Z}hasMore={M.length<I.length}onLoadMore={()=>Q(e=>e+Z)}/>:null}style={{flex:1}}contentContainerStyle={[h.listContent,{flexGrow:1}]}keyboardShouldPersistTaps="handled"/>
|
|
74
79
|
|
|
75
|
-
<Be visible={
|
|
80
|
+
<Be visible={re}onClose={()=>Y(!1)}filteredLogs={I}allLogs={W}/>
|
|
76
81
|
</S>});export default ve;
|
|
@@ -26,7 +26,7 @@ import L,{useMemo as ee}from"react";import{Alert as qe,Linking as _e,Platform as
|
|
|
26
26
|
</T>
|
|
27
27
|
</S>:Z?<S style={{gap:2.5,flex:1,minWidth:0,marginRight:6,justifyContent:"center"}}>
|
|
28
28
|
<S style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
29
|
-
<T style={{fontFamily:I.interBold,fontSize:e?14.5:16,lineHeight:e?
|
|
29
|
+
<T style={{fontFamily:I.interBold,fontSize:e?14.5:16,lineHeight:e?19:21,color:t.white,letterSpacing:-.2}}numberOfLines={1}>
|
|
30
30
|
{Ge}
|
|
31
31
|
</T>
|
|
32
32
|
{P==="main"&&<S style={{backgroundColor:`${t.white}26`,paddingHorizontal:e?5:6,paddingVertical:2,borderRadius:8,borderWidth:1,borderColor:`${t.white}20`}}>
|
|
@@ -35,19 +35,19 @@ import L,{useMemo as ee}from"react";import{Alert as qe,Linking as _e,Platform as
|
|
|
35
35
|
</T>
|
|
36
36
|
</S>}
|
|
37
37
|
</S>
|
|
38
|
-
<T style={{fontFamily:I.interRegular,fontSize:e?10:11,lineHeight:e?
|
|
38
|
+
<T style={{fontFamily:I.interRegular,fontSize:e?10:11,lineHeight:e?14:15,color:`${t.white}CC`,marginTop:2}}numberOfLines={1}ellipsizeMode="tail">
|
|
39
39
|
{P==="main"?"Manage modules and preferences":"Configure module parameters"}
|
|
40
40
|
</T>
|
|
41
41
|
</S>:ae?null:<S style={{flexDirection:"row",alignItems:"center",gap:e?7:8.5,flex:1,minWidth:0,marginRight:6}}>
|
|
42
42
|
<Ze size={e?38:G?40:42}/>
|
|
43
|
-
<S style={{gap:
|
|
43
|
+
<S style={{gap:3,flex:1,minWidth:0,justifyContent:"center"}}>
|
|
44
44
|
|
|
45
|
-
<T style={[i.headerTitle,{fontFamily:I.interBold,fontWeight:"700",fontSize:e?12.5:G?13:14,lineHeight:e?
|
|
45
|
+
<T style={[i.headerTitle,{fontFamily:I.interBold,fontWeight:"700",fontSize:e?12.5:G?13:14,lineHeight:e?17:G?18:19,color:t.white,letterSpacing:-.2,paddingBottom:0}]}numberOfLines={1}ellipsizeMode="tail">
|
|
46
46
|
react-native-inapp-inspector
|
|
47
47
|
</T>
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
<S style={{flexDirection:"row",alignItems:"center",gap:
|
|
50
|
+
<S style={{flexDirection:"row",alignItems:"center",gap:4,minWidth:0,marginTop:2,flexWrap:"nowrap",overflow:"hidden"}}>
|
|
51
51
|
|
|
52
52
|
<E onPress={()=>{H("light"),fe(!0)}}hitSlop={6}accessible={!0}accessibilityRole="button"accessibilityLabel={D("settings.general.selectLanguage","Select Language")}style={{flexDirection:"row",alignItems:"center",backgroundColor:`${t.white}24`,borderRadius:5,paddingHorizontal:5,paddingVertical:1.5,gap:3,borderWidth:1,borderColor:`${t.white}38`,flexShrink:0}}>
|
|
53
53
|
<Ct code={be?.code||"en"}size={9}borderRadius={2}/>
|
|
@@ -296,7 +296,7 @@ import L,{useMemo as ee}from"react";import{Alert as qe,Linking as _e,Platform as
|
|
|
296
296
|
|
|
297
297
|
{Z?<>
|
|
298
298
|
|
|
299
|
-
<E accessible={!0}accessibilityRole="button"accessibilityLabel={D("about.heroTitle","About & Specs")}onPress={()=>{H("light"),he(!0)}}hitSlop={15}style={[i.closeButtonSquare,{width:$,height:$,borderRadius:e?6:7,backgroundColor:"rgba(
|
|
299
|
+
<E accessible={!0}accessibilityRole="button"accessibilityLabel={D("about.heroTitle","About & Specs")}onPress={()=>{H("light"),he(!0)}}hitSlop={15}style={[i.closeButtonSquare,{width:$,height:$,borderRadius:e?6:7,backgroundColor:"rgba(255, 255, 255, 0.22)",borderColor:"rgba(255, 255, 255, 0.45)",borderWidth:1}]}>
|
|
300
300
|
<Lt color={t.white}size={e?13:15}/>
|
|
301
301
|
</E>
|
|
302
302
|
|