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
f8a244fe
Commit
f8a244fe
authored
Oct 29, 2019
by
林生雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
02ffd750
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
workspace.xml
.idea/workspace.xml
+3
-6
GengmeiFlutterPlugin.m
ios/Classes/GengmeiFlutterPlugin.m
+1
-1
ScanImagePlugn.dart
lib/ScanImagePlugn.dart
+1
-1
No files found.
.idea/workspace.xml
View file @
f8a244fe
...
@@ -5,10 +5,7 @@
...
@@ -5,10 +5,7 @@
<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"
>
<list
default=
"true"
id=
"5be6bbb5-7d6e-4540-a24f-d2b3bf78b3ba"
name=
"Default Changelist"
comment=
""
>
<list
default=
"true"
id=
"5be6bbb5-7d6e-4540-a24f-d2b3bf78b3ba"
name=
"Default Changelist"
comment=
""
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/.idea/workspace.xml"
afterDir=
"false"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/.dart_tool/"
/>
<ignored
path=
"$PROJECT_DIR$/.dart_tool/"
/>
<ignored
path=
"$PROJECT_DIR$/.idea/"
/>
<ignored
path=
"$PROJECT_DIR$/.idea/"
/>
<ignored
path=
"$PROJECT_DIR$/.pub/"
/>
<ignored
path=
"$PROJECT_DIR$/.pub/"
/>
...
@@ -106,7 +103,7 @@
...
@@ -106,7 +103,7 @@
<entry
file=
"file://$PROJECT_DIR$/ios/Classes/GengmeiFlutterPlugin.m"
>
<entry
file=
"file://$PROJECT_DIR$/ios/Classes/GengmeiFlutterPlugin.m"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"10516"
>
<state
relative-caret-position=
"10516"
>
<caret
line=
"50
7"
column=
"22"
selection-start-line=
"507"
selection-start-column=
"22"
selection-end-line=
"507
"
selection-end-column=
"22"
/>
<caret
line=
"50
8"
column=
"22"
selection-start-line=
"508"
selection-start-column=
"22"
selection-end-line=
"508
"
selection-end-column=
"22"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -553,7 +550,7 @@
...
@@ -553,7 +550,7 @@
<entry
file=
"file://$PROJECT_DIR$/ios/Classes/GengmeiFlutterPlugin.m"
>
<entry
file=
"file://$PROJECT_DIR$/ios/Classes/GengmeiFlutterPlugin.m"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"10516"
>
<state
relative-caret-position=
"10516"
>
<caret
line=
"50
7"
column=
"22"
selection-start-line=
"507"
selection-start-column=
"22"
selection-end-line=
"507
"
selection-end-column=
"22"
/>
<caret
line=
"50
8"
column=
"22"
selection-start-line=
"508"
selection-start-column=
"22"
selection-end-line=
"508
"
selection-end-column=
"22"
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
...
ios/Classes/GengmeiFlutterPlugin.m
View file @
f8a244fe
...
@@ -225,7 +225,7 @@ NSString *cacheDirectory;
...
@@ -225,7 +225,7 @@ NSString *cacheDirectory;
});
});
});
});
}
else
if
([
@"IOS_IMAGE_BY_PATH"
isEqualToString
:
call
.
method
]){
}
else
if
([
@"IOS_IMAGE_BY_PATH"
isEqualToString
:
call
.
method
]){
NSArray
<
NSString
*>
*
path
=
call
.
arguments
[
@"path"
]
;
NSArray
<
NSString
*>
*
path
=
call
.
arguments
;
NSLog
(
@"IOS %@"
,
path
.
count
);
NSLog
(
@"IOS %@"
,
path
.
count
);
long
resultTemp
=
self
.
resultKey
;
long
resultTemp
=
self
.
resultKey
;
if
(
path
!=
nil
){
if
(
path
!=
nil
){
...
...
lib/ScanImagePlugn.dart
View file @
f8a244fe
...
@@ -37,7 +37,7 @@ class ScanImagePlugn {
...
@@ -37,7 +37,7 @@ class ScanImagePlugn {
static
Future
<
List
>
ios_album_path
(
static
Future
<
List
>
ios_album_path
(
MethodChannel
channel
,
List
<
String
>
path
)
async
{
MethodChannel
channel
,
List
<
String
>
path
)
async
{
return
await
channel
.
invokeMethod
(
"IOS_IMAGE_BY_PATH"
,
{
"path"
,
path
}
);
return
await
channel
.
invokeMethod
(
"IOS_IMAGE_BY_PATH"
,
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