Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fluttet_clipboard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
fluttet_clipboard
Commits
ca6aece8
Commit
ca6aece8
authored
Jul 19, 2021
by
汪林玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
d6b2f3b9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
9 deletions
+3
-9
android/src/main/java/com/qiaomeng/flutter/fluttet_clipboard/Handler.java
.../java/com/qiaomeng/flutter/fluttet_clipboard/Handler.java
+0
-6
example/pubspec.lock
example/pubspec.lock
+1
-1
ios/fluttet_clipboard.podspec
ios/fluttet_clipboard.podspec
+1
-1
pubspec.yaml
pubspec.yaml
+1
-1
No files found.
android/src/main/java/com/qiaomeng/flutter/fluttet_clipboard/Handler.java
View file @
ca6aece8
...
...
@@ -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
){
}
}
...
...
example/pubspec.lock
View file @
ca6aece8
...
...
@@ -73,7 +73,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.
2
"
version: "1.0.
6
"
matcher:
dependency: transitive
description:
...
...
ios/fluttet_clipboard.podspec
View file @
ca6aece8
...
...
@@ -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.
...
...
pubspec.yaml
View file @
ca6aece8
name
:
fluttet_clipboard
description
:
Android粘贴处理.
version
:
1.0.
2
version
:
1.0.
6
author
:
homepage
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment