react-native-inapp-inspector 2.3.13 → 2.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/.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 +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/results.bin +1 -0
- package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/results.bin +1 -0
- 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 +10 -0
- package/android/build/generated/source/codegen/java/com/inappinspector/NativeNetworkInspectorSpec.java +104 -0
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +28 -0
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +128 -0
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec.h +31 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.cpp +22 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.h +24 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.cpp +16 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.h +17 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.cpp +19 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.h +18 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/RNInAppInspectorSpecJSI.h +177 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.cpp +17 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.h +23 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.cpp +16 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.h +20 -0
- package/android/build/generated/source/codegen/schema.json +1 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +7 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_main_jar/debug/syncDebugLibJars/classes.jar +0 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- 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 +1 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/debug-mergeJavaRes/merge-state +0 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- 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 +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +7 -0
- 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 +7 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- 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 +1 -0
- 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 +2 -0
- 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 +17 -0
- package/android/build/reports/problems/problems-report.html +659 -0
- 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
- package/bin/cli.js +6 -0
- package/dist/commonjs/components/Inspector/DebuggingTab.js +741 -438
- package/dist/commonjs/components/Inspector/MainScreen.js +4 -1
- package/dist/commonjs/components/Inspector/SettingsPanel.js +6 -4
- package/dist/commonjs/components/Inspector/TabBar.js +6 -2
- package/dist/commonjs/components/QRCodeView.js +1 -1
- 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/helpers/index.d.ts +1 -0
- package/dist/commonjs/helpers/index.js +11 -1
- package/dist/commonjs/helpers/qrGenerator.d.ts +1 -0
- package/dist/commonjs/helpers/qrGenerator.js +356 -33
- package/dist/commonjs/index.d.ts +1 -0
- package/dist/commonjs/index.js +5 -3
- package/dist/commonjs/metro.d.ts +25 -0
- package/dist/commonjs/metro.js +478 -0
- package/dist/esm/components/Inspector/DebuggingTab.js +744 -441
- package/dist/esm/components/Inspector/MainScreen.js +4 -1
- package/dist/esm/components/Inspector/SettingsPanel.js +7 -5
- package/dist/esm/components/Inspector/TabBar.js +7 -3
- package/dist/esm/components/QRCodeView.js +1 -1
- 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/helpers/index.d.ts +1 -0
- package/dist/esm/helpers/index.js +9 -0
- package/dist/esm/helpers/qrGenerator.d.ts +1 -0
- package/dist/esm/helpers/qrGenerator.js +356 -30
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +3 -2
- package/dist/esm/metro.d.ts +25 -0
- package/dist/esm/metro.js +469 -0
- package/metro.d.ts +1 -0
- package/metro.js +1 -0
- package/package.json +16 -5
- package/src/components/Inspector/DebuggingTab.tsx +842 -514
- package/src/components/Inspector/MainScreen.tsx +4 -1
- package/src/components/Inspector/SettingsPanel.tsx +85 -75
- package/src/components/Inspector/TabBar.tsx +16 -2
- package/src/components/QRCodeView.tsx +2 -2
- package/src/constants/telemetryConfig.ts +5 -3
- package/src/constants/version.ts +1 -1
- package/src/helpers/index.ts +15 -0
- package/src/helpers/qrGenerator.ts +418 -37
- package/src/index.tsx +5 -3
- package/src/metro.ts +598 -0
|
@@ -26,6 +26,7 @@ import Toast from '../Toast';
|
|
|
26
26
|
import styles from '../../styles';
|
|
27
27
|
import { AppColors } from '../../styles/AppColors';
|
|
28
28
|
import NavigationTracker from './NavigationTracker';
|
|
29
|
+
import { isLocalDebugEnvironment } from '../../helpers';
|
|
29
30
|
const MainScreen = () => {
|
|
30
31
|
const { visible, modalAnimationType, closeModal, modalHeightPercent, selected, selectedEvent, selectedLog, selectedReduxSlice, selectedReduxAction, selectedCrash, settingsPage, activeTab, isReady, enabled, useNativeFab, hasNavigationContext, setNavState, } = useInspector();
|
|
31
32
|
const isDetailActive = (activeTab === 'apis' && selected != null) ||
|
|
@@ -119,7 +120,9 @@ const MainScreen = () => {
|
|
|
119
120
|
{activeTab === 'crash' && <CrashTab />}
|
|
120
121
|
{activeTab === 'device' && <DeviceInfoTab />}
|
|
121
122
|
{activeTab === 'storage' && <StorageTab />}
|
|
122
|
-
{
|
|
123
|
+
{Platform.OS === 'android' &&
|
|
124
|
+
isLocalDebugEnvironment() &&
|
|
125
|
+
activeTab === 'debugging' && <DebuggingTab />}
|
|
123
126
|
</Animated.View>
|
|
124
127
|
|
|
125
128
|
|
|
@@ -19,7 +19,7 @@ import { isAnalyticsConnected } from '../../customHooks/analyticsLogger';
|
|
|
19
19
|
import { useTranslation } from '../../i18n';
|
|
20
20
|
import { SignalIcon, TerminalIcon, AnalyticsIcon, SettingsIcon, SunIcon, MoonIcon, ScreenIcon, MotionIcon, LayersIcon, EyeIcon, CheckIcon, TrashIcon, PackageIcon, ReduxIcon, PerformanceIcon, CrashIcon, ShieldAlertIcon, ForwardChevronIcon, ChevronDownIcon, NpmIcon, BoltIcon, BrainIcon, SmartphoneIcon, DatabaseIcon, QrCodeIcon, } from '../NetworkIcons';
|
|
21
21
|
import { LIB_VERSION } from '../../constants';
|
|
22
|
-
import { copyToClipboard } from '../../helpers';
|
|
22
|
+
import { copyToClipboard, isLocalDebugEnvironment } from '../../helpers';
|
|
23
23
|
import { showToast } from '../../helpers/toast';
|
|
24
24
|
import { pruneAllLogs } from '../../helpers/memoryManager';
|
|
25
25
|
const SettingsPanel = () => {
|
|
@@ -33,7 +33,7 @@ const SettingsPanel = () => {
|
|
|
33
33
|
const isPersistent = isPersistentStorageAvailable();
|
|
34
34
|
const statusBarHeight = Platform.OS === 'android' ? StatusBar.currentHeight || 24 : 44;
|
|
35
35
|
const headerTopPadding = modalHeightPercent >= 95 ? statusBarHeight : 0;
|
|
36
|
-
const allModules = [
|
|
36
|
+
const allModules = useMemo(() => [
|
|
37
37
|
{
|
|
38
38
|
key: 'apis',
|
|
39
39
|
label: 'APIs (Network)',
|
|
@@ -104,7 +104,9 @@ const SettingsPanel = () => {
|
|
|
104
104
|
icon: 'debugging',
|
|
105
105
|
desc: 'QR Code bridge for direct Debug APK download & Metro live-reload sync',
|
|
106
106
|
},
|
|
107
|
-
]
|
|
107
|
+
].filter(m => m.key === 'debugging'
|
|
108
|
+
? Platform.OS === 'android' && isLocalDebugEnvironment()
|
|
109
|
+
: true), []);
|
|
108
110
|
const [stagedTabVisibility, setStagedTabVisibility] = useState(() => ({
|
|
109
111
|
apis: true,
|
|
110
112
|
logs: Boolean(tabVisibility?.logs),
|
|
@@ -115,7 +117,7 @@ const SettingsPanel = () => {
|
|
|
115
117
|
crash: Boolean(tabVisibility?.crash),
|
|
116
118
|
device: Boolean(tabVisibility?.device),
|
|
117
119
|
storage: Boolean(tabVisibility?.storage),
|
|
118
|
-
debugging: Boolean(tabVisibility?.debugging
|
|
120
|
+
debugging: Boolean(tabVisibility?.debugging),
|
|
119
121
|
}));
|
|
120
122
|
useEffect(() => {
|
|
121
123
|
setStagedTabVisibility({
|
|
@@ -128,7 +130,7 @@ const SettingsPanel = () => {
|
|
|
128
130
|
crash: Boolean(tabVisibility?.crash),
|
|
129
131
|
device: Boolean(tabVisibility?.device),
|
|
130
132
|
storage: Boolean(tabVisibility?.storage),
|
|
131
|
-
debugging: Boolean(tabVisibility?.debugging
|
|
133
|
+
debugging: Boolean(tabVisibility?.debugging),
|
|
132
134
|
});
|
|
133
135
|
}, [tabVisibility]);
|
|
134
136
|
const hasUnsavedChanges = useMemo(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Animated, ScrollView, Text, View } from 'react-native';
|
|
2
|
+
import { Animated, Platform, ScrollView, Text, View, } from 'react-native';
|
|
3
3
|
import { useInspector } from './InspectorContext';
|
|
4
4
|
import styles from '../../styles';
|
|
5
5
|
import { AppColors } from '../../styles/AppColors';
|
|
@@ -7,6 +7,7 @@ import TouchableScale from '../TouchableScale';
|
|
|
7
7
|
import { SignalIcon, TerminalIcon, AnalyticsIcon, PackageIcon, ReduxIcon, PerformanceIcon, CrashIcon, SmartphoneIcon, DatabaseIcon, QrCodeIcon, } from '../NetworkIcons';
|
|
8
8
|
import { isReduxConnected } from '../../customHooks/reduxLogger';
|
|
9
9
|
import { isAnalyticsConnected } from '../../customHooks/analyticsLogger';
|
|
10
|
+
import { isLocalDebugEnvironment } from '../../helpers';
|
|
10
11
|
const TabBar = React.memo(() => {
|
|
11
12
|
const { activeTab, switchActiveTab, tabVisibility, logs, consoleLogs, analyticsEvents, crashRecords, lastReadApisCount, lastReadLogsCount, lastReadCrashesCount, unreadPulseAnim, } = useInspector();
|
|
12
13
|
const isReduxAvail = isReduxConnected();
|
|
@@ -76,8 +77,11 @@ const TabBar = React.memo(() => {
|
|
|
76
77
|
},
|
|
77
78
|
]
|
|
78
79
|
.filter(tab => {
|
|
79
|
-
if (tab.key === 'debugging')
|
|
80
|
-
return
|
|
80
|
+
if (tab.key === 'debugging') {
|
|
81
|
+
return (Platform.OS === 'android' &&
|
|
82
|
+
isLocalDebugEnvironment() &&
|
|
83
|
+
Boolean(tabVisibility?.debugging));
|
|
84
|
+
}
|
|
81
85
|
if (!tabVisibility?.[tab.key])
|
|
82
86
|
return false;
|
|
83
87
|
if (tab.key === 'redux' && !isReduxAvail)
|
|
@@ -6,7 +6,7 @@ import { AppColors } from '../styles/AppColors';
|
|
|
6
6
|
export const QRCodeView = ({ value, size = 200, color = '#000000', backgroundColor = '#FFFFFF', }) => {
|
|
7
7
|
const matrix = useMemo(() => generateQRMatrix(value || 'http://localhost:8081'), [value]);
|
|
8
8
|
const numCells = matrix.length || 21;
|
|
9
|
-
const margin =
|
|
9
|
+
const margin = 4;
|
|
10
10
|
const totalCells = numCells + margin * 2;
|
|
11
11
|
const cellSize = size / totalCells;
|
|
12
12
|
return (<View style={[
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const ENC_MID = "";
|
|
2
|
-
export declare const ENC_SEC = "";
|
|
3
|
-
export declare const TELEMETRY_SALT = "";
|
|
1
|
+
export declare const ENC_MID = "df8ace0290a695bd05986213";
|
|
2
|
+
export declare const ENC_SEC = "db93cb0186b1f7bb0ba63a0d0a64997586849455ce37";
|
|
3
|
+
export declare const TELEMETRY_SALT = "rn-inapp-inspector-telemetry-v1";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const ENC_MID = '';
|
|
2
|
-
export const ENC_SEC = '';
|
|
3
|
-
export const TELEMETRY_SALT = '';
|
|
1
|
+
export const ENC_MID = 'df8ace0290a695bd05986213';
|
|
2
|
+
export const ENC_SEC = 'db93cb0186b1f7bb0ba63a0d0a64997586849455ce37';
|
|
3
|
+
export const TELEMETRY_SALT = 'rn-inapp-inspector-telemetry-v1';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "2.3.
|
|
1
|
+
export declare const LIB_VERSION = "2.3.14";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const LIB_VERSION = '2.3.
|
|
1
|
+
export const LIB_VERSION = '2.3.14';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NetworkLog, RouteInfo, DiffResult, JsonContent, StackFrameType } from '../types';
|
|
2
2
|
export * from './searchQueryParser';
|
|
3
3
|
export * from './memoryManager';
|
|
4
|
+
export declare const isLocalDebugEnvironment: () => boolean;
|
|
4
5
|
export declare const getDomainColor: (domain: string) => string;
|
|
5
6
|
export declare const formatDateTime: (timestamp: number) => string;
|
|
6
7
|
export declare const formatTimestamp: (timestamp: number) => string;
|
|
@@ -5,6 +5,15 @@ import { AppColors } from '../styles/AppColors';
|
|
|
5
5
|
import { DOMAIN_COLORS, DURATION_FAST_MS, DURATION_SLOW_MS } from '../constants';
|
|
6
6
|
export * from './searchQueryParser';
|
|
7
7
|
export * from './memoryManager';
|
|
8
|
+
export const isLocalDebugEnvironment = () => {
|
|
9
|
+
const isDev = typeof __DEV__ !== 'undefined' && Boolean(__DEV__);
|
|
10
|
+
const scriptURL = NativeModules.SourceCode?.scriptURL || '';
|
|
11
|
+
const hasDevServer = scriptURL.startsWith('http://') ||
|
|
12
|
+
scriptURL.startsWith('https://') ||
|
|
13
|
+
scriptURL.includes(':8081') ||
|
|
14
|
+
scriptURL.includes(':8082');
|
|
15
|
+
return isDev || hasDevServer;
|
|
16
|
+
};
|
|
8
17
|
export const getDomainColor = (domain) => {
|
|
9
18
|
if (!domain)
|
|
10
19
|
return DOMAIN_COLORS[0];
|
|
@@ -1,38 +1,364 @@
|
|
|
1
|
-
|
|
1
|
+
const QR_ECC_LEVEL = {
|
|
2
|
+
L: 1,
|
|
3
|
+
M: 0,
|
|
4
|
+
Q: 3,
|
|
5
|
+
H: 2,
|
|
6
|
+
};
|
|
7
|
+
const EXP_TABLE = new Uint8Array(256);
|
|
8
|
+
const LOG_TABLE = new Uint8Array(256);
|
|
9
|
+
(function initGaloisField() {
|
|
10
|
+
let x = 1;
|
|
11
|
+
for (let i = 0; i < 255; i++) {
|
|
12
|
+
EXP_TABLE[i] = x;
|
|
13
|
+
LOG_TABLE[x] = i;
|
|
14
|
+
x <<= 1;
|
|
15
|
+
if (x & 0x100) {
|
|
16
|
+
x ^= 0x11d;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
EXP_TABLE[255] = EXP_TABLE[0];
|
|
20
|
+
})();
|
|
21
|
+
function glog(n) {
|
|
22
|
+
if (n < 1)
|
|
23
|
+
throw new Error(`glog(${n})`);
|
|
24
|
+
return LOG_TABLE[n];
|
|
25
|
+
}
|
|
26
|
+
function gexp(n) {
|
|
27
|
+
while (n < 0)
|
|
28
|
+
n += 255;
|
|
29
|
+
while (n >= 256)
|
|
30
|
+
n -= 255;
|
|
31
|
+
return EXP_TABLE[n];
|
|
32
|
+
}
|
|
33
|
+
class Polynomial {
|
|
34
|
+
constructor(num, shift = 0) {
|
|
35
|
+
let offset = 0;
|
|
36
|
+
while (offset < num.length && num[offset] === 0) {
|
|
37
|
+
offset++;
|
|
38
|
+
}
|
|
39
|
+
this.num = new Array(num.length - offset + shift);
|
|
40
|
+
for (let i = 0; i < num.length - offset; i++) {
|
|
41
|
+
this.num[i] = num[i + offset];
|
|
42
|
+
}
|
|
43
|
+
for (let i = num.length - offset; i < this.num.length; i++) {
|
|
44
|
+
this.num[i] = 0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
get(index) {
|
|
48
|
+
return this.num[index] || 0;
|
|
49
|
+
}
|
|
50
|
+
getLength() {
|
|
51
|
+
return this.num.length;
|
|
52
|
+
}
|
|
53
|
+
multiply(e) {
|
|
54
|
+
const num = new Array(this.getLength() + e.getLength() - 1).fill(0);
|
|
55
|
+
for (let i = 0; i < this.getLength(); i++) {
|
|
56
|
+
for (let j = 0; j < e.getLength(); j++) {
|
|
57
|
+
num[i + j] ^= gexp(glog(this.get(i)) + glog(e.get(j)));
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return new Polynomial(num);
|
|
61
|
+
}
|
|
62
|
+
mod(e) {
|
|
63
|
+
if (this.getLength() - e.getLength() < 0) {
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
const ratio = glog(this.get(0)) - glog(e.get(0));
|
|
67
|
+
const num = new Array(this.getLength());
|
|
68
|
+
for (let i = 0; i < this.getLength(); i++) {
|
|
69
|
+
num[i] = this.get(i);
|
|
70
|
+
}
|
|
71
|
+
for (let i = 0; i < e.getLength(); i++) {
|
|
72
|
+
num[i] ^= gexp(glog(e.get(i)) + ratio);
|
|
73
|
+
}
|
|
74
|
+
return new Polynomial(num).mod(e);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
const RS_BLOCK_TABLE = [
|
|
78
|
+
[[1, 26, 19], [1, 26, 16], [1, 26, 13], [1, 26, 9]],
|
|
79
|
+
[[1, 44, 34], [1, 44, 28], [1, 44, 22], [1, 44, 16]],
|
|
80
|
+
[[1, 70, 55], [1, 70, 44], [2, 35, 17], [2, 35, 13]],
|
|
81
|
+
[[1, 100, 80], [2, 50, 32], [2, 50, 24], [4, 25, 9]],
|
|
82
|
+
[[1, 134, 108], [2, 67, 43], [2, 33, 15, 2, 34, 16], [2, 33, 11, 2, 34, 12]],
|
|
83
|
+
[[2, 86, 68], [4, 43, 27], [4, 43, 19], [4, 43, 15]],
|
|
84
|
+
[[2, 98, 78], [4, 49, 31], [2, 32, 14, 4, 33, 15], [4, 39, 13, 1, 40, 14]],
|
|
85
|
+
[[2, 121, 97], [2, 60, 38, 2, 61, 39], [4, 40, 18, 2, 41, 19], [4, 40, 14, 2, 41, 15]],
|
|
86
|
+
[[2, 146, 116], [3, 58, 36, 2, 59, 37], [4, 36, 16, 4, 37, 17], [4, 36, 12, 4, 37, 13]],
|
|
87
|
+
[[2, 86, 68, 2, 87, 69], [4, 69, 43, 1, 70, 44], [6, 43, 19, 2, 44, 20], [6, 43, 15, 2, 44, 16]],
|
|
88
|
+
];
|
|
89
|
+
const PATTERN_POSITION_TABLE = [
|
|
90
|
+
[],
|
|
91
|
+
[6, 18],
|
|
92
|
+
[6, 22],
|
|
93
|
+
[6, 26],
|
|
94
|
+
[6, 30],
|
|
95
|
+
[6, 34],
|
|
96
|
+
[6, 22, 38],
|
|
97
|
+
[6, 24, 42],
|
|
98
|
+
[6, 26, 46],
|
|
99
|
+
[6, 28, 50],
|
|
100
|
+
];
|
|
101
|
+
const G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0);
|
|
102
|
+
const G15_MASK = (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1);
|
|
103
|
+
function getBCHTypeInfo(data) {
|
|
104
|
+
let d = data << 10;
|
|
105
|
+
while (getBCHDigit(d) - getBCHDigit(G15) >= 0) {
|
|
106
|
+
d ^= G15 << (getBCHDigit(d) - getBCHDigit(G15));
|
|
107
|
+
}
|
|
108
|
+
return ((data << 10) | d) ^ G15_MASK;
|
|
109
|
+
}
|
|
110
|
+
function getBCHDigit(data) {
|
|
111
|
+
let digit = 0;
|
|
112
|
+
while (data !== 0) {
|
|
113
|
+
digit++;
|
|
114
|
+
data >>>= 1;
|
|
115
|
+
}
|
|
116
|
+
return digit;
|
|
117
|
+
}
|
|
118
|
+
function getMask(maskPattern, i, j) {
|
|
119
|
+
switch (maskPattern) {
|
|
120
|
+
case 0: return (i + j) % 2 === 0;
|
|
121
|
+
case 1: return i % 2 === 0;
|
|
122
|
+
case 2: return j % 3 === 0;
|
|
123
|
+
case 3: return (i + j) % 3 === 0;
|
|
124
|
+
case 4: return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 === 0;
|
|
125
|
+
case 5: return ((i * j) % 2) + ((i * j) % 3) === 0;
|
|
126
|
+
case 6: return (((i * j) % 2) + ((i * j) % 3)) % 2 === 0;
|
|
127
|
+
case 7: return (((i * j) % 3) + ((i + j) % 2)) % 2 === 0;
|
|
128
|
+
default: return false;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
class BitBuffer {
|
|
132
|
+
constructor() {
|
|
133
|
+
this.buffer = [];
|
|
134
|
+
this.length = 0;
|
|
135
|
+
}
|
|
136
|
+
get(index) {
|
|
137
|
+
const bufIndex = Math.floor(index / 8);
|
|
138
|
+
return ((this.buffer[bufIndex] >>> (7 - (index % 8))) & 1) === 1;
|
|
139
|
+
}
|
|
140
|
+
put(num, length) {
|
|
141
|
+
for (let i = 0; i < length; i++) {
|
|
142
|
+
this.putBit(((num >>> (length - i - 1)) & 1) === 1);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
putBit(bit) {
|
|
146
|
+
const bufIndex = Math.floor(this.length / 8);
|
|
147
|
+
if (this.buffer.length <= bufIndex) {
|
|
148
|
+
this.buffer.push(0);
|
|
149
|
+
}
|
|
150
|
+
if (bit) {
|
|
151
|
+
this.buffer[bufIndex] |= 0x80 >>> (this.length % 8);
|
|
152
|
+
}
|
|
153
|
+
this.length++;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
function getErrorCorrectionPolynomial(errorCorrectionLength) {
|
|
157
|
+
let a = new Polynomial([1], 0);
|
|
158
|
+
for (let i = 0; i < errorCorrectionLength; i++) {
|
|
159
|
+
a = a.multiply(new Polynomial([1, gexp(i)], 0));
|
|
160
|
+
}
|
|
161
|
+
return a;
|
|
162
|
+
}
|
|
2
163
|
export function generateQRMatrix(text, ecc = 'M') {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
164
|
+
const eccLevel = QR_ECC_LEVEL[ecc] ?? 0;
|
|
165
|
+
const utf8Bytes = [];
|
|
166
|
+
for (let i = 0; i < text.length; i++) {
|
|
167
|
+
let c = text.charCodeAt(i);
|
|
168
|
+
if (c < 128) {
|
|
169
|
+
utf8Bytes.push(c);
|
|
170
|
+
}
|
|
171
|
+
else if (c < 2048) {
|
|
172
|
+
utf8Bytes.push((c >> 6) | 192);
|
|
173
|
+
utf8Bytes.push((c & 63) | 128);
|
|
174
|
+
}
|
|
175
|
+
else {
|
|
176
|
+
utf8Bytes.push((c >> 12) | 224);
|
|
177
|
+
utf8Bytes.push(((c >> 6) & 63) | 128);
|
|
178
|
+
utf8Bytes.push((c & 63) | 128);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
let version = 1;
|
|
182
|
+
for (let v = 1; v <= 10; v++) {
|
|
183
|
+
const blockList = RS_BLOCK_TABLE[v - 1][eccLevel];
|
|
184
|
+
let totalDataCount = 0;
|
|
185
|
+
for (let i = 0; i < blockList.length; i += 3) {
|
|
186
|
+
totalDataCount += blockList[i] * blockList[i + 2];
|
|
187
|
+
}
|
|
188
|
+
if (utf8Bytes.length + 2 <= totalDataCount) {
|
|
189
|
+
version = v;
|
|
190
|
+
break;
|
|
191
|
+
}
|
|
192
|
+
version = v;
|
|
193
|
+
}
|
|
194
|
+
const moduleCount = version * 4 + 17;
|
|
195
|
+
const modules = Array.from({ length: moduleCount }, () => Array(moduleCount).fill(null));
|
|
196
|
+
function setupPositionProbePattern(row, col) {
|
|
197
|
+
for (let r = -1; r <= 7; r++) {
|
|
198
|
+
if (row + r <= -1 || moduleCount <= row + r)
|
|
199
|
+
continue;
|
|
200
|
+
for (let c = -1; c <= 7; c++) {
|
|
201
|
+
if (col + c <= -1 || moduleCount <= col + c)
|
|
202
|
+
continue;
|
|
203
|
+
if ((0 <= r && r <= 6 && (c === 0 || c === 6)) ||
|
|
204
|
+
(0 <= c && c <= 6 && (r === 0 || r === 6)) ||
|
|
205
|
+
(2 <= r && r <= 4 && 2 <= c && c <= 4)) {
|
|
206
|
+
modules[row + r][col + c] = true;
|
|
207
|
+
}
|
|
208
|
+
else {
|
|
209
|
+
modules[row + r][col + c] = false;
|
|
210
|
+
}
|
|
13
211
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
for (let
|
|
28
|
-
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
setupPositionProbePattern(0, 0);
|
|
215
|
+
setupPositionProbePattern(moduleCount - 7, 0);
|
|
216
|
+
setupPositionProbePattern(0, moduleCount - 7);
|
|
217
|
+
const pos = PATTERN_POSITION_TABLE[version - 1] || [];
|
|
218
|
+
for (let i = 0; i < pos.length; i++) {
|
|
219
|
+
for (let j = 0; j < pos.length; j++) {
|
|
220
|
+
const row = pos[i];
|
|
221
|
+
const col = pos[j];
|
|
222
|
+
if (modules[row][col] !== null)
|
|
223
|
+
continue;
|
|
224
|
+
for (let r = -2; r <= 2; r++) {
|
|
225
|
+
for (let c = -2; c <= 2; c++) {
|
|
226
|
+
if (r === -2 || r === 2 || c === -2 || c === 2 || (r === 0 && c === 0)) {
|
|
227
|
+
modules[row + r][col + c] = true;
|
|
228
|
+
}
|
|
229
|
+
else {
|
|
230
|
+
modules[row + r][col + c] = false;
|
|
231
|
+
}
|
|
29
232
|
}
|
|
30
|
-
matrix.push(rowData);
|
|
31
233
|
}
|
|
32
|
-
return matrix;
|
|
33
234
|
}
|
|
34
|
-
|
|
35
|
-
|
|
235
|
+
}
|
|
236
|
+
for (let r = 8; r < moduleCount - 8; r++) {
|
|
237
|
+
if (modules[r][6] === null)
|
|
238
|
+
modules[r][6] = r % 2 === 0;
|
|
239
|
+
}
|
|
240
|
+
for (let c = 8; c < moduleCount - 8; c++) {
|
|
241
|
+
if (modules[6][c] === null)
|
|
242
|
+
modules[6][c] = c % 2 === 0;
|
|
243
|
+
}
|
|
244
|
+
const buffer = new BitBuffer();
|
|
245
|
+
buffer.put(4, 4);
|
|
246
|
+
buffer.put(utf8Bytes.length, 8);
|
|
247
|
+
for (let i = 0; i < utf8Bytes.length; i++) {
|
|
248
|
+
buffer.put(utf8Bytes[i], 8);
|
|
249
|
+
}
|
|
250
|
+
const rsBlocks = RS_BLOCK_TABLE[version - 1][eccLevel];
|
|
251
|
+
let totalDataCount = 0;
|
|
252
|
+
for (let i = 0; i < rsBlocks.length; i += 3) {
|
|
253
|
+
totalDataCount += rsBlocks[i] * rsBlocks[i + 2];
|
|
254
|
+
}
|
|
255
|
+
if (buffer.length + 4 <= totalDataCount * 8) {
|
|
256
|
+
buffer.put(0, 4);
|
|
257
|
+
}
|
|
258
|
+
while (buffer.length % 8 !== 0) {
|
|
259
|
+
buffer.putBit(false);
|
|
260
|
+
}
|
|
261
|
+
while (buffer.length < totalDataCount * 8) {
|
|
262
|
+
buffer.put(0xec, 8);
|
|
263
|
+
if (buffer.length < totalDataCount * 8) {
|
|
264
|
+
buffer.put(0x11, 8);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
const dataBytes = buffer.buffer;
|
|
268
|
+
let offset = 0;
|
|
269
|
+
const dcData = [];
|
|
270
|
+
const ecData = [];
|
|
271
|
+
for (let i = 0; i < rsBlocks.length; i += 3) {
|
|
272
|
+
const numBlocks = rsBlocks[i];
|
|
273
|
+
const totalCount = rsBlocks[i + 1];
|
|
274
|
+
const dataCount = rsBlocks[i + 2];
|
|
275
|
+
const ecCount = totalCount - dataCount;
|
|
276
|
+
const rsPoly = getErrorCorrectionPolynomial(ecCount);
|
|
277
|
+
for (let b = 0; b < numBlocks; b++) {
|
|
278
|
+
const rawDc = dataBytes.slice(offset, offset + dataCount);
|
|
279
|
+
offset += dataCount;
|
|
280
|
+
dcData.push(rawDc);
|
|
281
|
+
const rawPoly = new Polynomial(rawDc, rsPoly.getLength() - 1);
|
|
282
|
+
const modPoly = rawPoly.mod(rsPoly);
|
|
283
|
+
const ec = new Array(rsPoly.getLength() - 1).fill(0);
|
|
284
|
+
for (let k = 0; k < ec.length; k++) {
|
|
285
|
+
const modIndex = k + modPoly.getLength() - ec.length;
|
|
286
|
+
ec[k] = modIndex >= 0 ? modPoly.get(modIndex) : 0;
|
|
287
|
+
}
|
|
288
|
+
ecData.push(ec);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
const finalCodewords = [];
|
|
292
|
+
let maxDcCount = 0;
|
|
293
|
+
for (const block of dcData)
|
|
294
|
+
maxDcCount = Math.max(maxDcCount, block.length);
|
|
295
|
+
for (let i = 0; i < maxDcCount; i++) {
|
|
296
|
+
for (const block of dcData) {
|
|
297
|
+
if (i < block.length)
|
|
298
|
+
finalCodewords.push(block[i]);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
let maxEcCount = 0;
|
|
302
|
+
for (const block of ecData)
|
|
303
|
+
maxEcCount = Math.max(maxEcCount, block.length);
|
|
304
|
+
for (let i = 0; i < maxEcCount; i++) {
|
|
305
|
+
for (const block of ecData) {
|
|
306
|
+
if (i < block.length)
|
|
307
|
+
finalCodewords.push(block[i]);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
let inc = -1;
|
|
311
|
+
let row = moduleCount - 1;
|
|
312
|
+
let bitIndex = 0;
|
|
313
|
+
const maskPattern = 0;
|
|
314
|
+
for (let col = moduleCount - 1; col > 0; col -= 2) {
|
|
315
|
+
if (col === 6)
|
|
316
|
+
col--;
|
|
317
|
+
while (true) {
|
|
318
|
+
for (let c = 0; c < 2; c++) {
|
|
319
|
+
if (modules[row][col - c] === null) {
|
|
320
|
+
let dark = false;
|
|
321
|
+
if (bitIndex < finalCodewords.length * 8) {
|
|
322
|
+
const byte = finalCodewords[Math.floor(bitIndex / 8)];
|
|
323
|
+
dark = ((byte >>> (7 - (bitIndex % 8))) & 1) === 1;
|
|
324
|
+
bitIndex++;
|
|
325
|
+
}
|
|
326
|
+
const mask = getMask(maskPattern, row, col - c);
|
|
327
|
+
modules[row][col - c] = mask ? !dark : dark;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
row += inc;
|
|
331
|
+
if (row < 0 || moduleCount <= row) {
|
|
332
|
+
row -= inc;
|
|
333
|
+
inc = -inc;
|
|
334
|
+
break;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
const typeData = (eccLevel << 3) | maskPattern;
|
|
339
|
+
const bits = getBCHTypeInfo(typeData);
|
|
340
|
+
for (let i = 0; i < 15; i++) {
|
|
341
|
+
const mod = ((bits >> i) & 1) === 1;
|
|
342
|
+
if (i < 6) {
|
|
343
|
+
modules[i][8] = mod;
|
|
344
|
+
}
|
|
345
|
+
else if (i < 8) {
|
|
346
|
+
modules[i + 1][8] = mod;
|
|
347
|
+
}
|
|
348
|
+
else {
|
|
349
|
+
modules[moduleCount - 15 + i][8] = mod;
|
|
350
|
+
}
|
|
351
|
+
if (i < 8) {
|
|
352
|
+
modules[8][moduleCount - i - 1] = mod;
|
|
353
|
+
}
|
|
354
|
+
else if (i < 9) {
|
|
355
|
+
modules[8][15 - i - 1 + 1] = mod;
|
|
356
|
+
}
|
|
357
|
+
else {
|
|
358
|
+
modules[8][15 - i - 1] = mod;
|
|
36
359
|
}
|
|
37
360
|
}
|
|
361
|
+
modules[moduleCount - 8][8] = true;
|
|
362
|
+
return modules.map(r => r.map(cell => cell === true));
|
|
38
363
|
}
|
|
364
|
+
export default generateQRMatrix;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -26,3 +26,4 @@ export { ActiveTab, Method, StatusFilter, SortOrder, LocalFilter, ModalAnimation
|
|
|
26
26
|
export { AppFonts, setAppFonts, type AppFontConfig, } from './styles/AppFonts';
|
|
27
27
|
export { AppColors, setAppColors, getThemeColors, updateAppColorsTheme, } from './styles/AppColors';
|
|
28
28
|
export { t, i18n, useTranslation, setLanguage, addTranslations, setTranslations, I18nextProvider, } from './i18n';
|
|
29
|
+
export { LIB_VERSION } from './constants/version';
|
package/dist/esm/index.js
CHANGED
|
@@ -168,7 +168,7 @@ const NetworkInspector = ({ enabled = true, storage, navigationRef, appIcon, env
|
|
|
168
168
|
crash: false,
|
|
169
169
|
device: false,
|
|
170
170
|
storage: false,
|
|
171
|
-
debugging:
|
|
171
|
+
debugging: false,
|
|
172
172
|
});
|
|
173
173
|
const [maxNetworkLogs, setMaxNetworkLogs] = useState(100);
|
|
174
174
|
const [maxAnalyticsEventsLimit, setMaxAnalyticsEventsLimit] = useState(75);
|
|
@@ -222,7 +222,7 @@ const NetworkInspector = ({ enabled = true, storage, navigationRef, appIcon, env
|
|
|
222
222
|
crash: false,
|
|
223
223
|
device: false,
|
|
224
224
|
storage: false,
|
|
225
|
-
debugging:
|
|
225
|
+
debugging: false,
|
|
226
226
|
});
|
|
227
227
|
setDefaultTab('apis');
|
|
228
228
|
setIsAutoRamLimitEnabled(true);
|
|
@@ -1807,3 +1807,4 @@ export { ActiveTab, Method, StatusFilter, SortOrder, LocalFilter, ModalAnimation
|
|
|
1807
1807
|
export { AppFonts, setAppFonts, } from './styles/AppFonts';
|
|
1808
1808
|
export { AppColors, setAppColors, getThemeColors, updateAppColorsTheme, } from './styles/AppColors';
|
|
1809
1809
|
export { t, i18n, useTranslation, setLanguage, addTranslations, setTranslations, I18nextProvider, } from './i18n';
|
|
1810
|
+
export { LIB_VERSION } from './constants/version';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface InAppInspectorMetroOptions {
|
|
2
|
+
apkPath?: string;
|
|
3
|
+
endpoint?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface BuildJob {
|
|
6
|
+
status: 'idle' | 'running' | 'completed' | 'failed';
|
|
7
|
+
scheme: string;
|
|
8
|
+
clean: boolean;
|
|
9
|
+
progress: number;
|
|
10
|
+
currentTask: string;
|
|
11
|
+
logs: string[];
|
|
12
|
+
error: string | null;
|
|
13
|
+
startedAt: string | null;
|
|
14
|
+
completedAt: string | null;
|
|
15
|
+
apkName: string | null;
|
|
16
|
+
apkSize: number | null;
|
|
17
|
+
}
|
|
18
|
+
export declare function getLanIpAddresses(): {
|
|
19
|
+
primary: string;
|
|
20
|
+
all: string[];
|
|
21
|
+
};
|
|
22
|
+
export declare function stopGradleBuild(): BuildJob;
|
|
23
|
+
export declare function withInAppInspector(metroConfig?: any, options?: InAppInspectorMetroOptions): any;
|
|
24
|
+
export declare function startStandaloneServer(port?: number): any;
|
|
25
|
+
export default withInAppInspector;
|