@everframe/react-native 1.2.1 → 1.3.0

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.
@@ -40,7 +40,7 @@ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
40
40
  # 1.2.0, so the range already asks for 1.2 while package.json is still 1.1.0.
41
41
  # The 1.2.0 release moves package.json to match.
42
42
  native_version_override = ENV['EVERFRAME_NATIVE_POD_VERSION'].to_s.strip
43
- native_minor_range = native_version_override.empty? ? '~> 1.2.1' : native_version_override
43
+ native_minor_range = native_version_override.empty? ? '~> 1.3.0' : native_version_override
44
44
 
45
45
  Pod::Spec.new do |s|
46
46
  s.name = 'EverframeRN'
package/README.md CHANGED
@@ -42,9 +42,9 @@ npx @everframe/cli setup react-native --app-id "$EVERFRAME_APP_ID"
42
42
  ```
43
43
 
44
44
  Either way, Android gets `apply plugin: "dev.everframe"` and
45
- `everframe { appId = "…" }` plus one classpath line, and Xcode gets a Run
46
- Script phase that runs `everframe xcode build-phase`. The upload logic lives in
47
- the Gradle plugin and the CLI. Set `EVERFRAME_API_TOKEN` in release builds;
45
+ `everframe { appId = "…" }` plus one classpath line, and Xcode gets a
46
+ one-line Run Script phase that runs `scripts/xcode-upload.sh` from the installed
47
+ `@everframe/cli`. The upload logic lives in the Gradle plugin and the CLI. Set `EVERFRAME_API_TOKEN` in release builds;
48
48
  without it the build warns and continues. See the
49
49
  [CLI guide](../cli/README.md#react-native-and-expo).
50
50
 
@@ -517,15 +517,15 @@ inside a native view and never reaches JS.
517
517
  - `captureSourceQuery` — keep the query string on `source_change.src`
518
518
  (default `false`: signed CDN URLs carry tokens in the query).
519
519
 
520
- **Reconfiguring.** A Provider remount with the *same* config does not restart
521
- the SDK: both native sides compare the incoming config against the *installed*
520
+ **Reconfiguring.** A Provider remount with the _same_ config does not restart
521
+ the SDK: both native sides compare the incoming config against the _installed_
522
522
  one and skip the start entirely. A **changed** config does restart it (on iOS,
523
523
  except a change confined to `releaseHealth` or the loaded bundle; see
524
524
  [Release health](#release-health)) — and a
525
525
  start supersedes the running SDK, detaching every player integration it had
526
526
  announced. **Limitation:** players tracked before that restart stay untracked
527
527
  until their screens remount; nothing re-registers them automatically. Two React
528
- instances in one process are *not* coordinated either: if a second one starts
528
+ instances in one process are _not_ coordinated either: if a second one starts
529
529
  the SDK under the first, the first instance's players stay untracked until its
530
530
  own screens remount.
531
531
 
@@ -570,7 +570,7 @@ adapter has subscribed — and `onLoadStart` is what arms the adapter's startup
570
570
  clock, so the first source's startup latency is simply never seen. Deferring
571
571
  the load until after the adapter subscribed puts the first `onLoadStart` back
572
572
  where it can be observed. Without this, everything else still works; only the
573
- *first* `startup` measurement is missing (later source changes are fine).
573
+ _first_ `startup` measurement is missing (later source changes are fine).
574
574
 
575
575
  Options: `name`, `libraryVersion`, and `captureErrors` (default `false` — see
576
576
  Limitations). `onBandwidthUpdate` is read per platform: on iOS its `bitrate`
@@ -580,7 +580,7 @@ the `bandwidthEstimate` stat (with `quality_change` for the accompanying
580
580
  rendition size) and never as a bitrate.
581
581
 
582
582
  `onProgress` is read per platform too. The `bufferAheadMs` stat is always the
583
- media time buffered *ahead of the playhead*: on Android `bufferDuration` is
583
+ media time buffered _ahead of the playhead_: on Android `bufferDuration` is
584
584
  already that, on iOS it is the buffered range's absolute end position, so the
585
585
  adapter subtracts `currentTime` from it.
586
586
 
@@ -663,7 +663,7 @@ dropped, not forwarded.
663
663
  `captureErrors` is off by default.
664
664
  - **`rate_change` was not observed from react-native-video v7 on Android** in
665
665
  our Android emulator smoke — `onPlaybackRateChange` never arrived there.
666
- Note that the library *does* forward ExoPlayer's
666
+ Note that the library _does_ forward ExoPlayer's
667
667
  `onPlaybackParametersChanged`, so this is a "not seen in our smoke run"
668
668
  result, not a proven library gap; a host that changes playback speed
669
669
  explicitly may well see it. Nothing on the adapter side gates it either way.
@@ -738,7 +738,7 @@ subscription?.remove();
738
738
  ```
739
739
 
740
740
  > If you have seen the older `new TVEventHandler(); handler.enable(cmp, cb);
741
- > handler.disable()` shape elsewhere — that class-based API was removed in
741
+ handler.disable()` shape elsewhere — that class-based API was removed in
742
742
  > RN-tvos 0.85.x. Always read the version installed in your `node_modules`.
743
743
 
744
744
  #### Apple TV: long-press Play/Pause
@@ -153,7 +153,7 @@ val rnSdkPkg = groovy.json.JsonSlurper()
153
153
  val rnSdkVersion = rnSdkPkg["version"] as String
154
154
  // Native 1.2.0 is the release that renamed the SDK key to `sdkKey`; the
155
155
  // bridge moves with it, ahead of package.json, which the 1.2.0 release bumps.
156
- val nativeMinorRange: String = nativeVersionOverride ?: "[1.2.1,1.3.0)"
156
+ val nativeMinorRange: String = nativeVersionOverride ?: "[1.3.0,1.4.0)"
157
157
  if (nativeVersionOverride != null) {
158
158
  logger.lifecycle(
159
159
  "[everframe-rn] native AAR pinned to $nativeVersionOverride via everframeNativeVersion " +
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ import * as React from 'react';
2
2
  import { EverframeUserSpec, ConfigOpts } from './NativeEverframe.js';
3
3
  export { Rect, Spec } from './NativeEverframe.js';
4
4
  import { E as EverframeIntegration } from './types-D5e4kWaw.js';
5
- import { R as ReportDeliveryStatus, E as ErrorCaptureStatus, P as PromiseRejectionStatus } from './promise-rejection-types-Bf5iLv8n.js';
6
- export { a as ErrorCaptureCounters, b as ErrorCaptureOutcome, c as ErrorCapturePath, d as PromiseRejectionCounters, e as RejectionReason, f as ReportCaptureOutcome, g as ReportCapturePath, h as ReportCapturePathStatus, i as ReportDeliveryReason, j as ReportQueueOperation, k as ReportQueueStatus, l as ReportStorageFailure, m as ReportTransportOrigin, n as ReportTransportOutcome, o as ReportTransportStatus } from './promise-rejection-types-Bf5iLv8n.js';
5
+ import { R as ReportDeliveryStatus, E as ErrorCaptureStatus, P as PromiseRejectionStatus } from './promise-rejection-types-CiyBTz7v.js';
6
+ export { a as ErrorCaptureCounters, b as ErrorCaptureOutcome, c as ErrorCapturePath, d as PromiseRejectionCounters, e as RejectionReason, f as ReportCaptureOutcome, g as ReportCapturePath, h as ReportCapturePathStatus, i as ReportDeliveryReason, j as ReportQueueOperation, k as ReportQueueStatus, l as ReportStorageFailure, m as ReportTransportOrigin, n as ReportTransportOutcome, o as ReportTransportStatus } from './promise-rejection-types-CiyBTz7v.js';
7
7
  import { z } from 'zod';
8
8
  import { ViewProps, EventSubscription } from 'react-native';
9
9
 
@@ -38,15 +38,17 @@ declare const ReportEnvelope: z.ZodObject<{
38
38
  }>;
39
39
  version: z.ZodString;
40
40
  platform: z.ZodEnum<{
41
- android: "android";
42
- ios: "ios";
43
41
  web: "web";
44
- tvos: "tvos";
45
42
  tizen: "tizen";
46
43
  webos: "webos";
47
- androidtv: "androidtv";
48
- roku: "roku";
49
44
  vega: "vega";
45
+ vidaa: "vidaa";
46
+ titanos: "titanos";
47
+ roku: "roku";
48
+ android: "android";
49
+ ios: "ios";
50
+ tvos: "tvos";
51
+ androidtv: "androidtv";
50
52
  }>;
51
53
  formFactor: z.ZodEnum<{
52
54
  phone: "phone";
@@ -215,9 +217,9 @@ declare const ReportEnvelope: z.ZodObject<{
215
217
  jsBundle: z.ZodOptional<z.ZodObject<{
216
218
  engine: z.ZodLiteral<"hermes">;
217
219
  platform: z.ZodEnum<{
220
+ vega: "vega";
218
221
  android: "android";
219
222
  ios: "ios";
220
- vega: "vega";
221
223
  }>;
222
224
  buildId: z.ZodString;
223
225
  bundleName: z.ZodString;
@@ -951,7 +953,7 @@ declare function getReportDeliveryStatus(): ReportDeliveryStatus;
951
953
  * review instruction, left as pre-existing behavior rather than folded in
952
954
  * here.
953
955
  */
954
- interface RuntimeConfig extends Omit<ConfigOpts, "sdkVersion" | "installIdentifierDisabled" | "crashReportingDisabled" | "companionBadgeEnabled" | "companionBadgePosition" | "shakeToReportEnabled" | "reporterDisabled" | "themeBackground" | "themeSurface" | "themeBorder" | "themeText" | "themeTextMuted" | "themeAccent" | "themeAccentForeground" | "themeDestructive" | "vitalsEnabled" | "vitalsSampleRate" | "vitalsCaptureSourceQuery" | "releaseHealthEnabled" | "releaseHealthLoadedBuildId" | "releaseHealthUserId" | "releaseHealthIncludeDebugBuilds"> {
956
+ interface RuntimeConfig extends Omit<ConfigOpts, 'sdkVersion' | 'installIdentifierDisabled' | 'crashReportingDisabled' | 'companionBadgeEnabled' | 'companionBadgePosition' | 'shakeToReportEnabled' | 'reporterDisabled' | 'themeBackground' | 'themeSurface' | 'themeBorder' | 'themeText' | 'themeTextMuted' | 'themeAccent' | 'themeAccentForeground' | 'themeDestructive' | 'vitalsEnabled' | 'vitalsSampleRate' | 'vitalsCaptureSourceQuery' | 'releaseHealthEnabled' | 'releaseHealthLoadedBuildId' | 'releaseHealthUserId' | 'releaseHealthIncludeDebugBuilds'> {
955
957
  /**
956
958
  * Per-app SDK key (publishable, not secret). Required on the host-facing
957
959
  * config — narrows the bridge `ConfigOpts.sdkKey?` to required so a missing
@@ -1044,7 +1046,7 @@ interface RuntimeConfig extends Omit<ConfigOpts, "sdkVersion" | "installIdentifi
1044
1046
  * it through unchanged — the union is a subtype of `string`, so no
1045
1047
  * conversion is needed, same as `captureScreenshot` above.
1046
1048
  */
1047
- attachPinUi?: "builtin" | "custom" | "off";
1049
+ attachPinUi?: 'builtin' | 'custom' | 'off';
1048
1050
  /**
1049
1051
  * Companion on-screen name-badge visibility/position (naming spec
1050
1052
  * 2026-08-24, controller ruling / Task 6b) — lets a host that finds the
@@ -1059,7 +1061,7 @@ interface RuntimeConfig extends Omit<ConfigOpts, "sdkVersion" | "installIdentifi
1059
1061
  */
1060
1062
  companionBadge?: {
1061
1063
  enabled?: boolean;
1062
- position?: "bottom-right" | "bottom-left" | "top-right" | "top-left";
1064
+ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
1063
1065
  };
1064
1066
  /**
1065
1067
  * Native mobile shake gesture. Enabled by default; the dashboard remains