Commit ca6aece8 authored by 汪林玲's avatar 汪林玲

更新

parent d6b2f3b9
......@@ -34,12 +34,6 @@ public class Handler {
ClipboardManager clipboard = (ClipboardManager) context.getSystemService(Context.CLIPBOARD_SERVICE);
ClipData clipData = ClipData.newPlainText(null, text);
clipboard.setPrimaryClip(clipData);
try {
if(TextUtils.isEmpty(text)){
clipboard.clearPrimaryClip();
}
}catch (Exception e){
}
}
......
......@@ -73,7 +73,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.2"
version: "1.0.6"
matcher:
dependency: transitive
description:
......
......@@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'fluttet_clipboard'
s.version = '0.0.1'
s.version = '1.0.6'
s.summary = 'A new Flutter plugin.'
s.description = <<-DESC
A new Flutter plugin.
......
name: fluttet_clipboard
description: Android粘贴处理.
version: 1.0.2
version: 1.0.6
author:
homepage:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment