Browse Source

update photo_manager version

cjl_macbook 6 years ago
parent
commit
10e9fd9d7a
4 changed files with 34 additions and 12 deletions
  1. 8
    0
      CHANGELOG.md
  2. 22
    8
      README.md
  3. 1
    1
      pubspec.lock
  4. 3
    3
      pubspec.yaml

+ 8
- 0
CHANGELOG.md View File

@@ -1,5 +1,13 @@
1 1
 # CHANGELOG
2 2
 
3
+## [0.1.8]
4
+
5
+Fixed crash bug when the number of photos or videos was zero.
6
+
7
+## [0.1.7]
8
+
9
+add a badge delegate for asset
10
+
3 11
 ## [0.1.6] rollback photo_manager version
4 12
 
5 13
 sort asset by date

+ 22
- 8
README.md View File

@@ -12,7 +12,7 @@ support video
12 12
 
13 13
 use flutter as ui
14 14
 
15
-if you want to build custom ui, you just need api to make custom ui. to use [photo_manager](https://github.com/CaiJingLong/flutter_photo_manager)
15
+if you want to build custom ui, you just need api to make custom ui. to use [photo_manager](https://github.com/CaiJingLong/flutter_photo_manager) or fork the library to custom ui.
16 16
 
17 17
 ## screenshot
18 18
 
@@ -24,13 +24,13 @@ API incompatibility
24 24
 
25 25
 because support video, so the ImagePathEntity and ImageEntity rename to AssetPathEntity and AssetEntity.
26 26
 
27
-so PhotoPicker.pickImage return type will change to List<AssetEntity>
27
+so PhotoPicker.pickImage return type will change to `List<AssetEntity>`
28 28
 
29 29
 ## install
30 30
 
31 31
 ```yaml
32 32
 dependencies:
33
-  photo: ^0.1.6
33
+  photo: ^0.1.8
34 34
 ```
35 35
 
36 36
 ## import
@@ -89,11 +89,11 @@ you can see [github](https://github.com/caijinglong/flutter_photo/blob/master/ex
89 89
 
90 90
 ### glide
91 91
 
92
-android use glide to create image thumb, version is 4.8.0
92
+Android native use glide to create image thumb bytes, version is 4.8.0.
93 93
 
94
-if you other android library use the library, and version is not same, then you need edit your android project's build.gradle
94
+If your other android library use the library, and version is not same, then you need edit your android project's build.gradle.
95 95
 
96
-```gradle
96
+```groovy
97 97
 rootProject.allprojects {
98 98
 
99 99
     subprojects {
@@ -121,8 +121,8 @@ Because the album is a privacy privilege, you need user permission to access it.
121 121
 like next
122 122
 
123 123
 ```plist
124
-	<key>NSPhotoLibraryUsageDescription</key>
125
-    <string>App need your agree, can visit your album</string>
124
+<key>NSPhotoLibraryUsageDescription</key>
125
+<string>App need your agree, can visit your album</string>
126 126
 ```
127 127
 
128 128
 xcode like image
@@ -131,3 +131,17 @@ xcode like image
131 131
 ### build error
132 132
 
133 133
 if you build error like include of non-modular header inside framework module, see [#10](https://github.com/CaiJingLong/flutter_photo/issues/10) or [so](https://stackoverflow.com/questions/27776497/include-of-non-modular-header-inside-framework-module)
134
+
135
+## thanks
136
+
137
+Part of the Android code comes from [debuggerx01](https://github.com/debuggerx01).
138
+
139
+## donate
140
+
141
+If my code helps you, and you're willing to buy me a cup of coffee.
142
+
143
+you can use [paypal](https://paypal.me/caijinglong)
144
+
145
+or scan my alipay
146
+
147
+<img width="200px"  src="https://raw.githubusercontent.com/CaiJingLong/asset_for_picgo/master/20181228213953.png"/>

+ 1
- 1
pubspec.lock View File

@@ -66,7 +66,7 @@ packages:
66 66
       name: photo_manager
67 67
       url: "https://pub.flutter-io.cn"
68 68
     source: hosted
69
-    version: "0.1.8"
69
+    version: "0.1.10"
70 70
   quiver:
71 71
     dependency: transitive
72 72
     description:

+ 3
- 3
pubspec.yaml View File

@@ -1,6 +1,6 @@
1 1
 name: photo
2 2
 description: image picker, multi picker support video / icloud asset ,use flutter as ui, if you want to build custom ui,you just use photo_manager.
3
-version: 0.1.6
3
+version: 0.1.8
4 4
 author: caijinglong<cjl_spy@163.com>
5 5
 homepage: https://github.com/CaiJingLong/flutter_photo
6 6
 
@@ -11,13 +11,13 @@ dependencies:
11 11
   flutter:
12 12
     sdk: flutter
13 13
 
14
-  photo_manager: ^0.1.8
14
+  photo_manager: ^0.1.10
15 15
   # photo_manager:
16 16
   #   git:
17 17
   #     url: https://github.com/CaiJingLong/flutter_photo_manager.git
18 18
   #     ref: 11705633cbd01724af6aaa6aa8c8b9ca86ea385c
19 19
 #  photo_manager:
20
-#    path: /Users/caijinglong/code/flutter/plugin/flutter_photo_manager/
20
+#    path: /Users/caijinglong/code/flutter/plugin/flutter_photo_manager
21 21
 
22 22
 dev_dependencies:
23 23
   flutter_test: