expo-observe 58.0.1 → 58.0.4
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/.npmignore +5 -0
- package/CHANGELOG.md +14 -0
- package/build/index.d.ts +1 -1
- package/build/index.js.map +1 -1
- package/build/module.js +33 -0
- package/build/module.js.map +1 -1
- package/build/types.d.ts +27 -1
- package/build/types.js.map +1 -1
- package/expo-module.config.json +1 -1
- package/{android/build/intermediates/source_jar/release/release-sources.jar → local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4-sources.jar.sha512 +1 -0
- package/{android/build/outputs/aar/expo-observe-release.aar → local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.aar} +0 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.aar.sha512 +1 -0
- package/{android/build/publications/release/module.json → local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.module} +22 -22
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.module.md5 +1 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.module.sha512 +1 -0
- package/{android/build/publications/release/pom-default.xml → local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.pom} +2 -2
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.4/expo.modules.observe-58.0.4.pom.sha512 +1 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/maven-metadata.xml +4 -4
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/maven-metadata.xml.sha512 +1 -1
- package/package.json +4 -4
- package/src/index.ts +1 -0
- package/src/module.ts +32 -0
- package/src/types.ts +33 -1
- package/android/build/generated/source/buildConfig/release/expo/modules/observe/BuildConfig.java +0 -12
- package/android/build/intermediates/aapt_friendly_merged_manifests/release/processReleaseManifest/aapt/AndroidManifest.xml +0 -7
- package/android/build/intermediates/aapt_friendly_merged_manifests/release/processReleaseManifest/aapt/output-metadata.json +0 -18
- package/android/build/intermediates/aar_main_jar/release/syncReleaseLibJars/classes.jar +0 -0
- package/android/build/intermediates/aar_metadata/release/writeReleaseAarMetadata/aar-metadata.properties +0 -7
- package/android/build/intermediates/annotation_processor_list/release/javaPreCompileRelease/annotationProcessors.json +0 -1
- package/android/build/intermediates/annotations_typedef_file/release/extractReleaseAnnotations/typedefs.txt +0 -0
- package/android/build/intermediates/compile_r_class_jar/release/generateReleaseRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/release/generateReleaseRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/mergeReleaseAssets/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml +0 -2
- package/android/build/intermediates/incremental/release/packageReleaseResources/compile-file-map.properties +0 -1
- package/android/build/intermediates/incremental/release/packageReleaseResources/merger.xml +0 -2
- package/android/build/intermediates/incremental/release-mergeJavaRes/merge-state +0 -0
- package/android/build/intermediates/java_res/release/processReleaseJavaRes/out/META-INF/expo-observe_release.kotlin_module +0 -0
- package/android/build/intermediates/javac/release/compileReleaseJavaWithJavac/classes/expo/modules/observe/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/release/parseReleaseLocalResources/R-def.txt +0 -2
- package/android/build/intermediates/manifest_merge_blame_file/release/processReleaseManifest/manifest-merger-blame-release-report.txt +0 -9
- package/android/build/intermediates/merged_java_res/release/mergeReleaseJavaResource/feature-expo-observe.jar +0 -0
- package/android/build/intermediates/merged_manifest/release/processReleaseManifest/AndroidManifest.xml +0 -7
- package/android/build/intermediates/nested_resources_validation_report/release/generateReleaseResources/nestedResourcesValidationReport.txt +0 -1
- package/android/build/intermediates/symbol_list_with_package_name/release/generateReleaseRFile/package-aware-r.txt +0 -1
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.s +0 -1
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileReleaseKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-release-report.txt +0 -14
- package/android/build/tmp/compileReleaseJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/release/META-INF/expo-observe_release.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/BaseObservabilityManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/BaseObservabilityManager$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/BaseObservabilityManager$cleanup$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/BaseObservabilityManager$dispatchUnsentLogs$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/BaseObservabilityManager$dispatchUnsentMetrics$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/BaseObservabilityManager$dispatchUnsentSpans$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/BaseObservabilityManager.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/BundleDefaults$__Pika.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/BundleDefaults.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/Config$__Pika.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/Config.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ConstantsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/CursorRepairKt$repairCursorIfStale$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/CursorRepairKt$repairLogCursorIfStale$4.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/CursorRepairKt$repairMetricCursorIfStale$4.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/CursorRepairKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/DispatchResult$NonRetryableFailure.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/DispatchResult$PartialSuccess.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/DispatchResult$PayloadTooLarge.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/DispatchResult$RetryableFailure.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/DispatchResult$Success.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/DispatchResult.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/DispatchUtils$RetryGateState$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/DispatchUtils$RetryGateState.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/DispatchUtils.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/EASMetric$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/EASMetric$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/EASMetric.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/Event$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/Event$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/Event.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/EventDispatcher.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ExpoManifest.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ExpoManifestKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/LogEvent$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/LogEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/LogEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/Metadata$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/Metadata$AppUpdatesInfo$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/Metadata$AppUpdatesInfo$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/Metadata$AppUpdatesInfo.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/Metadata$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/Metadata.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTAnyValue$Arr.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTAnyValue$Bln.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTAnyValue$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTAnyValue$Dbl.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTAnyValue$Int64.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTAnyValue$KvList.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTAnyValue$Str.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTAnyValue.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTAnyValueSerializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTAttribute$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTAttribute$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTAttribute.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTDataPoint$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTDataPoint$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTDataPoint.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTEvent$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTGauge$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTGauge$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTGauge.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTKeyValue$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTKeyValue$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTKeyValue.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTLogRecord$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTLogRecord$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTLogRecord.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTLogsRequestBody$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTLogsRequestBody$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTLogsRequestBody.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTMetadata$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTMetadata$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTMetadata.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTMetric$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTMetric$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTMetric.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTPartialSuccess$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTPartialSuccess$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTPartialSuccess.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTRequestBody$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTRequestBody$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTRequestBody.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTResourceLogs$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTResourceLogs$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTResourceLogs.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTResourceSpans$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTResourceSpans$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTResourceSpans.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTScope$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTScope$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTScope.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTScopeLogs$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTScopeLogs$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTScopeLogs.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTScopeMetrics$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTScopeMetrics$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTScopeMetrics.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTScopeSpans$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTScopeSpans$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTScopeSpans.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTServiceResponse$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTServiceResponse$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTServiceResponse.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTSpan$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTSpan$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTSpan.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTSpanEvent$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTSpanEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTSpanEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTSpanStatus$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTSpanStatus$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTSpanStatus.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTStringValue$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTStringValue$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTStringValue.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTTracesRequestBody$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTTracesRequestBody$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OTTracesRequestBody.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObservabilityBackgroundWorker$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObservabilityBackgroundWorker$doWork$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObservabilityBackgroundWorker.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObservabilityManager.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObserveModule$definition$lambda$9$$inlined$Constant$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObserveModule$definition$lambda$9$$inlined$Coroutine$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObserveModule$definition$lambda$9$$inlined$Function$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObserveModule$definition$lambda$9$$inlined$Function$2.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObserveModule$definition$lambda$9$$inlined$Function$3.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObserveModule$definition$lambda$9$$inlined$Function$4.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObserveModule$definition$lambda$9$$inlined$FunctionWithoutArgs$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObserveModule$definition$lambda$9$$inlined$OnActivityEntersBackground$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObserveModule$definition$lambda$9$$inlined$OnCreate$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObserveModule.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObservePreferences.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/ObservePreferencesKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/OpenTelemetryKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/PersistedBundleDefaults$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/PersistedBundleDefaults$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/PersistedBundleDefaults.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/PersistedConfig$$serializer.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/PersistedConfig$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/PersistedConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/SpanBatch.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/SpanDispatchDisposition.class +0 -0
- package/android/build/tmp/kotlin-classes/release/expo/modules/observe/SpanDispatchOutcomeKt.class +0 -0
- package/android/build/tmp/publishReleasePublicationToNPMPackageRepository/module-maven-metadata.xml +0 -13
- package/android/build/tmp/sourceReleaseJar/MANIFEST.MF +0 -2
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1-sources.jar +0 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.aar +0 -0
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.module +0 -154
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.module.md5 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.pom +0 -106
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/observe/expo.modules.observe/58.0.1/expo.modules.observe-58.0.1.pom.sha512 +0 -1
package/.npmignore
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,20 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 58.0.4 — 2026-09-15
|
|
14
|
+
|
|
15
|
+
### 🎉 New features
|
|
16
|
+
|
|
17
|
+
- Add a `networkTraces` option to `configure` to record network requests as trace spans, with an optional capture filter. Recording is opt-in, so it never adds to your event usage unless you turn it on. ([#48891](https://github.com/expo/expo/pull/48891) by [@tsapeta](https://github.com/tsapeta))
|
|
18
|
+
|
|
19
|
+
## 58.0.3 — 2026-09-14
|
|
20
|
+
|
|
21
|
+
_This version does not introduce any user-facing changes._
|
|
22
|
+
|
|
23
|
+
## 58.0.2 — 2026-09-14
|
|
24
|
+
|
|
25
|
+
_This version does not introduce any user-facing changes._
|
|
26
|
+
|
|
13
27
|
## 58.0.1 — 2026-09-14
|
|
14
28
|
|
|
15
29
|
_This version does not introduce any user-facing changes._
|
package/build/index.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ export { ObserveRoot } from './ObserveRoot';
|
|
|
12
12
|
export { Observe };
|
|
13
13
|
/** @deprecated Import the named `Observe` export instead. */
|
|
14
14
|
export default Observe;
|
|
15
|
-
export type { ObserveAttribute, ObserveAttributes, ObserveConfig, ObserveIntegrationsConfig, ObserveModule, ObserveModuleEvents, ObserveNavigationIntegrationConfig, } from './types';
|
|
15
|
+
export type { ObserveAttribute, ObserveAttributes, ObserveConfig, ObserveIntegrationsConfig, ObserveModule, ObserveModuleEvents, ObserveNavigationIntegrationConfig, ObserveNetworkTracesConfig, } from './types';
|
|
16
16
|
export { useObserve } from './useObserve';
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":[null],"names":["Observe","default","AppMetrics","ObserveErrorBoundary","ObserveInteractiveMarker","ObserveRoot","setBundleDefaults","environment","process","env","NODE_ENV","isJsDev","__DEV__","useObserve"],"mappings":"AAAA,OAAOA,aAAa,WAAW;AAE/B;;CAEC,GACD,SAASC,WAAWC,UAAU,QAAQ,mBAAmB;AAWzD,SAASC,oBAAoB,QAAQ,yBAAyB;AAK9D,SAASC,wBAAwB,QAAQ,6BAA6B;AAEtE,SAASC,WAAW,QAAQ,gBAAgB;AAE5CL,QAAQM,iBAAiB,CAAC;IACxBC,aAAaC,QAAQC,GAAG,CAACC,QAAQ,IAAI;IACrCC,SAAS,CAAC,CAACC;AACb;AAEA,SAASZ,OAAO,GAAG;AAEnB,2DAA2D,GAC3D,eAAeA,QAAQ;
|
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":[null],"names":["Observe","default","AppMetrics","ObserveErrorBoundary","ObserveInteractiveMarker","ObserveRoot","setBundleDefaults","environment","process","env","NODE_ENV","isJsDev","__DEV__","useObserve"],"mappings":"AAAA,OAAOA,aAAa,WAAW;AAE/B;;CAEC,GACD,SAASC,WAAWC,UAAU,QAAQ,mBAAmB;AAWzD,SAASC,oBAAoB,QAAQ,yBAAyB;AAK9D,SAASC,wBAAwB,QAAQ,6BAA6B;AAEtE,SAASC,WAAW,QAAQ,gBAAgB;AAE5CL,QAAQM,iBAAiB,CAAC;IACxBC,aAAaC,QAAQC,GAAG,CAACC,QAAQ,IAAI;IACrCC,SAAS,CAAC,CAACC;AACb;AAEA,SAASZ,OAAO,GAAG;AAEnB,2DAA2D,GAC3D,eAAeA,QAAQ;AAYvB,SAASa,UAAU,QAAQ,eAAe"}
|
package/build/module.js
CHANGED
|
@@ -5,6 +5,35 @@ import { isRouterInstalled } from './integrations/expo-router/router';
|
|
|
5
5
|
import { initReactNavigationIntegration } from './integrations/react-navigation/init';
|
|
6
6
|
import { isReactNavigationInstalled } from './integrations/react-navigation/reactNavigation';
|
|
7
7
|
import { reportCaughtError } from './reportCaughtError';
|
|
8
|
+
/**
|
|
9
|
+
* Normalizes the `networkTraces` sugar (`true` / `false` / `{ enabled, filter }`) into the config
|
|
10
|
+
* shape the native producer persists. `configure` is a full replacement, so an absent
|
|
11
|
+
* `networkTraces` resets to the default: disabled, no filter.
|
|
12
|
+
*/ function networkTracesConfigFromOption(networkTraces) {
|
|
13
|
+
const option = networkTraces ?? false;
|
|
14
|
+
if (typeof option === 'boolean') {
|
|
15
|
+
return {
|
|
16
|
+
enabled: option
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
if (__DEV__) {
|
|
20
|
+
// Hosts are compared against the URL's host, so a full URL or a host:port pair matches
|
|
21
|
+
// nothing and silently records zero traces.
|
|
22
|
+
const malformed = option.filter?.hosts?.filter((host)=>/[/:]/.test(host));
|
|
23
|
+
if (malformed?.length) {
|
|
24
|
+
console.warn(`[expo-observe] \`networkTraces.filter.hosts\` expects bare hostnames, but got ${malformed.join(', ')}. ` + 'These match no request, so nothing will be recorded for them. Use "api.myapp.com" rather than "https://api.myapp.com/".');
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
// The object form records by default: passing a filter means "record these", so `enabled`
|
|
28
|
+
// only has to be spelled out to turn recording off while keeping the filter configured.
|
|
29
|
+
const enabled = option.enabled ?? true;
|
|
30
|
+
return option.filter != null ? {
|
|
31
|
+
enabled,
|
|
32
|
+
filter: option.filter
|
|
33
|
+
} : {
|
|
34
|
+
enabled
|
|
35
|
+
};
|
|
36
|
+
}
|
|
8
37
|
const native = requireNativeModule('ExpoObserve');
|
|
9
38
|
const Observe = new Proxy(native, {
|
|
10
39
|
get (target, prop, receiver) {
|
|
@@ -13,6 +42,10 @@ const Observe = new Proxy(native, {
|
|
|
13
42
|
// The handler is already installed at this point (it installs on import), so this only
|
|
14
43
|
// toggles whether it records anything.
|
|
15
44
|
setErrorHandlerEnabled(config.errorHandlingEnabled ?? true);
|
|
45
|
+
// Recording is gated in expo-app-metrics (the producer side), so the setting travels
|
|
46
|
+
// there rather than into the native `configure` payload. Applies to future captures
|
|
47
|
+
// only; spans persisted earlier in the launch still dispatch.
|
|
48
|
+
AppMetrics.setNetworkTracesConfig(networkTracesConfigFromOption(config.networkTraces));
|
|
16
49
|
const routerEnabled = !!config.integrations?.['expo-router'];
|
|
17
50
|
const reactNavigationEnabled = !!config.integrations?.['react-navigation'];
|
|
18
51
|
if (routerEnabled && !isRouterInstalled) {
|
package/build/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["module.ts"],"sourcesContent":[null],"names":["requireNativeModule","AppMetrics","setErrorHandlerEnabled","initRouterIntegration","isRouterInstalled","initReactNavigationIntegration","isReactNavigationInstalled","reportCaughtError","native","Observe","Proxy","get","target","prop","receiver","config","errorHandlingEnabled","routerEnabled","integrations","reactNavigationEnabled","
|
|
1
|
+
{"version":3,"sources":["module.ts"],"sourcesContent":[null],"names":["requireNativeModule","AppMetrics","setErrorHandlerEnabled","initRouterIntegration","isRouterInstalled","initReactNavigationIntegration","isReactNavigationInstalled","reportCaughtError","networkTracesConfigFromOption","networkTraces","option","enabled","__DEV__","malformed","filter","hosts","host","test","length","console","warn","join","native","Observe","Proxy","get","target","prop","receiver","config","errorHandlingEnabled","setNetworkTracesConfig","routerEnabled","integrations","reactNavigationEnabled","shouldInitRouterIntegration","shouldInitReactNavigationIntegration","configure","error","name","callback","registerIntegrationImpl","Object","keys","includes","Reflect","getIntegrations","subscription","addListener","remove"],"mappings":"AAAA,SAASA,mBAAmB,QAAQ,OAAO;AAC3C,OAAOC,cAAcC,sBAAsB,QAAQ,mBAAmB;AAEtE,SAASC,qBAAqB,QAAQ,kCAAkC;AACxE,SAASC,iBAAiB,QAAQ,oCAAoC;AACtE,SAASC,8BAA8B,QAAQ,uCAAuC;AACtF,SAASC,0BAA0B,QAAQ,kDAAkD;AAC7F,SAASC,iBAAiB,QAAQ,sBAAsB;AAGxD;;;;CAIC,GACD,SAASC,8BAA8BC,aAA6C;IAClF,MAAMC,SAASD,iBAAiB;IAChC,IAAI,OAAOC,WAAW,WAAW;QAC/B,OAAO;YAAEC,SAASD;QAAO;IAC3B;IACA,IAAIE,SAAS;QACX,uFAAuF;QACvF,4CAA4C;QAC5C,MAAMC,YAAYH,OAAOI,MAAM,EAAEC,OAAOD,OAAO,CAACE,OAAS,OAAOC,IAAI,CAACD;QACrE,IAAIH,WAAWK,QAAQ;YACrBC,QAAQC,IAAI,CACV,CAAC,8EAA8E,EAAEP,UAAUQ,IAAI,CAAC,MAAM,EAAE,CAAC,GACvG;QAEN;IACF;IACA,0FAA0F;IAC1F,wFAAwF;IACxF,MAAMV,UAAUD,OAAOC,OAAO,IAAI;IAClC,OAAOD,OAAOI,MAAM,IAAI,OAAO;QAAEH;QAASG,QAAQJ,OAAOI,MAAM;IAAC,IAAI;QAAEH;IAAQ;AAChF;AAEA,MAAMW,SAAStB,oBAAmC;AAElD,MAAMuB,UAAyB,IAAIC,MAAMF,QAAQ;IAC/CG,KAAIC,MAAM,EAAEC,IAAI,EAAEC,QAAQ;QACxB,IAAID,SAAS,aAAa;YACxB,OAAO,CAACE;gBACN,uFAAuF;gBACvF,uCAAuC;gBACvC3B,uBAAuB2B,OAAOC,oBAAoB,IAAI;gBAEtD,qFAAqF;gBACrF,oFAAoF;gBACpF,8DAA8D;gBAC9D7B,WAAW8B,sBAAsB,CAACvB,8BAA8BqB,OAAOpB,aAAa;gBAEpF,MAAMuB,gBAAgB,CAAC,CAACH,OAAOI,YAAY,EAAE,CAAC,cAAc;gBAC5D,MAAMC,yBAAyB,CAAC,CAACL,OAAOI,YAAY,EAAE,CAAC,mBAAmB;gBAE1E,IAAID,iBAAiB,CAAC5B,mBAAmB;oBACvCe,QAAQC,IAAI,CACV;gBAEJ;gBACA,IAAIc,0BAA0B,CAAC5B,4BAA4B;oBACzDa,QAAQC,IAAI,CACV;gBAEJ;gBAEA,MAAMe,8BAA8BH,iBAAiB5B;gBACrD,MAAMgC,uCACJF,0BAA0B5B;gBAE5B,IAAI6B,+BAA+BC,sCAAsC;oBACvEjB,QAAQC,IAAI,CACV,wFACE;gBAEN;gBAEA,IAAIe,6BAA6B;oBAC/BhC,sBAAsB0B,OAAOI,YAAY,EAAE,CAAC,cAAc;gBAC5D,OAAO,IAAIG,sCAAsC;oBAC/C/B,+BAA+BwB,OAAOI,YAAY,EAAE,CAAC,mBAAmB;gBAC1E;gBACA,OAAOP,OAAOW,SAAS,CAACR;YAC1B;QACF;QAEA,IAAIF,SAAS,eAAe;YAC1B,OAAO,CAACW,QAAmB/B,kBAAkB+B;QAC/C;QAEA,IAAIX,SAAS,uBAAuB;YAClC,OAAO,CACLY,MACAC,WACGC,wBAAwBf,QAAQa,MAAMC;QAC7C;QAEA,wGAAwG;QACxG,iGAAiG;QACjG,iGAAiG;QACjG,wEAAwE;QACxE,IAAI,OAAOb,SAAS,YAAY,CAACe,OAAOC,IAAI,CAACjB,QAAQkB,QAAQ,CAACjB,OAAO;YACnE,OAAOkB,QAAQpB,GAAG,CAACxB,YAAY0B;QACjC;QACA,OAAOkB,QAAQpB,GAAG,CAACC,QAAQC,MAAMC;IACnC;AACF;AAEA,OAAO,SAASa,wBACdf,MAA8D,EAC9Da,IAAO,EACPC,QAAwD;IAExD,MAAMP,eAAeP,OAAOoB,eAAe;IAC3C,IAAIb,cAAc;QAChB,IAAIA,YAAY,CAACM,KAAK,EAAE;YACtBC,SAASP,YAAY,CAACM,KAAK;QAC7B;QACA;IACF;IAEA,MAAMQ,eAAerB,OAAOsB,WAAW,CAAC,aAAa,CAAC,EAAEf,YAAY,EAAE;QACpEc,aAAaE,MAAM;QACnB,IAAIhB,cAAc,CAACM,KAAK,EAAE;YACxBC,SAASP,YAAY,CAACM,KAAK;QAC7B;IACF;AACF;AAEA,eAAehB,QAAQ"}
|
package/build/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NativeModule } from 'expo';
|
|
2
|
-
import type { LogAttributeValue, LogEventOptions, MetricAttributes } from 'expo-app-metrics';
|
|
2
|
+
import type { LogAttributeValue, LogEventOptions, MetricAttributes, NetworkRequestFilter } from 'expo-app-metrics';
|
|
3
3
|
/**
|
|
4
4
|
* Value types accepted as attribute values in `setGlobalAttributes` and the
|
|
5
5
|
* other Observe APIs. Strings, numbers, and booleans are stored as typed
|
|
@@ -78,6 +78,32 @@ export type ObserveConfig = {
|
|
|
78
78
|
* [integrate your own package](/eas/observe/integrations/third-party/).
|
|
79
79
|
*/
|
|
80
80
|
integrations?: ObserveIntegrationsConfig;
|
|
81
|
+
/**
|
|
82
|
+
* Whether network requests are recorded as trace spans. Pass `true` to record every request,
|
|
83
|
+
* or an object to record only the ones matching a filter.
|
|
84
|
+
*
|
|
85
|
+
* Off by default, because each recorded span counts toward your event quota. This controls
|
|
86
|
+
* recording, not just export: a request that's turned off or filtered out never reaches the
|
|
87
|
+
* local database. It applies to future requests only, so anything recorded earlier in the
|
|
88
|
+
* launch still gets sent. The setting persists across launches.
|
|
89
|
+
*
|
|
90
|
+
* @default false
|
|
91
|
+
*/
|
|
92
|
+
networkTraces?: boolean | ObserveNetworkTracesConfig;
|
|
93
|
+
};
|
|
94
|
+
export type ObserveNetworkTracesConfig = {
|
|
95
|
+
/**
|
|
96
|
+
* Whether network requests are recorded at all. Set it to `false` to keep a filter configured
|
|
97
|
+
* while recording nothing.
|
|
98
|
+
*
|
|
99
|
+
* @default true
|
|
100
|
+
*/
|
|
101
|
+
enabled?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Only requests matching the filter are recorded. An omitted field matches every request; an
|
|
104
|
+
* empty array matches none.
|
|
105
|
+
*/
|
|
106
|
+
filter?: NetworkRequestFilter | null;
|
|
81
107
|
};
|
|
82
108
|
export type ObserveNavigationIntegrationConfig = {
|
|
83
109
|
/**
|
package/build/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["types.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["types.ts"],"sourcesContent":[null],"names":[],"mappings":"AAqKA,WAyJC"}
|
package/expo-module.config.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2573ff6df1611260e5e4891bc514037f
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6fd5316f10e456c0a4944aa5cf07c10dc7a6eaf6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7cf6c16d146a11812c1c74b58cada5ed70e1224719c4b4e72aefa67bfc792e1c
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
586058430ae58ffbdf3bd1171938847105471372d22dcada0842ae7c023df0f533dc2bee888b1edb2d5fe9212a4d6968c81151c5ca445f1c5c49297ab5debc6e
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b497d611b14506fc18a86e6714c1f746
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
356a90fbfba518bf66c7628c1892a7e1da3894ed
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
00f75fc9681497c42a5bd1e4ed2d6b37e874cbef39af9ce4edecce57bfbc3dd6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9fc3ea04f9d80fa21791aaa9b6f4e6739de87946d3e8fc897602c39ac2d7ab63926b366486e8f6929073927d894c6d7deeefd26579a7b0e32f1b7e3aca4157fd
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "expo.modules.observe",
|
|
5
5
|
"module": "expo.modules.observe",
|
|
6
|
-
"version": "58.0.
|
|
6
|
+
"version": "58.0.4",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.observe-58.0.
|
|
28
|
-
"url": "expo.modules.observe-58.0.
|
|
29
|
-
"size":
|
|
30
|
-
"sha512": "
|
|
31
|
-
"sha256": "
|
|
32
|
-
"sha1": "
|
|
33
|
-
"md5": "
|
|
27
|
+
"name": "expo.modules.observe-58.0.4.aar",
|
|
28
|
+
"url": "expo.modules.observe-58.0.4.aar",
|
|
29
|
+
"size": 302567,
|
|
30
|
+
"sha512": "9fc3ea04f9d80fa21791aaa9b6f4e6739de87946d3e8fc897602c39ac2d7ab63926b366486e8f6929073927d894c6d7deeefd26579a7b0e32f1b7e3aca4157fd",
|
|
31
|
+
"sha256": "00f75fc9681497c42a5bd1e4ed2d6b37e874cbef39af9ce4edecce57bfbc3dd6",
|
|
32
|
+
"sha1": "356a90fbfba518bf66c7628c1892a7e1da3894ed",
|
|
33
|
+
"md5": "b497d611b14506fc18a86e6714c1f746"
|
|
34
34
|
}
|
|
35
35
|
]
|
|
36
36
|
},
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"group": "expo.modules.appmetrics",
|
|
62
62
|
"module": "expo.modules.appmetrics",
|
|
63
63
|
"version": {
|
|
64
|
-
"requires": "58.0.
|
|
64
|
+
"requires": "58.0.2"
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
{
|
|
@@ -120,13 +120,13 @@
|
|
|
120
120
|
],
|
|
121
121
|
"files": [
|
|
122
122
|
{
|
|
123
|
-
"name": "expo.modules.observe-58.0.
|
|
124
|
-
"url": "expo.modules.observe-58.0.
|
|
125
|
-
"size":
|
|
126
|
-
"sha512": "
|
|
127
|
-
"sha256": "
|
|
128
|
-
"sha1": "
|
|
129
|
-
"md5": "
|
|
123
|
+
"name": "expo.modules.observe-58.0.4.aar",
|
|
124
|
+
"url": "expo.modules.observe-58.0.4.aar",
|
|
125
|
+
"size": 302567,
|
|
126
|
+
"sha512": "9fc3ea04f9d80fa21791aaa9b6f4e6739de87946d3e8fc897602c39ac2d7ab63926b366486e8f6929073927d894c6d7deeefd26579a7b0e32f1b7e3aca4157fd",
|
|
127
|
+
"sha256": "00f75fc9681497c42a5bd1e4ed2d6b37e874cbef39af9ce4edecce57bfbc3dd6",
|
|
128
|
+
"sha1": "356a90fbfba518bf66c7628c1892a7e1da3894ed",
|
|
129
|
+
"md5": "b497d611b14506fc18a86e6714c1f746"
|
|
130
130
|
}
|
|
131
131
|
]
|
|
132
132
|
},
|
|
@@ -140,13 +140,13 @@
|
|
|
140
140
|
},
|
|
141
141
|
"files": [
|
|
142
142
|
{
|
|
143
|
-
"name": "expo.modules.observe-58.0.
|
|
144
|
-
"url": "expo.modules.observe-58.0.
|
|
143
|
+
"name": "expo.modules.observe-58.0.4-sources.jar",
|
|
144
|
+
"url": "expo.modules.observe-58.0.4-sources.jar",
|
|
145
145
|
"size": 27851,
|
|
146
|
-
"sha512": "
|
|
147
|
-
"sha256": "
|
|
148
|
-
"sha1": "
|
|
149
|
-
"md5": "
|
|
146
|
+
"sha512": "586058430ae58ffbdf3bd1171938847105471372d22dcada0842ae7c023df0f533dc2bee888b1edb2d5fe9212a4d6968c81151c5ca445f1c5c49297ab5debc6e",
|
|
147
|
+
"sha256": "7cf6c16d146a11812c1c74b58cada5ed70e1224719c4b4e72aefa67bfc792e1c",
|
|
148
|
+
"sha1": "6fd5316f10e456c0a4944aa5cf07c10dc7a6eaf6",
|
|
149
|
+
"md5": "2573ff6df1611260e5e4891bc514037f"
|
|
150
150
|
}
|
|
151
151
|
]
|
|
152
152
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
796aec5f41f09d3fa8ccae194d05edaf
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f1d6c813ce61e56e07c85935382eea0c53e0634f
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
f3858b3ef31922bb90f31c846caadfaa0ae9e1026c33ebcfb9877e53c9fd9c97
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
59462a08f8e0021f2997c7f5c29dd2b1a5ba05586d6e43949e9d1e50e104592d65d24b49ff889069b67f99864df84c70219d1362018ed4f38aafa090c27229be
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>expo.modules.observe</groupId>
|
|
11
11
|
<artifactId>expo.modules.observe</artifactId>
|
|
12
|
-
<version>58.0.
|
|
12
|
+
<version>58.0.4</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.observe</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
<dependency>
|
|
53
53
|
<groupId>expo.modules.appmetrics</groupId>
|
|
54
54
|
<artifactId>expo.modules.appmetrics</artifactId>
|
|
55
|
-
<version>58.0.
|
|
55
|
+
<version>58.0.2</version>
|
|
56
56
|
<scope>runtime</scope>
|
|
57
57
|
</dependency>
|
|
58
58
|
<dependency>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2973387cc62930289616df1a721ad6ec
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d206945fe12a9702bc3927015bfe6ddbd7dc2090
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ab3c02e553b193e7e7b59c55633f7401dd83f38f4a76593430512fcaac21f58a
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
aa618e7e00e12d2ca7c7676044f7d72f4c3ead6ba18148a47e353b27157be78ee7dc50e267fa83fc69bc9d454040a29ea12f8d12a4a2dd29cd635ed53876a4ec
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>expo.modules.observe</groupId>
|
|
4
4
|
<artifactId>expo.modules.observe</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>58.0.
|
|
7
|
-
<release>58.0.
|
|
6
|
+
<latest>58.0.4</latest>
|
|
7
|
+
<release>58.0.4</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>58.0.
|
|
9
|
+
<version>58.0.4</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20260915202029</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
7465da64b95dec4d5b9fda3cb113419d
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
e62d883c07f21133a91e064d6ed9f2d186f36a1c
|
package/local-maven-repo/expo/modules/observe/expo.modules.observe/maven-metadata.xml.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
04095cd5c55fb31750a231b24c3f89a1a829b889c11a000e13ea1ed2c9227fb5
|
package/local-maven-repo/expo/modules/observe/expo.modules.observe/maven-metadata.xml.sha512
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
cd65bdf5ce83fd5071006c2d2c2ab935c77646a7d7d94c0eff22c76c954fba18bffe6e53ba4d27bffeff59e4d0bc3dff7453ffd3d75940e7e68f63bac7da9d6a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-observe",
|
|
3
|
-
"version": "58.0.
|
|
3
|
+
"version": "58.0.4",
|
|
4
4
|
"description": "Expo module that dispatches collected app metrics to EAS Observe",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"EAS",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"expo-app-metrics": "~58.0.
|
|
45
|
+
"expo-app-metrics": "~58.0.2",
|
|
46
46
|
"expo-eas-client": "~58.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@react-navigation/native": "^7.1.33",
|
|
50
50
|
"@testing-library/react-native": "^13.3.0",
|
|
51
51
|
"@types/react": "~19.2.0",
|
|
52
|
-
"expo": "58.0.0-preview.
|
|
52
|
+
"expo": "58.0.0-preview.2",
|
|
53
53
|
"expo-module-scripts": "56.0.3"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"title": "Expo Observe",
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "313e67f5c9dfb16f9deca74a271cd1d4f33a6f82",
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "expo-build src",
|
|
74
74
|
"clean": "expo-module clean",
|
package/src/index.ts
CHANGED
package/src/module.ts
CHANGED
|
@@ -8,6 +8,33 @@ import { isReactNavigationInstalled } from './integrations/react-navigation/reac
|
|
|
8
8
|
import { reportCaughtError } from './reportCaughtError';
|
|
9
9
|
import type { ObserveConfig, ObserveIntegrationsConfig, ObserveModule } from './types';
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Normalizes the `networkTraces` sugar (`true` / `false` / `{ enabled, filter }`) into the config
|
|
13
|
+
* shape the native producer persists. `configure` is a full replacement, so an absent
|
|
14
|
+
* `networkTraces` resets to the default: disabled, no filter.
|
|
15
|
+
*/
|
|
16
|
+
function networkTracesConfigFromOption(networkTraces: ObserveConfig['networkTraces']) {
|
|
17
|
+
const option = networkTraces ?? false;
|
|
18
|
+
if (typeof option === 'boolean') {
|
|
19
|
+
return { enabled: option };
|
|
20
|
+
}
|
|
21
|
+
if (__DEV__) {
|
|
22
|
+
// Hosts are compared against the URL's host, so a full URL or a host:port pair matches
|
|
23
|
+
// nothing and silently records zero traces.
|
|
24
|
+
const malformed = option.filter?.hosts?.filter((host) => /[/:]/.test(host));
|
|
25
|
+
if (malformed?.length) {
|
|
26
|
+
console.warn(
|
|
27
|
+
`[expo-observe] \`networkTraces.filter.hosts\` expects bare hostnames, but got ${malformed.join(', ')}. ` +
|
|
28
|
+
'These match no request, so nothing will be recorded for them. Use "api.myapp.com" rather than "https://api.myapp.com/".'
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
// The object form records by default: passing a filter means "record these", so `enabled`
|
|
33
|
+
// only has to be spelled out to turn recording off while keeping the filter configured.
|
|
34
|
+
const enabled = option.enabled ?? true;
|
|
35
|
+
return option.filter != null ? { enabled, filter: option.filter } : { enabled };
|
|
36
|
+
}
|
|
37
|
+
|
|
11
38
|
const native = requireNativeModule<ObserveModule>('ExpoObserve');
|
|
12
39
|
|
|
13
40
|
const Observe: ObserveModule = new Proxy(native, {
|
|
@@ -18,6 +45,11 @@ const Observe: ObserveModule = new Proxy(native, {
|
|
|
18
45
|
// toggles whether it records anything.
|
|
19
46
|
setErrorHandlerEnabled(config.errorHandlingEnabled ?? true);
|
|
20
47
|
|
|
48
|
+
// Recording is gated in expo-app-metrics (the producer side), so the setting travels
|
|
49
|
+
// there rather than into the native `configure` payload. Applies to future captures
|
|
50
|
+
// only; spans persisted earlier in the launch still dispatch.
|
|
51
|
+
AppMetrics.setNetworkTracesConfig(networkTracesConfigFromOption(config.networkTraces));
|
|
52
|
+
|
|
21
53
|
const routerEnabled = !!config.integrations?.['expo-router'];
|
|
22
54
|
const reactNavigationEnabled = !!config.integrations?.['react-navigation'];
|
|
23
55
|
|
package/src/types.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { NativeModule } from 'expo';
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
LogAttributeValue,
|
|
4
|
+
LogEventOptions,
|
|
5
|
+
MetricAttributes,
|
|
6
|
+
NetworkRequestFilter,
|
|
7
|
+
} from 'expo-app-metrics';
|
|
3
8
|
|
|
4
9
|
/**
|
|
5
10
|
* Value types accepted as attribute values in `setGlobalAttributes` and the
|
|
@@ -81,6 +86,33 @@ export type ObserveConfig = {
|
|
|
81
86
|
* [integrate your own package](/eas/observe/integrations/third-party/).
|
|
82
87
|
*/
|
|
83
88
|
integrations?: ObserveIntegrationsConfig;
|
|
89
|
+
/**
|
|
90
|
+
* Whether network requests are recorded as trace spans. Pass `true` to record every request,
|
|
91
|
+
* or an object to record only the ones matching a filter.
|
|
92
|
+
*
|
|
93
|
+
* Off by default, because each recorded span counts toward your event quota. This controls
|
|
94
|
+
* recording, not just export: a request that's turned off or filtered out never reaches the
|
|
95
|
+
* local database. It applies to future requests only, so anything recorded earlier in the
|
|
96
|
+
* launch still gets sent. The setting persists across launches.
|
|
97
|
+
*
|
|
98
|
+
* @default false
|
|
99
|
+
*/
|
|
100
|
+
networkTraces?: boolean | ObserveNetworkTracesConfig;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
export type ObserveNetworkTracesConfig = {
|
|
104
|
+
/**
|
|
105
|
+
* Whether network requests are recorded at all. Set it to `false` to keep a filter configured
|
|
106
|
+
* while recording nothing.
|
|
107
|
+
*
|
|
108
|
+
* @default true
|
|
109
|
+
*/
|
|
110
|
+
enabled?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Only requests matching the filter are recorded. An omitted field matches every request; an
|
|
113
|
+
* empty array matches none.
|
|
114
|
+
*/
|
|
115
|
+
filter?: NetworkRequestFilter | null;
|
|
84
116
|
};
|
|
85
117
|
|
|
86
118
|
export type ObserveNavigationIntegrationConfig = {
|
package/android/build/generated/source/buildConfig/release/expo/modules/observe/BuildConfig.java
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Automatically generated file. DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
package expo.modules.observe;
|
|
5
|
-
|
|
6
|
-
public final class BuildConfig {
|
|
7
|
-
public static final boolean DEBUG = false;
|
|
8
|
-
public static final String LIBRARY_PACKAGE_NAME = "expo.modules.observe";
|
|
9
|
-
public static final String BUILD_TYPE = "release";
|
|
10
|
-
// Field from default config.
|
|
11
|
-
public static final String EXPO_OBSERVE_VERSION = "58.0.1";
|
|
12
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"artifactType": {
|
|
4
|
-
"type": "AAPT_FRIENDLY_MERGED_MANIFESTS",
|
|
5
|
-
"kind": "Directory"
|
|
6
|
-
},
|
|
7
|
-
"applicationId": "expo.modules.observe",
|
|
8
|
-
"variantName": "release",
|
|
9
|
-
"elements": [
|
|
10
|
-
{
|
|
11
|
-
"type": "SINGLE",
|
|
12
|
-
"filters": [],
|
|
13
|
-
"attributes": [],
|
|
14
|
-
"outputFile": "AndroidManifest.xml"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"elementType": "File"
|
|
18
|
-
}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/alanhughes/Work/expo/packages/expo-observe/android/src/main/assets"/></dataSet><dataSet config="release" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/alanhughes/Work/expo/packages/expo-observe/android/src/release/assets"/></dataSet></merger>
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/alanhughes/Work/expo/packages/expo-observe/android/src/main/jniLibs"/></dataSet><dataSet config="release" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/alanhughes/Work/expo/packages/expo-observe/android/src/release/jniLibs"/></dataSet></merger>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
#Mon Sep 14 16:00:28 IST 2026
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/alanhughes/Work/expo/packages/expo-observe/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!<dir>navigation"><source path="/Users/alanhughes/Work/expo/packages/expo-observe/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="release$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/alanhughes/Work/expo/packages/expo-observe/android/src/release/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="release" generated-set="release$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!<dir>navigation"><source path="/Users/alanhughes/Work/expo/packages/expo-observe/android/src/release/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"/><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!<dir>navigation"/><mergedItems/></merger>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|