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
32b7d47b
Commit
32b7d47b
authored
Nov 25, 2019
by
林生雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
d1da53f0
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
186 additions
and
142 deletions
+186
-142
workspace.xml
.idea/workspace.xml
+103
-123
Flutter.podspec
example/ios/Flutter/Flutter.podspec
+18
-0
flutter_export_environment.sh
example/ios/Flutter/flutter_export_environment.sh
+3
-2
Podfile.lock
example/ios/Podfile.lock
+1
-1
pubspec.lock
example/pubspec.lock
+8
-8
pubspec.yaml
example/pubspec.yaml
+1
-1
gengmei_flutter_plugin.iml
gengmei_flutter_plugin.iml
+0
-1
GengmeiFlutterPlugin.m
ios/Classes/GengmeiFlutterPlugin.m
+1
-4
pubspec.lock
pubspec.lock
+51
-2
No files found.
.idea/workspace.xml
View file @
32b7d47b
...
...
@@ -11,18 +11,16 @@
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/ios/Flutter/flutter_export_environment.sh"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/ios/Flutter/flutter_export_environment.sh"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/ios/Podfile.lock"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/ios/Podfile.lock"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/pubspec.lock"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/pubspec.lock"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/pubspec.yaml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/pubspec.yaml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/gengmei_flutter_plugin.iml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/gengmei_flutter_plugin.iml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/ios/Classes/GengmeiFlutterPlugin.m"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/ios/Classes/GengmeiFlutterPlugin.m"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/lib/ScanImagePlugn.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/lib/ScanImagePlugn.dart"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/lib/gengmei_flutter_plugin.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/lib/gengmei_flutter_plugin.dart"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/pubspec.lock"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/pubspec.lock"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/Flutter/flutter_export_environment.sh"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/Flutter/flutter_export_environment.sh"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/ios/Podfile.lock"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/ios/Podfile.lock"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/pubspec.lock"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/pubspec.lock"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/example/pubspec.yaml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/example/pubspec.yaml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/gengmei_flutter_plugin.iml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/gengmei_flutter_plugin.iml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/ios/Classes/GengmeiFlutterPlugin.m"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/ios/Classes/GengmeiFlutterPlugin.m"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/lib/ScanImagePlugn.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/lib/ScanImagePlugn.dart"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/lib/gengmei_flutter_plugin.dart"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/lib/gengmei_flutter_plugin.dart"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/pubspec.lock"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/pubspec.lock"
afterDir=
"false"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/.dart_tool/"
/>
...
...
@@ -43,65 +41,64 @@
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"AKC0218316000622"
/>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
pinned=
"false"
current-in-tab=
"
$ENABLE_FLUTTER_DESKTOP$
"
>
<entry
file=
"file://$PROJECT_DIR$/android/src/main/java/com/example/gengmei_flutter_plugin/
GengmeiFlutterPlugin
.kt"
>
<file
pinned=
"false"
current-in-tab=
"
false
"
>
<entry
file=
"file://$PROJECT_DIR$/android/src/main/java/com/example/gengmei_flutter_plugin/
act/PreviewActivity
.kt"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
40
"
>
<caret
line=
"
133"
column=
"38"
selection-start-line=
"133"
selection-start-column=
"28"
selection-end-line=
"133"
selection-end-column=
"38
"
/>
<state
relative-caret-position=
"
286
"
>
<caret
line=
"
20"
column=
"25"
selection-start-line=
"20"
selection-start-column=
"25"
selection-end-line=
"20"
selection-end-column=
"25
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/lib/S
haredPlugi
n.dart"
>
<entry
file=
"file://$PROJECT_DIR$/lib/S
canImagePlug
n.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"330"
>
<caret
line=
"18"
column=
"39"
selection-start-line=
"18"
selection-start-column=
"28"
selection-end-line=
"18"
selection-end-column=
"39"
/>
<state
relative-caret-position=
"748"
>
<caret
line=
"38"
column=
"3"
selection-start-line=
"38"
selection-start-column=
"3"
selection-end-line=
"38"
selection-end-column=
"3"
/>
<folding>
<element
signature=
"e#45#86#0"
expanded=
"$ENABLE_FLUTTER_DESKTOP$"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
false
"
>
<entry
file=
"file://$PROJECT_DIR$/
example/lib/AlbumModel/repository/AlbumRepository
.dart"
>
<file
pinned=
"false"
current-in-tab=
"
$ENABLE_FLUTTER_DESKTOP$
"
>
<entry
file=
"file://$PROJECT_DIR$/
lib/SharedPlugin
.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"396"
>
<caret
line=
"23"
column=
"8"
selection-start-line=
"23"
selection-start-column=
"8"
selection-end-line=
"23"
selection-end-column=
"8"
/>
<folding>
<element
signature=
"e#46#106#0"
expanded=
"$ENABLE_FLUTTER_DESKTOP$"
/>
</folding>
<state
relative-caret-position=
"-1134"
>
<caret
line=
"18"
column=
"39"
selection-start-line=
"18"
selection-start-column=
"28"
selection-end-line=
"18"
selection-end-column=
"39"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
example/lib/main.dar
t"
>
<entry
file=
"file://$PROJECT_DIR$/
android/src/main/java/com/example/gengmei_flutter_plugin/act/VideoActivity.k
t"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3806"
>
<caret
line=
"173"
column=
"47"
selection-start-line=
"173"
selection-start-column=
"47"
selection-end-line=
"173"
selection-end-column=
"47"
/>
<folding>
<element
signature=
"e#0#17#0"
expanded=
"$ENABLE_FLUTTER_DESKTOP$"
/>
</folding>
<state
relative-caret-position=
"176"
>
<caret
line=
"15"
column=
"6"
selection-start-line=
"15"
selection-start-column=
"6"
selection-end-line=
"15"
selection-end-column=
"6"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$
USER_HOME$/Downloads/flutter/bin/cache/pkg/sky_engine/lib/core/double.dar
t"
>
<entry
file=
"file://$
PROJECT_DIR$/android/src/main/java/com/example/gengmei_flutter_plugin/act/view/PinchImageView.k
t"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
594
"
>
<caret
line=
"
29"
column=
"22"
selection-start-line=
"29"
selection-start-column=
"22"
selection-end-line=
"29"
selection-end-column=
"22
"
/>
<state
relative-caret-position=
"
242
"
>
<caret
line=
"
19"
column=
"6"
selection-start-line=
"19"
selection-start-column=
"6"
selection-end-line=
"19"
selection-end-column=
"6
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/lib/ScanImagePlugn.dart"
>
<entry
file=
"file://$PROJECT_DIR$/example/pubspec.lock"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
/>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/example/pubspec.yaml"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"748"
>
<caret
line=
"38"
column=
"3"
selection-start-line=
"38"
selection-start-column=
"3"
selection-end-line=
"38"
selection-end-column=
"3"
/>
<folding>
<element
signature=
"e#45#86#0"
expanded=
"$ENABLE_FLUTTER_DESKTOP$"
/>
</folding>
<state
relative-caret-position=
"308"
>
<caret
line=
"14"
column=
"17"
selection-start-line=
"14"
selection-start-column=
"17"
selection-end-line=
"14"
selection-end-column=
"17"
/>
</state>
</provider>
</entry>
...
...
@@ -109,8 +106,8 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$USER_HOME$/Downloads/flutter/packages/flutter/lib/src/services/platform_channel.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"6
424
"
>
<caret
line=
"
301"
column=
"12"
selection-start-line=
"301"
selection-start-column=
"12"
selection-end-line=
"301"
selection-end-column=
"12
"
/>
<state
relative-caret-position=
"6
226
"
>
<caret
line=
"
291"
column=
"5"
selection-start-line=
"291"
selection-start-column=
"5"
selection-end-line=
"291"
selection-end-column=
"5
"
/>
</state>
</provider>
</entry>
...
...
@@ -154,7 +151,6 @@
<find>
_rawPath
</find>
<find>
VALUE
</find>
<find>
albumLive
</find>
<find>
nativeCamera
</find>
<find>
native
</find>
<find>
getStringList
</find>
<find>
init!!!
</find>
...
...
@@ -176,6 +172,8 @@
<find>
pop
</find>
<find>
ontap
</find>
<find>
onEv
</find>
<find>
gotoNativeCameraKey
</find>
<find>
nativeCamera
</find>
</findStrings>
</component>
<component
name=
"Git.Settings"
>
...
...
@@ -189,7 +187,6 @@
<option
value=
"$PROJECT_DIR$/example/lib/AlbumModel/AlbumRouterImpl.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/AlbumModel/AlbumRouter.dart"
/>
<option
value=
"$PROJECT_DIR$/example/lib/Annotations/Generator/RouterCenterGenerator.dart"
/>
<option
value=
"$PROJECT_DIR$/example/pubspec.yaml"
/>
<option
value=
"$PROJECT_DIR$/android/src/main/kotlin/com/example/gengmei_flutter_plugin/sharedPrefernces/SharedManager.kt"
/>
<option
value=
"$PROJECT_DIR$/pubspec.yaml"
/>
<option
value=
"$PROJECT_DIR$/lib/A.dart"
/>
...
...
@@ -206,14 +203,16 @@
<option
value=
"$PROJECT_DIR$/example/lib/AlbumModel/page/album/AlbumModel.dart"
/>
<option
value=
"$PROJECT_DIR$/lib/ScanImagePlugn.dart"
/>
<option
value=
"$PROJECT_DIR$/lib/gengmei_flutter_plugin.dart"
/>
<option
value=
"$PROJECT_DIR$/android/src/main/java/com/example/gengmei_flutter_plugin/GengmeiFlutterPlugin.kt"
/>
<option
value=
"$PROJECT_DIR$/example/pubspec.yaml"
/>
</list>
</option>
</component>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"
-83
"
/>
<option
name=
"y"
value=
"
24
"
/>
<option
name=
"x"
value=
"
5
"
/>
<option
name=
"y"
value=
"
57
"
/>
<option
name=
"width"
value=
"1440"
/>
<option
name=
"height"
value=
"81
4
"
/>
<option
name=
"height"
value=
"81
2
"
/>
</component>
<component
name=
"ProjectLevelVcsManager"
settingsEditedManually=
"$ENABLE_FLUTTER_DESKTOP$"
/>
<component
name=
"ProjectView"
>
...
...
@@ -222,7 +221,6 @@
</navigator>
<panes>
<pane
id=
"Scope"
/>
<pane
id=
"AndroidView"
/>
<pane
id=
"ProjectPane"
>
<subPane>
<expand>
...
...
@@ -230,39 +228,11 @@
<item
name=
"gengmei_flutter_plugin"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"gengmei_flutter_plugin"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"gengmei_flutter_plugin"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"gengmei_flutter_plugin"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"android"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"gengmei_flutter_plugin"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"gengmei_flutter_plugin"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"android"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"gengmei_flutter_plugin"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"gengmei_flutter_plugin"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"android"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"gengmei_flutter_plugin"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"gengmei_flutter_plugin"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"gengmei_flutter_plugin"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"android"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"res"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"gengmei_flutter_plugin"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"External Libraries"
type=
"cb654da1:ExternalLibrariesNode"
/>
</path>
</expand>
<select
/>
</subPane>
</pane>
<pane
id=
"AndroidView"
/>
<pane
id=
"PackagesPane"
/>
</panes>
</component>
...
...
@@ -310,9 +280,10 @@
<servers
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-83"
y=
"24"
width=
"1440"
height=
"814"
extended-state=
"0"
/>
<frame
x=
"5"
y=
"57"
width=
"1440"
height=
"812"
extended-state=
"0"
/>
<editor
active=
"$ENABLE_FLUTTER_DESKTOP$"
/>
<layout>
<window_info
active=
"$ENABLE_FLUTTER_DESKTOP$"
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"$ENABLE_FLUTTER_DESKTOP$"
weight=
"0.19742489"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"$ENABLE_FLUTTER_DESKTOP$"
weight=
"0.19742489"
/>
<window_info
id=
"Captures"
order=
"1"
side_tool=
"$ENABLE_FLUTTER_DESKTOP$"
/>
<window_info
id=
"Structure"
order=
"2"
side_tool=
"$ENABLE_FLUTTER_DESKTOP$"
/>
<window_info
id=
"Image Layers"
order=
"3"
/>
...
...
@@ -322,12 +293,12 @@
<window_info
id=
"Capture Tool"
order=
"7"
/>
<window_info
id=
"Favorites"
order=
"8"
side_tool=
"$ENABLE_FLUTTER_DESKTOP$"
/>
<window_info
anchor=
"bottom"
id=
"Dart Analysis"
order=
"0"
weight=
"0.32963988"
/>
<window_info
a
nchor=
"bottom"
id=
"Run"
order=
"1"
weight=
"0.5006954
"
/>
<window_info
a
ctive=
"$ENABLE_FLUTTER_DESKTOP$"
anchor=
"bottom"
id=
"Run"
order=
"1"
visible=
"$ENABLE_FLUTTER_DESKTOP$"
weight=
"0.5
"
/>
<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=
"Logcat"
order=
"4"
visible=
"$ENABLE_FLUTTER_DESKTOP$"
weight=
"0.077562325
"
/>
<window_info
anchor=
"bottom"
id=
"Logcat"
order=
"4"
weight=
"0.29639888
"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"5"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"6"
weight=
"0.34
8066
3"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"6"
weight=
"0.34
58333
3"
/>
<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=
"Version Control"
order=
"9"
/>
...
...
@@ -343,30 +314,6 @@
</layout>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/example/lib/AlbumModel/AlbumRouterImpl.dart"
/>
<entry
file=
"file://$USER_HOME$/Downloads/flutter/packages/flutter/lib/src/widgets/navigator.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"38500"
>
<caret
line=
"1767"
selection-start-line=
"1767"
selection-end-line=
"1767"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$USER_HOME$/Downloads/flutter/packages/flutter/lib/src/semantics/semantics.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"82984"
>
<caret
line=
"3789"
column=
"3"
selection-start-line=
"3789"
selection-start-column=
"3"
selection-end-line=
"3789"
selection-end-column=
"3"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/pubspec.yaml"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"330"
>
<caret
line=
"15"
selection-start-line=
"15"
selection-end-line=
"15"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/android/src/main/kotlin/com/example/gengmei_flutter_plugin/sharedPrefernces/SharedManager.kt"
/>
<entry
file=
"file://$PROJECT_DIR$/lib/A.dart"
/>
<entry
file=
"file://$PROJECT_DIR$/android/src/main/java/com/example/gengmei_flutter_plugin/a"
/>
<entry
file=
"file://$PROJECT_DIR$/android/build.gradle"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
...
...
@@ -479,13 +426,6 @@
<entry
file=
"file://$PROJECT_DIR$/pubspec.lock"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/pubspec.yaml"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"44"
>
<caret
line=
"2"
column=
"9"
selection-start-line=
"2"
selection-start-column=
"9"
selection-end-line=
"2"
selection-end-column=
"16"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/ios/Classes/GengmeiFlutterPlugin.m"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"12672"
>
...
...
@@ -568,17 +508,28 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/android/src/main/java/com/example/gengmei_flutter_plugin/GengmeiFlutterPlugin.kt"
>
<entry
file=
"file://$PROJECT_DIR$/web/test/widget_test.dart"
/>
<entry
file=
"file://$PROJECT_DIR$/pubspec.yaml"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
40
"
>
<caret
line=
"
133"
column=
"38"
selection-start-line=
"133"
selection-start-column=
"28"
selection-end-line=
"133"
selection-end-column=
"38
"
/>
<state
relative-caret-position=
"
349
"
>
<caret
line=
"
28"
column=
"15"
selection-start-line=
"28"
selection-start-column=
"4"
selection-end-line=
"28"
selection-end-column=
"15
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
lib/SharedPlug
in.dart"
>
<entry
file=
"file://$PROJECT_DIR$/
example/lib/ma
in.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"330"
>
<caret
line=
"18"
column=
"39"
selection-start-line=
"18"
selection-start-column=
"28"
selection-end-line=
"18"
selection-end-column=
"39"
/>
<state
relative-caret-position=
"3674"
>
<caret
line=
"173"
column=
"47"
selection-start-line=
"173"
selection-start-column=
"47"
selection-end-line=
"173"
selection-end-column=
"47"
/>
<folding>
<element
signature=
"e#0#17#0"
expanded=
"$ENABLE_FLUTTER_DESKTOP$"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$USER_HOME$/Downloads/flutter/bin/cache/pkg/sky_engine/lib/core/double.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"594"
>
<caret
line=
"29"
column=
"22"
selection-start-line=
"29"
selection-start-column=
"22"
selection-end-line=
"29"
selection-end-column=
"22"
/>
</state>
</provider>
</entry>
...
...
@@ -592,20 +543,17 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
example/lib/main.dar
t"
>
<entry
file=
"file://$PROJECT_DIR$/
android/src/main/java/com/example/gengmei_flutter_plugin/GengmeiFlutterPlugin.k
t"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3806"
>
<caret
line=
"173"
column=
"47"
selection-start-line=
"173"
selection-start-column=
"47"
selection-end-line=
"173"
selection-end-column=
"47"
/>
<folding>
<element
signature=
"e#0#17#0"
expanded=
"$ENABLE_FLUTTER_DESKTOP$"
/>
</folding>
<state
relative-caret-position=
"4048"
>
<caret
line=
"217"
column=
"20"
selection-start-line=
"217"
selection-start-column=
"20"
selection-end-line=
"217"
selection-end-column=
"20"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$
USER_HOME$/Downloads/flutter/bin/cache/pkg/sky_engine/lib/core/double.dar
t"
>
<entry
file=
"file://$
PROJECT_DIR$/android/src/main/java/com/example/gengmei_flutter_plugin/act/PreviewActivity.k
t"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
594
"
>
<caret
line=
"2
9"
column=
"22"
selection-start-line=
"29"
selection-start-column=
"22"
selection-end-line=
"29"
selection-end-column=
"22
"
/>
<state
relative-caret-position=
"
286
"
>
<caret
line=
"2
0"
column=
"25"
selection-start-line=
"20"
selection-start-column=
"25"
selection-end-line=
"20"
selection-end-column=
"25
"
/>
</state>
</provider>
</entry>
...
...
@@ -619,10 +567,34 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/android/src/main/java/com/example/gengmei_flutter_plugin/act/VideoActivity.kt"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"176"
>
<caret
line=
"15"
column=
"6"
selection-start-line=
"15"
selection-start-column=
"6"
selection-end-line=
"15"
selection-end-column=
"6"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/android/src/main/java/com/example/gengmei_flutter_plugin/act/view/PinchImageView.kt"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"242"
>
<caret
line=
"19"
column=
"6"
selection-start-line=
"19"
selection-start-column=
"6"
selection-end-line=
"19"
selection-end-column=
"6"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/pubspec.lock"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/example/pubspec.yaml"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"308"
>
<caret
line=
"14"
column=
"17"
selection-start-line=
"14"
selection-start-column=
"17"
selection-end-line=
"14"
selection-end-column=
"17"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$USER_HOME$/Downloads/flutter/packages/flutter/lib/src/services/platform_channel.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"6
424
"
>
<caret
line=
"
301"
column=
"12"
selection-start-line=
"301"
selection-start-column=
"12"
selection-end-line=
"301"
selection-end-column=
"12
"
/>
<state
relative-caret-position=
"6
226
"
>
<caret
line=
"
291"
column=
"5"
selection-start-line=
"291"
selection-start-column=
"5"
selection-end-line=
"291"
selection-end-column=
"5
"
/>
</state>
</provider>
</entry>
...
...
@@ -646,5 +618,12 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/lib/SharedPlugin.dart"
>
<provider
selected=
"$ENABLE_FLUTTER_DESKTOP$"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1134"
>
<caret
line=
"18"
column=
"39"
selection-start-line=
"18"
selection-start-column=
"28"
selection-end-line=
"18"
selection-end-column=
"39"
/>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
example/ios/Flutter/Flutter.podspec
0 → 100644
View file @
32b7d47b
#
# NOTE: This podspec is NOT to be published. It is only used as a local source!
#
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
'Flutter'
s
.
version
=
'1.0.0'
s
.
summary
=
'High-performance, high-fidelity mobile apps.'
s
.
description
=
<<-
DESC
Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS.
DESC
s
.
homepage
=
'https://flutter.io'
s
.
license
=
{
:type
=>
'MIT'
}
s
.
author
=
{
'Flutter Dev Team'
=>
'flutter-dev@googlegroups.com'
}
s
.
source
=
{
:git
=>
'https://github.com/flutter/engine'
,
:tag
=>
s
.
version
.
to_s
}
s
.
ios
.
deployment_target
=
'8.0'
s
.
vendored_frameworks
=
'Flutter.framework'
end
example/ios/Flutter/flutter_export_environment.sh
View file @
32b7d47b
...
...
@@ -2,8 +2,9 @@
# This is a generated file; do not edit or check into version control.
export
"FLUTTER_ROOT=/Users/apple/Downloads/flutter"
export
"FLUTTER_APPLICATION_PATH=/Users/apple/lsy/gengmei_flutter_plugin/example"
export
"FLUTTER_TARGET=
/Users/apple/lsy/gengmei_flutter_plugin/example/
lib/main.dart"
export
"FLUTTER_TARGET=lib/main.dart"
export
"FLUTTER_BUILD_DIR=build"
export
"SYMROOT=
${
SOURCE_ROOT
}
/../build/ios"
export
"FLUTTER_FRAMEWORK_DIR=/Users/apple/Downloads/flutter/bin/cache/artifacts/engine/ios"
export
"TRACK_WIDGET_CREATION=true"
export
"FLUTTER_BUILD_NAME=1.0.0"
export
"FLUTTER_BUILD_NUMBER=1"
example/ios/Podfile.lock
View file @
32b7d47b
...
...
@@ -14,7 +14,7 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/gengmei_flutter_plugin/ios"
SPEC CHECKSUMS:
Flutter:
0e3d915762c693b495b44d77113d4970485de6ec
Flutter:
58dd7d1b27887414a370fcccb9e645c08ffd7a6a
gengmei_flutter_plugin: 9461e8644c06c4a0e38292ddcca1cc55e6ac6156
PODFILE CHECKSUM: 7fb83752f59ead6285236625b82473f90b1cb932
...
...
example/pubspec.lock
View file @
32b7d47b
...
...
@@ -7,14 +7,14 @@ packages:
name: async
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.
3
.0"
version: "2.
2
.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.
5
"
version: "1.0.
4
"
charcode:
dependency: transitive
description:
...
...
@@ -66,35 +66,35 @@ packages:
name: meta
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.
7
"
version: "1.1.
6
"
path:
dependency: transitive
description:
name: path
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.6.
4
"
version: "1.6.
2
"
pedantic:
dependency: transitive
description:
name: pedantic
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.
8.0+1
"
version: "1.
7.0
"
quiver:
dependency: transitive
description:
name: quiver
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.
5
"
version: "2.0.
3
"
rxdart:
dependency: "direct main"
description:
name: rxdart
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.22.
4
"
version: "0.22.
6
"
sky_engine:
dependency: transitive
description: flutter
...
...
@@ -127,7 +127,7 @@ packages:
name: string_scanner
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.0.
5
"
version: "1.0.
4
"
term_glyph:
dependency: transitive
description:
...
...
example/pubspec.yaml
View file @
32b7d47b
...
...
@@ -12,7 +12,7 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons
:
^0.1.2
rxdart
:
^0.22.0
#链式编程
rxdart
:
^0.22.0
dev_dependencies
:
flutter_test
:
...
...
gengmei_flutter_plugin.iml
View file @
32b7d47b
...
...
@@ -17,7 +17,6 @@
<excludeFolder
url=
"file://$MODULE_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/.dart_tool"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/.pub"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/build"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/example/ios/.symlinks/plugins/gengmei_flutter_plugin/example/ios/Flutter/App.framework/flutter_assets/packages"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/example/ios/Flutter/App.framework/flutter_assets/packages"
/>
</content>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
...
...
ios/Classes/GengmeiFlutterPlugin.m
View file @
32b7d47b
...
...
@@ -104,9 +104,7 @@ NSString *cacheDirectory;
AVAuthorizationStatus
authStatus
=
[
AVCaptureDevice
authorizationStatusForMediaType
:
mediaType
];
//读取设备授
if
(
authStatus
==
AVAuthorizationStatusAuthorized
){
NSLog
(
@"相机可用"
);
dispatch_async
(
dispatch_get_main_queue
(),
^
{
[
self
nativeCamera
];
});
}
else
if
(
authStatus
==
AVAuthorizationStatusRestricted
||
authStatus
==
AVAuthorizationStatusDenied
){
NSString
*
errorStr
=
@"应用相机权限受限,请在iPhone的“设置-隐私-相机”选项中,允许好享玩访问你的相机。"
;
...
...
@@ -115,9 +113,7 @@ NSString *cacheDirectory;
}
else
{
[
AVCaptureDevice
requestAccessForMediaType
:
AVMediaTypeVideo
completionHandler
:
^
(
BOOL
granted
)
{
if
(
granted
){
dispatch_async
(
dispatch_get_main_queue
(),
^
{
[
self
nativeCamera
];
});
}
else
{
NSString
*
errorStr
=
@"应用相机权限受限,请在iPhone的“设置-隐私-相册”选项中,允许好享玩访问你的相册。"
;
[
self
popWindow
:
errorStr
];
...
...
@@ -576,6 +572,7 @@ NSString *cacheDirectory;
-
(
void
)
imagePickerController
:
(
UIImagePickerController
*
)
picker
didFinishPickingMediaWithInfo
:
(
NSDictionary
*
)
info
{
NSLog
(
@"imagePickerController"
);
UIImage
*
image
=
[
info
objectForKey
:
UIImagePickerControllerOriginalImage
];
UIImageWriteToSavedPhotosAlbum
(
image
,
self
,
@selector
(
imageSavedToPhotosAlbum
:
didFinishSavingWithError
:
contextInfo
:
),
nil
);
[
picker
dismissViewControllerAnimated
:
YES
completion
:
nil
];
...
...
pubspec.lock
View file @
32b7d47b
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
archive:
dependency: transitive
description:
name: archive
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.10"
args:
dependency: transitive
description:
name: args
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.5.2"
async:
dependency: transitive
description:
...
...
@@ -29,6 +43,20 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.14.11"
convert:
dependency: transitive
description:
name: convert
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.1"
crypto:
dependency: transitive
description:
name: crypto
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.3"
flutter:
dependency: "direct main"
description: flutter
...
...
@@ -39,6 +67,13 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
image:
dependency: transitive
description:
name: image
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.4"
matcher:
dependency: transitive
description:
...
...
@@ -52,7 +87,7 @@ packages:
name: meta
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.1.
7
"
version: "1.1.
8
"
path:
dependency: transitive
description:
...
...
@@ -67,6 +102,13 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "1.8.0+1"
petitparser:
dependency: transitive
description:
name: petitparser
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.4.0"
quiver:
dependency: transitive
description:
...
...
@@ -135,5 +177,12 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.8"
xml:
dependency: transitive
description:
name: xml
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.5.0"
sdks:
dart: ">=2.
2.2
<3.0.0"
dart: ">=2.
4.0
<3.0.0"
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