@barrysolomon/mobile-react-native 0.4.0-alpha → 0.4.1-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/android/build.gradle +1 -1
- package/android/gradle.properties +2 -2
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ existing native Android (`otel-android-mobile`) and iOS (`otel-ios-mobile`)
|
|
|
5
5
|
SDKs — native owns buffering, policy evaluation, OTLP export, and crash
|
|
6
6
|
recovery. JS stays thin.
|
|
7
7
|
|
|
8
|
-
**Version:** `0.4.
|
|
8
|
+
**Version:** `0.4.1-alpha`, published under the `alpha` dist-tag.
|
|
9
9
|
|
|
10
10
|
**Status:** Validated end-to-end in Dash0. All 4 platforms (Android native,
|
|
11
11
|
iOS native, RN Android, RN iOS) have a UAT matrix of 12/12 cells green.
|
|
@@ -17,7 +17,7 @@ iOS native, RN Android, RN iOS) have a UAT matrix of 12/12 cells green.
|
|
|
17
17
|
# resolves the OLD 0.1.0-alpha — always pin the dist-tag or version):
|
|
18
18
|
npm install @barrysolomon/mobile-react-native@alpha
|
|
19
19
|
# or pin the exact version:
|
|
20
|
-
# npm install @barrysolomon/mobile-react-native@0.4.
|
|
20
|
+
# npm install @barrysolomon/mobile-react-native@0.4.1-alpha
|
|
21
21
|
|
|
22
22
|
cd ios && pod install
|
|
23
23
|
```
|
|
@@ -25,13 +25,13 @@ cd ios && pod install
|
|
|
25
25
|
This JS package wraps the native SDKs; install those too:
|
|
26
26
|
|
|
27
27
|
- **iOS** — add the Swift Package `https://github.com/barrysolomon/mobile-otel`
|
|
28
|
-
at tag `v0.4.
|
|
28
|
+
at tag `v0.4.1-alpha` to your app target, then copy
|
|
29
29
|
`OTelMobileCallSink.swift` (+ `BoundedLiveSpanStore.swift`) from this package
|
|
30
30
|
into your app target and call
|
|
31
31
|
`Dash0MobileModule.installSink { OTelMobileCallSink() }`. The pod intentionally
|
|
32
32
|
excludes the sink because it depends on the SwiftPM SDK delivered on the app
|
|
33
33
|
side.
|
|
34
|
-
- **Android** — `io.opentelemetry.android:mobile:0.4.
|
|
34
|
+
- **Android** — `io.opentelemetry.android:mobile:0.4.1-alpha` from GitHub
|
|
35
35
|
Packages (`https://maven.pkg.github.com/barrysolomon/mobile-otel`). As of
|
|
36
36
|
0.2.0-alpha the full module set (`mobile-core` + all
|
|
37
37
|
`mobile-instrumentation-*` modules) publishes there, so the dependency tree
|
package/android/build.gradle
CHANGED
|
@@ -97,7 +97,7 @@ ext.reactAndroidVersion = project.findProperty('Dash0Mobile_reactAndroidVersion'
|
|
|
97
97
|
// dependency strings (which silently drifted to 0.1.0-alpha vs the published
|
|
98
98
|
// 0.2.0-alpha and broke clean-.m2 CI while passing on caches that still had the
|
|
99
99
|
// old artifact).
|
|
100
|
-
ext.dash0SdkVersion = project.findProperty('Dash0Mobile_sdkVersion') ?: '0.4.
|
|
100
|
+
ext.dash0SdkVersion = project.findProperty('Dash0Mobile_sdkVersion') ?: '0.4.1-alpha'
|
|
101
101
|
|
|
102
102
|
dependencies {
|
|
103
103
|
implementation "com.facebook.react:react-android:$reactAndroidVersion"
|
|
@@ -11,9 +11,9 @@ org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
|
|
|
11
11
|
Dash0Mobile_standaloneTestBuild=true
|
|
12
12
|
|
|
13
13
|
# Version of the native Android SDK (io.opentelemetry.android:mobile) this module
|
|
14
|
-
# depends on. MUST match the version the repo publishes (currently 0.4.
|
|
14
|
+
# depends on. MUST match the version the repo publishes (currently 0.4.1-alpha).
|
|
15
15
|
# Single source of truth, read by build.gradle's dash0SdkVersion.
|
|
16
|
-
Dash0Mobile_sdkVersion=0.4.
|
|
16
|
+
Dash0Mobile_sdkVersion=0.4.1-alpha
|
|
17
17
|
|
|
18
18
|
# Pin the Kotlin version the module's build.gradle reads (it defaults to
|
|
19
19
|
# 2.1.20 and honors this property) so stdlib matches the compiler the
|
package/lib/index.js
CHANGED
|
@@ -105,7 +105,7 @@ function resolveNative() {
|
|
|
105
105
|
// callers and correlate issues to a specific bridge release. Keep this in
|
|
106
106
|
// sync with package.json on each release.
|
|
107
107
|
const DISTRO_NAME = 'dash0-react-native';
|
|
108
|
-
const DISTRO_VERSION = '0.4.
|
|
108
|
+
const DISTRO_VERSION = '0.4.1-alpha';
|
|
109
109
|
function resolveReactNativeVersion() {
|
|
110
110
|
try {
|
|
111
111
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@barrysolomon/mobile-react-native",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1-alpha",
|
|
4
4
|
"description": "Dash0 Mobile Observability SDK for React Native (JS/TS bridge). For native iOS use the Swift Package at https://github.com/barrysolomon/mobile-otel. For native Android use io.opentelemetry.android:mobile on GitHub Packages.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
package/src/index.ts
CHANGED
|
@@ -142,7 +142,7 @@ function resolveNative(): NativeDash0MobileModule | null {
|
|
|
142
142
|
// callers and correlate issues to a specific bridge release. Keep this in
|
|
143
143
|
// sync with package.json on each release.
|
|
144
144
|
const DISTRO_NAME = 'dash0-react-native';
|
|
145
|
-
const DISTRO_VERSION = '0.4.
|
|
145
|
+
const DISTRO_VERSION = '0.4.1-alpha';
|
|
146
146
|
|
|
147
147
|
function resolveReactNativeVersion(): string | undefined {
|
|
148
148
|
try {
|