@everframe/react-native 1.4.0 → 1.5.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.
@@ -1,5 +1,5 @@
1
- import { E as ErrorCaptureStatus, P as PromiseRejectionStatus, R as ReportDeliveryStatus, c as ReporterTrigger, k as PermissionResult, L as LaunchContext, e as InteractionHookOptions, C as ControlChangeInput, S as ScrollInput, d as InteractionTargetAnnotation } from './launch-BvE4IjRk.js';
2
- export { f as ErrorCaptureCounters, g as ErrorCaptureOutcome, h as ErrorCapturePath, H as HelperType, I as InteractionPolicyOptions, l as PromiseRejectionCounters, m as RejectionReason, n as ReportCaptureOutcome, o as ReportCapturePath, p as ReportCapturePathStatus, q as ReportDeliveryReason, s as ReportQueueOperation, t as ReportQueueStatus, u as ReportStorageFailure, v as ReportTransportOrigin, w as ReportTransportOutcome, x as ReportTransportStatus, a as ReporterOpenOptions } from './launch-BvE4IjRk.js';
1
+ import { E as ErrorCaptureStatus, P as PromiseRejectionStatus, R as ReportDeliveryStatus, c as ReporterTrigger, k as PermissionResult, L as LaunchContext, e as InteractionHookOptions, C as ControlChangeInput, S as ScrollInput, d as InteractionTargetAnnotation } from './launch-C8wbMunK.js';
2
+ export { f as ErrorCaptureCounters, g as ErrorCaptureOutcome, h as ErrorCapturePath, H as HelperType, I as InteractionPolicyOptions, l as PromiseRejectionCounters, m as RejectionReason, n as ReportCaptureOutcome, o as ReportCapturePath, p as ReportCapturePathStatus, q as ReportDeliveryReason, s as ReportQueueOperation, t as ReportQueueStatus, u as ReportStorageFailure, v as ReportTransportOrigin, w as ReportTransportOutcome, x as ReportTransportStatus, a as ReporterOpenOptions } from './launch-C8wbMunK.js';
3
3
  import * as React from 'react';
4
4
  export * from '@everframe/react';
5
5
  import 'zod';
@@ -91,6 +91,7 @@ declare const ReportEnvelope: z.ZodObject<{
91
91
  crash: "crash";
92
92
  diagnostic: "diagnostic";
93
93
  }>>;
94
+ quickCapture: z.ZodOptional<z.ZodBoolean>;
94
95
  sessionId: z.ZodOptional<z.ZodString>;
95
96
  sdk: z.ZodObject<{
96
97
  name: z.ZodEnum<{
@@ -59,6 +59,7 @@ import EverframeReporterUI // tvOS slice present per Package.swift:12 (TV-03
59
59
  companionDeviceId: NSString?,
60
60
  companionBadgeEnabled: Bool,
61
61
  shakeToReportEnabled: Bool,
62
+ quickCaptureEnabled: Bool,
62
63
  companionBadgePosition: NSString?,
63
64
  theme: NSDictionary?,
64
65
  vitalsEnabled: NSNumber?,
@@ -109,6 +110,7 @@ import EverframeReporterUI // tvOS slice present per Package.swift:12 (TV-03
109
110
  // badge) exist, mirroring `companionAttachPinUi` below.
110
111
  cfg.companionBadgeEnabled = companionBadgeEnabled
111
112
  cfg.shakeToReportEnabled = shakeToReportEnabled
113
+ cfg.quickCaptureEnabled = quickCaptureEnabled
112
114
  // Polarity flips exactly once, here: JS sends the crash-only switch
113
115
  // (`reporterDisabled`), native stores the permission.
114
116
  cfg.reporterEnabled = !reporterDisabled
@@ -209,6 +209,7 @@ RCT_EXPORT_MODULE(Everframe)
209
209
  // above; `EverframeBridge` coerces nil/unrecognised to `.bottomRight`.
210
210
  BOOL companionBadgeEnabled = opts.companionBadgeEnabled().value_or(true);
211
211
  BOOL shakeToReportEnabled = opts.shakeToReportEnabled().value_or(true);
212
+ BOOL quickCaptureEnabled = opts.quickCaptureEnabled().value_or(true);
212
213
  // Crash-only session switch (spec 2026-10-12) — `std::optional<bool>`, same shape as
213
214
  // `networkBodiesDisabled()`. Absent means a normal report session.
214
215
  BOOL reporterDisabled = opts.reporterDisabled().value_or(false);
@@ -257,6 +258,7 @@ RCT_EXPORT_MODULE(Everframe)
257
258
  companionDeviceId:companionDeviceId
258
259
  companionBadgeEnabled:companionBadgeEnabled
259
260
  shakeToReportEnabled:shakeToReportEnabled
261
+ quickCaptureEnabled:quickCaptureEnabled
260
262
  companionBadgePosition:companionBadgePosition
261
263
  theme:(theme.count > 0 ? theme : nil)
262
264
  vitalsEnabled:vitalsEnabled
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everframe/react-native",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "React Native SDK for Everframe — AI-ready in-app bug reporting, bridging the native iOS and Android reporter to your RN app. Supports phone, Apple TV, and Android TV.",
5
5
  "author": {
6
6
  "name": "Scriptx, UAB",
@@ -100,7 +100,7 @@
100
100
  "dependencies": {
101
101
  "bippy": "^0.5.39",
102
102
  "zod": "^4.3.0",
103
- "@everframe/react": "^1.4.0"
103
+ "@everframe/react": "^1.5.0"
104
104
  },
105
105
  "devDependencies": {
106
106
  "@arethetypeswrong/cli": "^0.18.0",
@@ -113,8 +113,8 @@
113
113
  "react-native-url-polyfill": "4.0.0",
114
114
  "tsup": "^8.0.0",
115
115
  "vitest": "^4.0.0",
116
- "@everframe/protocol": "0.9.0",
117
- "@everframe/sdk-core": "0.6.1"
116
+ "@everframe/sdk-core": "0.6.2",
117
+ "@everframe/protocol": "0.10.0"
118
118
  },
119
119
  "codegenConfig": {
120
120
  "name": "EverframeSpec",
@@ -173,6 +173,8 @@ export type ConfigOpts = {
173
173
  companionBadgeEnabled?: boolean;
174
174
  /** Local veto for native mobile shake-to-report. Absent defaults to enabled. */
175
175
  shakeToReportEnabled?: boolean;
176
+ /** Local veto for simulator/emulator quick capture. Absent defaults to enabled. */
177
+ quickCaptureEnabled?: boolean;
176
178
  /**
177
179
  * Crash-only session switch. `true` turns off every on-device way to open the reporter, keeps
178
180
  * network bodies off and samples replay with the server's crash-only rate until a companion