From 9eb8db42735e77e39d12885335d7d823d4f9275b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=81=A5=E8=8E=B9?= Date: Sun, 5 Mar 2023 23:40:56 +0800 Subject: [PATCH] v0.2.0 --- CHANGELOG.md | 4 ++++ README-ZH.md | 18 ++++++++------- README.md | 22 +++++++++---------- example/macos/Podfile | 2 +- example/macos/Podfile.lock | 4 ++-- .../macos/Runner.xcodeproj/project.pbxproj | 9 ++++---- example/pubspec.lock | 2 +- pubspec.yaml | 4 ++-- 8 files changed, 35 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index feb42f6..1b768a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.2.0 + +* Add mobile support (#8) @ademar111190 + ## 0.1.3 * [linux] fix memory leaks & cosmetic clean up #7 diff --git a/README-ZH.md b/README-ZH.md index 564c692..66f817c 100644 --- a/README-ZH.md +++ b/README-ZH.md @@ -1,16 +1,14 @@ # clipboard_watcher -[![pub version][pub-image]][pub-url] [![][discord-image]][discord-url] ![][visits-count-image] +[![pub version][pub-image]][pub-url] [![][discord-image]][discord-url] ![][visits-count-image] [pub-image]: https://img.shields.io/pub/v/clipboard_watcher.svg [pub-url]: https://pub.dev/packages/clipboard_watcher - [discord-image]: https://img.shields.io/discord/884679008049037342.svg [discord-url]: https://discord.gg/zPa6EZ2jqb - [visits-count-image]: https://img.shields.io/badge/dynamic/json?label=Visits%20Count&query=value&url=https://api.countapi.xyz/hit/leanflutter.clipboard_watcher/visits -这个插件允许 Flutter 桌面应用程序观察剪贴板的变化。 +这个插件允许 Flutter 应用程序观察剪贴板的变化。 --- @@ -33,9 +31,13 @@ ## 平台支持 -| Linux | macOS | Windows | -| :---: | :---: | :-----: | -| ✔️ | ✔️ | ✔️ | +| 平台 | 支持 | +| ------- | :--------------------------------------------------------------------- | +| Linux | ✔️ 完全支持 | +| macOS | ✔️ 完全支持 | +| Windows | ✔️ 完全支持 | +| iOS | 14+ 需要用户权限才能读取从其他应用复制的数据
旧版本完全支持开箱即用 | +| Android | 10+ 仅当应用程序位于前台时有效
旧版本完全支持开箱即用 | ## 快速开始 @@ -45,7 +47,7 @@ ```yaml dependencies: - clipboard_watcher: ^0.1.3 + clipboard_watcher: ^0.2.0 ``` 或 diff --git a/README.md b/README.md index 84f073e..41a622e 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,14 @@ # clipboard_watcher -[![pub version][pub-image]][pub-url] [![][discord-image]][discord-url] ![][visits-count-image] +[![pub version][pub-image]][pub-url] [![][discord-image]][discord-url] ![][visits-count-image] [pub-image]: https://img.shields.io/pub/v/clipboard_watcher.svg [pub-url]: https://pub.dev/packages/clipboard_watcher - [discord-image]: https://img.shields.io/discord/884679008049037342.svg [discord-url]: https://discord.gg/zPa6EZ2jqb - [visits-count-image]: https://img.shields.io/badge/dynamic/json?label=Visits%20Count&query=value&url=https://api.countapi.xyz/hit/leanflutter.clipboard_watcher/visits -This plugin allows Flutter desktop apps to watch clipboard changes. +This plugin allows Flutter apps to watch clipboard changes. --- @@ -33,13 +31,13 @@ English | [简体中文](./README-ZH.md) ## Platform Support -|Platform|Support| -|---|:---| -|Linux|✔️ Fully supported| -|macOS|✔️ Fully supported| -|Windows|✔️ Fully supported| -|iOS|14+ Needs user permission to read data copied from others apps
Old versions are fully supported out of the box| -|Android|10+ Only works when the app is in the foreground
Old versions are fully supported out of the box| +| Platform | Support | +| -------- | :---------------------------------------------------------------------------------------------------------------- | +| Linux | ✔️ Fully supported | +| macOS | ✔️ Fully supported | +| Windows | ✔️ Fully supported | +| iOS | 14+ Needs user permission to read data copied from others apps
Old versions are fully supported out of the box | +| Android | 10+ Only works when the app is in the foreground
Old versions are fully supported out of the box | ## Quick Start @@ -49,7 +47,7 @@ Add this to your package's pubspec.yaml file: ```yaml dependencies: - clipboard_watcher: ^0.1.3 + clipboard_watcher: ^0.2.0 ``` Or diff --git a/example/macos/Podfile b/example/macos/Podfile index dade8df..049abe2 100644 --- a/example/macos/Podfile +++ b/example/macos/Podfile @@ -1,4 +1,4 @@ -platform :osx, '10.11' +platform :osx, '10.14' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/example/macos/Podfile.lock b/example/macos/Podfile.lock index 7d4f68b..af65678 100644 --- a/example/macos/Podfile.lock +++ b/example/macos/Podfile.lock @@ -15,8 +15,8 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: clipboard_watcher: a71da520051c24c1b969a411b3e152d4dcc93ca5 - FlutterMacOS: ae6af50a8ea7d6103d888583d46bd8328a7e9811 + FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 -PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c +PODFILE CHECKSUM: 353c8bcc5d5b0994e508d035b5431cfe18c1dea7 COCOAPODS: 1.11.3 diff --git a/example/macos/Runner.xcodeproj/project.pbxproj b/example/macos/Runner.xcodeproj/project.pbxproj index e8efdad..be6a40a 100644 --- a/example/macos/Runner.xcodeproj/project.pbxproj +++ b/example/macos/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXAggregateTarget section */ @@ -273,6 +273,7 @@ }; 3399D490228B24CF009A79C7 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -404,7 +405,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.14; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; SWIFT_COMPILATION_MODE = wholemodule; @@ -483,7 +484,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.14; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -530,7 +531,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.11; + MACOSX_DEPLOYMENT_TARGET = 10.14; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; SWIFT_COMPILATION_MODE = wholemodule; diff --git a/example/pubspec.lock b/example/pubspec.lock index 161ee35..03f09a7 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -31,7 +31,7 @@ packages: path: ".." relative: true source: path - version: "0.1.3" + version: "0.2.0" clock: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 078b3f0..0fbf833 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: clipboard_watcher -description: This plugin allows Flutter desktop apps to watch clipboard changes. -version: 0.1.3 +description: This plugin allows Flutter apps to watch clipboard changes. +version: 0.2.0 homepage: https://github.com/leanflutter/clipboard_watcher platforms: