Commit 2e347612 authored by tongzifang's avatar tongzifang

add photo_manage

parent b636bae3
...@@ -7,12 +7,14 @@ import Foundation ...@@ -7,12 +7,14 @@ import Foundation
import base_data_channel import base_data_channel
import path_provider_foundation import path_provider_foundation
import photo_manager
import shared_preferences_foundation import shared_preferences_foundation
import sqflite import sqflite
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
BaseDataChannelPlugin.register(with: registry.registrar(forPlugin: "BaseDataChannelPlugin")) BaseDataChannelPlugin.register(with: registry.registrar(forPlugin: "BaseDataChannelPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
PhotoManagerPlugin.register(with: registry.registrar(forPlugin: "PhotoManagerPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin")) SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
} }
...@@ -464,6 +464,14 @@ packages: ...@@ -464,6 +464,14 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.11.1" version: "1.11.1"
photo_manager:
dependency: transitive
description:
name: photo_manager
sha256: bdc4ab1fa9fb064d8ccfea6ab44119f55b220293d7ce2e19eb5a5f998db86c88
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.6.0"
pigeon: pigeon:
dependency: transitive dependency: transitive
description: description:
......
...@@ -47,6 +47,7 @@ dependencies: ...@@ -47,6 +47,7 @@ dependencies:
flutter_easyloading: ^3.0.5 flutter_easyloading: ^3.0.5
logger: any logger: any
http_parser: ^4.0.2 http_parser: ^4.0.2
photo_manager: ^2.6.0
flutter_boost: flutter_boost:
git: git:
url: 'https://github.com/alibaba/flutter_boost.git' url: 'https://github.com/alibaba/flutter_boost.git'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment