Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
flutter_plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林生雨
flutter_plugin
Commits
1a6c3ef1
Commit
1a6c3ef1
authored
Jan 08, 2020
by
林生雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
341ef8a1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
21 deletions
+21
-21
workspace.xml
.idea/workspace.xml
+20
-20
GengmeiFlutterPlugin.m
ios/Classes/GengmeiFlutterPlugin.m
+1
-1
No files found.
.idea/workspace.xml
View file @
1a6c3ef1
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"AndroidLogFilters"
>
<component
name=
"AndroidLogFilters"
>
<option
name=
"TOOL_WINDOW_LOG_LEVEL"
value=
"error"
/>
<option
name=
"TOOL_WINDOW_CUSTOM_FILTER"
value=
"flutter"
/>
<option
name=
"TOOL_WINDOW_LOG_LEVEL"
value=
"verbose"
/>
<option
name=
"TOOL_WINDOW_CONFIGURED_FILTER"
value=
"Show only selected application"
/>
<option
name=
"TOOL_WINDOW_CONFIGURED_FILTER"
value=
"Show only selected application"
/>
</component>
</component>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
...
@@ -47,7 +48,7 @@
...
@@ -47,7 +48,7 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"
$ENABLE_FLUTTER_DESKTOP$
"
>
<file
pinned=
"false"
current-in-tab=
"
false
"
>
<entry
file=
"file://$PROJECT_DIR$/lib/gengmei_flutter_plugin.dart"
>
<entry
file=
"file://$PROJECT_DIR$/lib/gengmei_flutter_plugin.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"990"
>
<state
relative-caret-position=
"990"
>
...
@@ -78,11 +79,11 @@
...
@@ -78,11 +79,11 @@
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
pinned=
"false"
current-in-tab=
"
false
"
>
<file
pinned=
"false"
current-in-tab=
"
$ENABLE_FLUTTER_DESKTOP$
"
>
<entry
file=
"file://$PROJECT_DIR$/lib/ScanImagePlugn.dart"
>
<entry
file=
"file://$PROJECT_DIR$/lib/ScanImagePlugn.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
13
7"
>
<state
relative-caret-position=
"
20
7"
>
<caret
line=
"
78"
column=
"23"
selection-start-line=
"78"
selection-start-column=
"23"
selection-end-line=
"78"
selection-end-column=
"23
"
/>
<caret
line=
"
107"
column=
"14"
selection-start-line=
"107"
selection-start-column=
"14"
selection-end-line=
"107"
selection-end-column=
"14
"
/>
<folding>
<folding>
<element
signature=
"e#45#62#0"
expanded=
"$ENABLE_FLUTTER_DESKTOP$"
/>
<element
signature=
"e#45#62#0"
expanded=
"$ENABLE_FLUTTER_DESKTOP$"
/>
</folding>
</folding>
...
@@ -304,9 +305,9 @@
...
@@ -304,9 +305,9 @@
<window_info
anchor=
"bottom"
id=
"Run"
order=
"1"
weight=
"0.49861878"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"1"
weight=
"0.49861878"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"2"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"2"
/>
<window_info
anchor=
"bottom"
id=
"Android Profiler"
order=
"3"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Android Profiler"
order=
"3"
show_stripe_button=
"false"
/>
<window_info
a
nchor=
"bottom"
id=
"Logcat"
order=
"4"
weight=
"0.20164609
"
/>
<window_info
a
ctive=
"$ENABLE_FLUTTER_DESKTOP$"
anchor=
"bottom"
id=
"Logcat"
order=
"4"
visible=
"$ENABLE_FLUTTER_DESKTOP$"
weight=
"0.42837274
"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"5"
weight=
"0.32962447"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"5"
weight=
"0.32962447"
/>
<window_info
a
ctive=
"$ENABLE_FLUTTER_DESKTOP$"
anchor=
"bottom"
id=
"Terminal"
order=
"6"
visible=
"$ENABLE_FLUTTER_DESKTOP$
"
weight=
"0.38942978"
/>
<window_info
a
nchor=
"bottom"
id=
"Terminal"
order=
"6
"
weight=
"0.38942978"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"7"
side_tool=
"$ENABLE_FLUTTER_DESKTOP$"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"7"
side_tool=
"$ENABLE_FLUTTER_DESKTOP$"
/>
<window_info
anchor=
"bottom"
id=
"Flutter Performance"
order=
"8"
side_tool=
"$ENABLE_FLUTTER_DESKTOP$"
/>
<window_info
anchor=
"bottom"
id=
"Flutter Performance"
order=
"8"
side_tool=
"$ENABLE_FLUTTER_DESKTOP$"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"9"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"9"
/>
...
@@ -608,6 +609,16 @@
...
@@ -608,6 +609,16 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/gengmei_flutter_plugin.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"990"
>
<caret
line=
"45"
selection-start-line=
"45"
selection-end-line=
"45"
/>
<folding>
<element
signature=
"e#0#20#0"
expanded=
"$ENABLE_FLUTTER_DESKTOP$"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/SharedPlugin.dart"
>
<entry
file=
"file://$PROJECT_DIR$/lib/SharedPlugin.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"308"
>
<state
relative-caret-position=
"308"
>
...
@@ -617,23 +628,13 @@
...
@@ -617,23 +628,13 @@
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/ScanImagePlugn.dart"
>
<entry
file=
"file://$PROJECT_DIR$/lib/ScanImagePlugn.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
13
7"
>
<state
relative-caret-position=
"
20
7"
>
<caret
line=
"
78"
column=
"23"
selection-start-line=
"78"
selection-start-column=
"23"
selection-end-line=
"78"
selection-end-column=
"23
"
/>
<caret
line=
"
107"
column=
"14"
selection-start-line=
"107"
selection-start-column=
"14"
selection-end-line=
"107"
selection-end-column=
"14
"
/>
<folding>
<folding>
<element
signature=
"e#45#62#0"
expanded=
"$ENABLE_FLUTTER_DESKTOP$"
/>
<element
signature=
"e#45#62#0"
expanded=
"$ENABLE_FLUTTER_DESKTOP$"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/gengmei_flutter_plugin.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"990"
>
<caret
line=
"45"
selection-start-line=
"45"
selection-end-line=
"45"
/>
<folding>
<element
signature=
"e#0#20#0"
expanded=
"$ENABLE_FLUTTER_DESKTOP$"
/>
</folding>
</state>
</provider>
</entry>
</component>
</component>
</project>
</project>
\ No newline at end of file
ios/Classes/GengmeiFlutterPlugin.m
View file @
1a6c3ef1
...
@@ -522,7 +522,7 @@ NSString *cacheDirectory;
...
@@ -522,7 +522,7 @@ NSString *cacheDirectory;
imageRequestOption
.
version
=
PHImageRequestOptionsVersionUnadjusted
;
imageRequestOption
.
version
=
PHImageRequestOptionsVersionUnadjusted
;
[[
PHImageManager
defaultManager
]
requestImageDataForAsset
:
assets
options
:
imageRequestOption
resultHandler
:^
(
NSData
*
_Nullable
imageData
,
NSString
*
_Nullable
dataUTI
,
UIImageOrientation
orientation
,
NSDictionary
*
_Nullable
info
)
{
[[
PHImageManager
defaultManager
]
requestImageDataForAsset
:
assets
options
:
imageRequestOption
resultHandler
:^
(
NSData
*
_Nullable
imageData
,
NSString
*
_Nullable
dataUTI
,
UIImageOrientation
orientation
,
NSDictionary
*
_Nullable
info
)
{
@autoreleasepool
{
@autoreleasepool
{
[[
ResultManager
sharedSingleton
]
resultSuccess
:[
NSNumber
numberWithLong
:
resultTemp
]
:
imageData
];
[[
ResultManager
sharedSingleton
]
resultSuccess
:[
NSNumber
numberWithLong
:
resultTemp
]
:
[
FlutterStandardTypedData
typedDataWithBytes
:
imageData
]
];
}
}
}];
}];
}
else
if
([[
self
.
takePhotoMap
allKeys
]
containsObject
:
path
]){
}
else
if
([[
self
.
takePhotoMap
allKeys
]
containsObject
:
path
]){
...
...
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