@everframe/react-native 1.6.0 → 1.6.1
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/EverframeRN.podspec +1 -1
- package/README.md +3 -3
- package/android/build.gradle.kts +1 -1
- package/dist/index.d.ts +15 -15
- package/dist/index.js +4 -4
- package/package.json +2 -2
package/EverframeRN.podspec
CHANGED
|
@@ -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.
|
|
43
|
+
native_minor_range = native_version_override.empty? ? '~> 1.6.1' : 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
|
|
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 **
|
|
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 **
|
|
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
|
package/android/build.gradle.kts
CHANGED
|
@@ -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.
|
|
150
|
+
val nativeMinorRange: String = nativeVersionOverride ?: "[1.6.1,1.7.0)"
|
|
151
151
|
if (nativeVersionOverride != null) {
|
|
152
152
|
logger.lifecycle(
|
|
153
153
|
"[everframe-rn] native AAR pinned to $nativeVersionOverride via everframeNativeVersion " +
|
package/dist/index.d.ts
CHANGED
|
@@ -319,19 +319,19 @@ interface RuntimeConfig extends Omit<ConfigOpts, 'sdkVersion' | 'interactionsJso
|
|
|
319
319
|
/**
|
|
320
320
|
* Accepted and ignored.
|
|
321
321
|
*
|
|
322
|
-
* @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
322
|
+
* @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
323
|
*/
|
|
324
324
|
attachPinUi?: 'builtin' | 'custom' | 'off';
|
|
325
325
|
/**
|
|
326
326
|
* Accepted and ignored.
|
|
327
327
|
*
|
|
328
|
-
* @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
328
|
+
* @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
329
|
*/
|
|
330
330
|
companionDeviceId?: string;
|
|
331
331
|
/**
|
|
332
332
|
* Accepted and ignored.
|
|
333
333
|
*
|
|
334
|
-
* @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
334
|
+
* @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
335
|
*/
|
|
336
336
|
companionBadge?: {
|
|
337
337
|
enabled?: boolean;
|
|
@@ -509,9 +509,9 @@ declare function trackVitals(name: string, data?: unknown, player?: PlayerHandle
|
|
|
509
509
|
*/
|
|
510
510
|
declare function useTrackPlayer(opts: TrackPlayerOptions): PlayerHandle;
|
|
511
511
|
|
|
512
|
-
/** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
512
|
+
/** @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
513
|
type CompanionState = 'unpaired' | 'paired' | 'report_in_progress' | 'phone_disconnected';
|
|
514
|
-
/** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
514
|
+
/** @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
515
|
interface CompanionAttachChallenge {
|
|
516
516
|
code: string;
|
|
517
517
|
requestedByName: string;
|
|
@@ -520,33 +520,33 @@ interface CompanionAttachChallenge {
|
|
|
520
520
|
/**
|
|
521
521
|
* Logs the removal warning once. Reaches no native code and never throws.
|
|
522
522
|
*
|
|
523
|
-
* @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
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.
|
|
524
524
|
*/
|
|
525
525
|
declare function start(): void;
|
|
526
526
|
/**
|
|
527
527
|
* Does nothing.
|
|
528
528
|
*
|
|
529
|
-
* @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
529
|
+
* @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
530
|
*/
|
|
531
531
|
declare function stop(): void;
|
|
532
|
-
/** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
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. */
|
|
533
533
|
declare function onRunning(_handler: (running: boolean) => void): () => void;
|
|
534
|
-
/** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
534
|
+
/** @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
535
|
declare function onState(_handler: (state: CompanionState) => void): () => void;
|
|
536
|
-
/** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
536
|
+
/** @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
537
|
declare function onPairUrl(_handler: (url: string | null) => void): () => void;
|
|
538
|
-
/** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
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. */
|
|
539
539
|
declare function onCode(_handler: (code: string | null) => void): () => void;
|
|
540
|
-
/** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
540
|
+
/** @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
541
|
declare function onAttachedUserName(_handler: (name: string | null) => void): () => void;
|
|
542
|
-
/** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
542
|
+
/** @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
543
|
declare function onResolvedName(_handler: (name: string | null) => void): () => void;
|
|
544
|
-
/** @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
544
|
+
/** @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
545
|
declare function onAttachChallenge(_handler: (challenge: CompanionAttachChallenge | null) => void): () => void;
|
|
546
546
|
/**
|
|
547
547
|
* Returns the idle Companion snapshot — the same object on every render.
|
|
548
548
|
*
|
|
549
|
-
* @deprecated Everframe Companion has been removed; this call does nothing. Link the device under
|
|
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.
|
|
550
550
|
*/
|
|
551
551
|
declare function useCompanion(): {
|
|
552
552
|
state: CompanionState;
|