tauri-plugin-live-activity 0.11.0 → 0.11.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/README.ko.md CHANGED
@@ -72,7 +72,7 @@ JSX이므로 레이아웃은 별도 파일에 둡니다.
72
72
  import { Button, HStack, Progress, SFSymbol, Text, VStack } from 'tauri-plugin-live-activity/jsx';
73
73
 
74
74
  // iOS: 잠금 화면이 이 트리를 그대로 그리고, 펼친 Dynamic Island에도 같은 트리가 보입니다
75
- // (iOS 16.2 이상, Button은 iOS 17 이상).
75
+ // (iOS 16.2 이상, Button은 iOS 17.2 이상).
76
76
  // Android: 알림이 처음 두 Text를 제목과 본문으로, 첫 Progress를 진행률 막대로, Button을 최대 세 개까지
77
77
  // 동작으로 가져가고, 심볼과 스타일은 그리지 않습니다.
78
78
  export const lockScreen = (
@@ -217,9 +217,9 @@ await endLayout({ id: snack.id, policy: { kind: 'immediate' } });
217
217
  | `gauge` | `min`과 `max` 사이의 숫자를 고리나 막대로 | 예 | 아니오 |
218
218
  | `progress` | 0~1의 숫자를 고리나 막대로 | 예 | 첫 번째가 알림의 진행률 막대 |
219
219
  | `timerText` | `end`까지 내려가거나 `start`부터 올라가는 시간. 시스템이 셈 | 예 | 크로노미터 |
220
- | `button` | `onAction` / `on_action`으로 오는 탭 | iOS 17 이상 | 최대 세 개의 동작 |
220
+ | `button` | `onAction` / `on_action`으로 오는 탭 | iOS 17.2 이상 | 최대 세 개의 동작 |
221
221
  | `link` | 탭하면 그 URL을 앱에서 여는 노드 | 예 | URL을 여는 동작(기기가 `links`를 제공할 때) |
222
- | `toggle` | 불리언 값을 보여 주는 스위치, 탭은 `on`으로 옴 | iOS 17 이상 | 레이블을 제목으로 한 동작, 켜진 동안 체크 표시 |
222
+ | `toggle` | 불리언 값을 보여 주는 스위치, 탭은 `on`으로 옴 | iOS 17.2 이상 | 레이블을 제목으로 한 동작, 켜진 동안 체크 표시 |
223
223
  | `vstack`, `hstack`, `zstack`, `spacer`, `divider` | 배치 | 예 | 평평하게 |
224
224
  | `custom` | 이름으로 고른 자체 SwiftUI 뷰 | 예 | 아니오 |
225
225
 
@@ -242,10 +242,11 @@ island: {
242
242
  keyline: '#A3D9C2', // 아일랜드 테두리 색
243
243
  ```
244
244
 
245
- 페어링된 Apple Watch(iOS 18)와 CarPlay(iOS 26)는 아일랜드의 compact 부분을 보여 줍니다. 위젯 익스텐션이 그
246
- 패밀리를 그리도록 해 두면(`setup --small-family`) `small`이 거기에 자기 트리를 줍니다. 노드는 12개까지이고
247
- 버튼·링크·토글은 넣을 수 없습니다: `small: hstack([symbol('pawprint.fill'), bound('eta')])`. Android는 이를
248
- `degradedFeatures`에 적습니다. [더 보기](https://github.com/1eedaegon/tauri-plugin-live-activity/blob/main/docs/usage.md#apple-watch-and-carplay)
245
+ iOS에서는 페어링된 Apple Watch(iOS 18)와 CarPlay(iOS 26)가 아일랜드의 compact 부분을 보여 줍니다. 위젯
246
+ 익스텐션이 그 패밀리를 그리도록 해 두면(`setup --small-family`) `small`이 거기에 자기 트리를 줍니다. 노드는
247
+ 12개까지이고 버튼·링크·토글은 넣을 수 없습니다: `small: hstack([symbol('pawprint.fill'), bound('eta')])`.
248
+ Android에서는 폰의 ongoing 알림이 페어링된 워치로 전달되지 않고 Live Update만 일부 워치에 전달되며, Android
249
+ Auto에는 이를 보여 줄 자리가 없습니다. Android는 `small`을 `degradedFeatures`에 적습니다. [더 보기](https://github.com/1eedaegon/tauri-plugin-live-activity/blob/main/docs/usage.md#a-watch-and-a-car)
249
250
 
250
251
  ## 푸시 (iOS)
251
252
 
@@ -266,7 +267,7 @@ keyline: '#A3D9C2', // 아일랜드 테두리 색
266
267
 
267
268
  ## 제약
268
269
 
269
- - iOS: iOS 16.2의 iPhone 또는 iPadOS 17의 iPad, 버튼은 iOS 17부터. 액티비티는 앱이 전면일 때만 시작되고
270
+ - iOS: iOS 16.2의 iPhone 또는 iPadOS 17의 iPad, 버튼은 iOS 17.2부터. 액티비티는 앱이 전면일 때만 시작되고
270
271
  (아니면 `NOT_FOREGROUND`), 시스템이 8시간 뒤 끝냅니다.
271
272
  - iOS는 각 액티비티의 마지막 값을 앱의 Application Support에 평문으로 둡니다. 플러그인 설정에
272
273
  `"receipts": "redacted"`를 주면 가립니다.
package/README.md CHANGED
@@ -72,7 +72,7 @@ since this JSX has no HTML elements.
72
72
  import { Button, HStack, Progress, SFSymbol, Text, VStack } from 'tauri-plugin-live-activity/jsx';
73
73
 
74
74
  // iOS: the Lock Screen draws this tree as it is, and the expanded Dynamic Island shows it too
75
- // (iOS 16.2+; the Button needs iOS 17).
75
+ // (iOS 16.2+; the Button needs iOS 17.2).
76
76
  // Android: the notification takes the first two Texts as title and body, the first Progress as its
77
77
  // bar and up to three Buttons as actions; symbols and styles are left out.
78
78
  export const lockScreen = (
@@ -223,9 +223,9 @@ place of the projection of the layout; `updateLayout` takes an `alert`, which li
223
223
  | `gauge` | a number between `min` and `max`, as a ring or a bar | yes | no |
224
224
  | `progress` | a number from 0 to 1, as a ring or a bar | yes | the first one is the notification's bar |
225
225
  | `timerText` | a count down to `end` or up from `start`, kept by the system | yes | the chronometer |
226
- | `button` | a tap for `onAction` / `on_action` | iOS 17+ | up to three actions |
226
+ | `button` | a tap for `onAction` / `on_action` | iOS 17.2+ | up to three actions |
227
227
  | `link` | a tap that opens its URL in the app | iOS | an action that opens the URL (where the device offers `links`) |
228
- | `toggle` | a switch of a boolean value; a tap comes as `on` | iOS 17+ | an action titled by its label, with a check mark while on |
228
+ | `toggle` | a switch of a boolean value; a tap comes as `on` | iOS 17.2+ | an action titled by its label, with a check mark while on |
229
229
  | `vstack`, `hstack`, `zstack`, `spacer`, `divider` | arrangement | yes | flattened |
230
230
  | `custom` | a SwiftUI view of your own, by name | yes | no |
231
231
 
@@ -248,10 +248,11 @@ island: {
248
248
  keyline: '#A3D9C2', // the island's edge color
249
249
  ```
250
250
 
251
- A paired Apple Watch (iOS 18) and CarPlay (iOS 26) show the island's compact parts. `small` gives them a tree of
252
- their own, at most 12 nodes without buttons, links or toggles, once the widget extension draws that family
253
- (`setup --small-family`): `small: hstack([symbol('pawprint.fill'), bound('eta')])`. Android names it in
254
- `degradedFeatures`. [More](https://github.com/1eedaegon/tauri-plugin-live-activity/blob/main/docs/usage.md#apple-watch-and-carplay)
251
+ On iOS a paired Apple Watch (iOS 18) and CarPlay (iOS 26) show the island's compact parts. `small` gives them a
252
+ tree of their own, at most 12 nodes without buttons, links or toggles, once the widget extension draws that family
253
+ (`setup --small-family`): `small: hstack([symbol('pawprint.fill'), bound('eta')])`. On Android a phone's ongoing
254
+ notification is not bridged to a paired watch, and a Live Update only to some; Android Auto has no place for one.
255
+ Android names `small` in `degradedFeatures`. [More](https://github.com/1eedaegon/tauri-plugin-live-activity/blob/main/docs/usage.md#a-watch-and-a-car)
255
256
 
256
257
  ## Pushes (iOS)
257
258
 
@@ -272,7 +273,7 @@ at most 1 MiB and 1224 × 480 pixels. [More](https://github.com/1eedaegon/tauri-
272
273
 
273
274
  ## Limits
274
275
 
275
- - iOS: an iPhone with iOS 16.2 or an iPad with iPadOS 17; buttons need iOS 17. An activity starts only while the
276
+ - iOS: an iPhone with iOS 16.2 or an iPad with iPadOS 17; buttons need iOS 17.2. An activity starts only while the
276
277
  app is in the foreground (`NOT_FOREGROUND` otherwise), and the system ends it after 8 hours.
277
278
  - iOS keeps each activity's last values in plain text in the app's Application Support, unless the plugin
278
279
  configuration sets `"receipts": "redacted"`.
@@ -667,7 +667,7 @@ export type LayoutLinkNode = NodeFields & {
667
667
  readonly child: LayoutNode;
668
668
  };
669
669
  /**
670
- * A switch beside its label (iOS 17; before, the label alone). It shows the boolean value of `bind`. A tap comes
670
+ * A switch beside its label (iOS 17.2; before, the label alone). It shows the boolean value of `bind`. A tap comes
671
671
  * through `onAction` with `on`, the state the person asked for, and does not move the switch: send an update with
672
672
  * the new value, or none to refuse the change. A toggle stands where a button may.
673
673
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tauri-plugin-live-activity",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Tauri 2 plugin for iOS Live Activities (ActivityKit and Dynamic Island) and Android Live Updates with ongoing notification fallback",
5
5
  "author": "1eedaegon",
6
6
  "type": "module",