@everframe/react-native 1.6.0 → 1.6.2

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.6.0' : native_version_override
43
+ native_minor_range = native_version_override.empty? ? '~> 1.6.2' : native_version_override
44
44
 
45
45
  Pod::Spec.new do |s|
46
46
  s.name = 'EverframeRN'
package/README.md CHANGED
@@ -428,7 +428,7 @@ code, every `on*` subscription returns an unsubscribe and never fires, and
428
428
  `useCompanion()` always returns `{ state: 'unpaired', running: false, … }`
429
429
  with every other value `null`. The `attachPinUi`, `companionDeviceId` and
430
430
  `companionBadge` config options are accepted and ignored. To capture from a
431
- real device, link it under Settings → Devices in the dashboard and use quick
431
+ real device, link it under Project settings → Devices in the dashboard and use quick
432
432
  capture.
433
433
 
434
434
  ## Navigation breadcrumbs
@@ -759,7 +759,7 @@ debug build:
759
759
  | Unlinked, debug build | Quick capture, a shared draft. Toast `Captured · <device name>`. Also answers a dashboard link window. |
760
760
  | Unlinked, release build | As before: the reporter opens if `shakeToReport` allows it. Also answers a dashboard link window. |
761
761
 
762
- - **Link a phone.** On the dashboard, open **Settings → Devices → Link a
762
+ - **Link a phone.** On the dashboard, open **Project settings → Devices → Link a
763
763
  device**, then shake the phone with the app running. A banner shows
764
764
  `Linking to Everframe · 47` with the line
765
765
  `A teammate is linking a device. If that's not you, ignore this.` Click the
@@ -774,7 +774,7 @@ debug build:
774
774
  another teammate opens **Link a device** and the phone is shaken, the capture
775
775
  is filed as usual and the banner shows a number; picking it moves the phone,
776
776
  and that capture, to the new teammate.
777
- - **Unlinking.** Unlink a phone under **Settings → Devices**. It finds out at
777
+ - **Unlinking.** Unlink a phone under **Project settings → Devices**. It finds out at
778
778
  its next capture or config fetch and behaves as unlinked again. A capture
779
779
  refused this way is not filed anywhere and shows `This device was unlinked`.
780
780
  Android also shows that toast when a config fetch reports the unlink; iOS
@@ -147,7 +147,7 @@ val rnSdkPkg = groovy.json.JsonSlurper()
147
147
  val rnSdkVersion = rnSdkPkg["version"] as String
148
148
  // Native 1.2.0 is the release that renamed the SDK key to `sdkKey`; the
149
149
  // bridge moves with it, ahead of package.json, which the 1.2.0 release bumps.
150
- val nativeMinorRange: String = nativeVersionOverride ?: "[1.6.0,1.7.0)"
150
+ val nativeMinorRange: String = nativeVersionOverride ?: "[1.6.2,1.7.0)"
151
151
  if (nativeVersionOverride != null) {
152
152
  logger.lifecycle(
153
153
  "[everframe-rn] native AAR pinned to $nativeVersionOverride via everframeNativeVersion " +
@@ -27,7 +27,7 @@ internal object RnInteractionTargetAdapter : InteractionTargetViewAdapter {
27
27
  return InteractionTargetViewHints(testId = testId, role = role,
28
28
  // ReactSurfaceView (Fabric) also extends ReactRootView. The module
29
29
  // identity is assigned by the framework, independent of rendered labels.
30
- devtools = view is ReactRootView && runCatching { view.jsModuleName in setOf("LogBox", "DevMenu") }.getOrDefault(false),
30
+ devtools = view is ReactRootView && runCatching { view.getJSModuleName() in setOf("LogBox", "DevMenu") }.getOrDefault(false),
31
31
  actionable = role in setOf("button", "tab", "link", "switch", "checkbox", "radio", "slider", "menuitem", "textfield"))
32
32
  }
33
33
  }
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, a as ReporterOpenOptions, b as ReporterResult, c as ReporterTrigger, I as InteractionPolicyOptions, V as VitalsPlayerEventType, d as InteractionTargetAnnotation, e as InteractionHookOptions, C as ControlChangeInput, S as ScrollInput } from './launch-aXtOOfNU.js';
6
- export { A as AttachmentRef, f as ErrorCaptureCounters, g as ErrorCaptureOutcome, h as ErrorCapturePath, i as EverframeNotMountedError, j as EverframeReporterDisabledError, H as HelperType, L as LaunchContext, k as PermissionResult, l as PromiseRejectionCounters, m as RejectionReason, n as ReportCaptureOutcome, o as ReportCapturePath, p as ReportCapturePathStatus, q as ReportDeliveryReason, r as ReportEnvelope, s as ReportQueueOperation, t as ReportQueueStatus, u as ReportStorageFailure, v as ReportTransportOrigin, w as ReportTransportOutcome, x as ReportTransportStatus, U as UINode, y as UITree, z as observePermissionRequest, B as recordLaunchContext } from './launch-aXtOOfNU.js';
5
+ import { R as ReportDeliveryStatus, E as ErrorCaptureStatus, P as PromiseRejectionStatus, a as ReporterOpenOptions, b as ReporterResult, c as ReporterTrigger, I as InteractionPolicyOptions, V as VitalsPlayerEventType, d as InteractionTargetAnnotation, e as InteractionHookOptions, C as ControlChangeInput, S as ScrollInput } from './launch-D-Svnt1C.js';
6
+ export { A as AttachmentRef, f as ErrorCaptureCounters, g as ErrorCaptureOutcome, h as ErrorCapturePath, i as EverframeNotMountedError, j as EverframeReporterDisabledError, H as HelperType, L as LaunchContext, k as PermissionResult, l as PromiseRejectionCounters, m as RejectionReason, n as ReportCaptureOutcome, o as ReportCapturePath, p as ReportCapturePathStatus, q as ReportDeliveryReason, r as ReportEnvelope, s as ReportQueueOperation, t as ReportQueueStatus, u as ReportStorageFailure, v as ReportTransportOrigin, w as ReportTransportOutcome, x as ReportTransportStatus, U as UINode, y as UITree, z as observePermissionRequest, B as recordLaunchContext } from './launch-D-Svnt1C.js';
7
7
  import { z } from 'zod';
8
8
  import { ViewProps } from 'react-native';
9
9
 
@@ -47,6 +47,15 @@ interface DeviceMetadata {
47
47
  * UA overrides). Web SDK only — native SDKs leave this undefined.
48
48
  */
49
49
  userAgent?: string;
50
+ /** Static device identity; each SDK sends what its platform can tell. */
51
+ manufacturer?: string;
52
+ brand?: string;
53
+ cpuAbi?: string[];
54
+ emulator?: boolean;
55
+ /** Physical memory in bytes. */
56
+ totalMemory?: number;
57
+ /** Engine and runtime versions, e.g. `{ chrome: '120.0.6099.270' }`. */
58
+ runtimeVersions?: Record<string, string>;
50
59
  }
51
60
  interface ReportDraft {
52
61
  title: string;
@@ -319,19 +328,19 @@ interface RuntimeConfig extends Omit<ConfigOpts, 'sdkVersion' | 'interactionsJso
319
328
  /**
320
329
  * Accepted and ignored.
321
330
  *
322
- * @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture.
331
+ * @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture.
323
332
  */
324
333
  attachPinUi?: 'builtin' | 'custom' | 'off';
325
334
  /**
326
335
  * Accepted and ignored.
327
336
  *
328
- * @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture.
337
+ * @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture.
329
338
  */
330
339
  companionDeviceId?: string;
331
340
  /**
332
341
  * Accepted and ignored.
333
342
  *
334
- * @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture.
343
+ * @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture.
335
344
  */
336
345
  companionBadge?: {
337
346
  enabled?: boolean;
@@ -509,9 +518,9 @@ declare function trackVitals(name: string, data?: unknown, player?: PlayerHandle
509
518
  */
510
519
  declare function useTrackPlayer(opts: TrackPlayerOptions): PlayerHandle;
511
520
 
512
- /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture. */
521
+ /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture. */
513
522
  type CompanionState = 'unpaired' | 'paired' | 'report_in_progress' | 'phone_disconnected';
514
- /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture. */
523
+ /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture. */
515
524
  interface CompanionAttachChallenge {
516
525
  code: string;
517
526
  requestedByName: string;
@@ -520,33 +529,33 @@ interface CompanionAttachChallenge {
520
529
  /**
521
530
  * Logs the removal warning once. Reaches no native code and never throws.
522
531
  *
523
- * @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture.
532
+ * @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture.
524
533
  */
525
534
  declare function start(): void;
526
535
  /**
527
536
  * Does nothing.
528
537
  *
529
- * @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture.
538
+ * @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture.
530
539
  */
531
540
  declare function stop(): void;
532
- /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture. */
541
+ /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture. */
533
542
  declare function onRunning(_handler: (running: boolean) => void): () => void;
534
- /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture. */
543
+ /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture. */
535
544
  declare function onState(_handler: (state: CompanionState) => void): () => void;
536
- /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture. */
545
+ /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture. */
537
546
  declare function onPairUrl(_handler: (url: string | null) => void): () => void;
538
- /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture. */
547
+ /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture. */
539
548
  declare function onCode(_handler: (code: string | null) => void): () => void;
540
- /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture. */
549
+ /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture. */
541
550
  declare function onAttachedUserName(_handler: (name: string | null) => void): () => void;
542
- /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture. */
551
+ /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture. */
543
552
  declare function onResolvedName(_handler: (name: string | null) => void): () => void;
544
- /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture. */
553
+ /** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture. */
545
554
  declare function onAttachChallenge(_handler: (challenge: CompanionAttachChallenge | null) => void): () => void;
546
555
  /**
547
556
  * Returns the idle Companion snapshot — the same object on every render.
548
557
  *
549
- * @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Settings → Devices in the dashboard and use quick capture.
558
+ * @deprecated Everframe Companion has been removed; this call does nothing. Link the device under Project settings → Devices in the dashboard and use quick capture.
550
559
  */
551
560
  declare function useCompanion(): {
552
561
  state: CompanionState;