files
This commit is contained in:
24
CHANGELOG.md
24
CHANGELOG.md
@@ -1,3 +1,27 @@
|
||||
### 0.6.0
|
||||
- `UxFile`: new module for handing files to the OS
|
||||
- `UxFile.share(path, {title, mimeType, sourceRect})` — iOS `UIActivityViewController`,
|
||||
macOS `NSSharingServicePicker`, Android `Intent.ACTION_SEND` via FileProvider.
|
||||
`sourceRect` anchors the popover on iPad / macOS.
|
||||
- `UxFile.open(path, {mimeType})` — in-app preview where possible:
|
||||
iOS `QLPreviewController`, macOS `QLPreviewPanel` (preview on top of the app,
|
||||
no foreground loss), Android `Intent.ACTION_VIEW` with MIME inference from
|
||||
`MimeTypeMap` + a fallback set of text/code extensions so unknown types
|
||||
still resolve to `text/plain` instead of `application/octet-stream`.
|
||||
- **macOS**: new platform. Plugin registry + `FilePlugin`; keyboard and sensor
|
||||
plugins remain iOS-only.
|
||||
- Android: ships a FileProvider under `${applicationId}.ux.fileprovider`
|
||||
scoped to `ux_share/` in the app cache — host apps don't need manifest
|
||||
plumbing.
|
||||
- iOS: `UxWindow` helper (`keyWindow` / `topViewController`) in
|
||||
`NativePlugin.swift`, shared between keyboard and file plugins.
|
||||
|
||||
### 0.5.0
|
||||
- `UxSensor.orientation`: accelerometer-driven physical device rotation,
|
||||
independent of the OS auto-rotate setting or UI orientation lock
|
||||
- `AppInfo`: version + buildNumber surface
|
||||
- `UxKeyboard`: focus tracking integration
|
||||
|
||||
### 0.4.0
|
||||
- `package:ux/testing.dart`: new entry point for test-only utilities
|
||||
- `matchesTextGolden(path, {update})`: `matchesGoldenFile`-style matcher for
|
||||
|
||||
Reference in New Issue
Block a user