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
 # CHANGELOG
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
 ## [0.1.6] rollback photo_manager version
11
 ## [0.1.6] rollback photo_manager version
4
 
12
 
5
 sort asset by date
13
 sort asset by date

+ 22
- 8
README.md View File

12
 
12
 
13
 use flutter as ui
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
 ## screenshot
17
 ## screenshot
18
 
18
 
24
 
24
 
25
 because support video, so the ImagePathEntity and ImageEntity rename to AssetPathEntity and AssetEntity.
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
 ## install
29
 ## install
30
 
30
 
31
 ```yaml
31
 ```yaml
32
 dependencies:
32
 dependencies:
33
-  photo: ^0.1.6
33
+  photo: ^0.1.8
34
 ```
34
 ```
35
 
35
 
36
 ## import
36
 ## import
89
 
89
 
90
 ### glide
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
 rootProject.allprojects {
97
 rootProject.allprojects {
98
 
98
 
99
     subprojects {
99
     subprojects {
121
 like next
121
 like next
122
 
122
 
123
 ```plist
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
 xcode like image
128
 xcode like image
131
 ### build error
131
 ### build error
132
 
132
 
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)
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
       name: photo_manager
66
       name: photo_manager
67
       url: "https://pub.flutter-io.cn"
67
       url: "https://pub.flutter-io.cn"
68
     source: hosted
68
     source: hosted
69
-    version: "0.1.8"
69
+    version: "0.1.10"
70
   quiver:
70
   quiver:
71
     dependency: transitive
71
     dependency: transitive
72
     description:
72
     description:

+ 3
- 3
pubspec.yaml View File

1
 name: photo
1
 name: photo
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.
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
 author: caijinglong<cjl_spy@163.com>
4
 author: caijinglong<cjl_spy@163.com>
5
 homepage: https://github.com/CaiJingLong/flutter_photo
5
 homepage: https://github.com/CaiJingLong/flutter_photo
6
 
6
 
11
   flutter:
11
   flutter:
12
     sdk: flutter
12
     sdk: flutter
13
 
13
 
14
-  photo_manager: ^0.1.8
14
+  photo_manager: ^0.1.10
15
   # photo_manager:
15
   # photo_manager:
16
   #   git:
16
   #   git:
17
   #     url: https://github.com/CaiJingLong/flutter_photo_manager.git
17
   #     url: https://github.com/CaiJingLong/flutter_photo_manager.git
18
   #     ref: 11705633cbd01724af6aaa6aa8c8b9ca86ea385c
18
   #     ref: 11705633cbd01724af6aaa6aa8c8b9ca86ea385c
19
 #  photo_manager:
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
 dev_dependencies:
22
 dev_dependencies:
23
   flutter_test:
23
   flutter_test: