Skip to content

Commit

Permalink
更新1.3.2 sdk
Browse files Browse the repository at this point in the history
更新第三方库
  • Loading branch information
CarGuo committed Mar 3, 2019
1 parent 7ba8471 commit 5659ec4
Show file tree
Hide file tree
Showing 9 changed files with 80 additions and 71 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

### 编译运行流程

1、配置好Flutter开发环境(目前Flutter SDK 版本 **v1.1.9** 的 Tag ),可参阅 [【搭建环境】](https://flutterchina.club)
1、配置好Flutter开发环境(目前Flutter SDK 版本 **v1.3.2** 的 Tag ),可参阅 [【搭建环境】](https://flutterchina.club)

2、clone代码,执行`Packages get`安装第三方包。(因为某些不可抗力原因,国内可能需要设置代理: [代理环境变量](https://flutterchina.club/setup-windows/))

Expand All @@ -62,7 +62,7 @@

4、运行之前请注意下

>### 1、本地Flutter SDK 版本 v1.1.9 以上。2、pubspec.yaml 中的第三方包版本和 pubspec.lock 中的是否对应的上
>### 1、本地Flutter SDK 版本 v1.3.2 以上。2、pubspec.yaml 中的第三方包版本和 pubspec.lock 中的是否对应的上


Expand Down Expand Up @@ -106,7 +106,7 @@

### 第三方框架

>当前 Flutter SDK 版本 v1.1.9
>当前 Flutter SDK 版本 v1.3.2
|| 功能 |
| -------------------------- | -------------- |
Expand Down
6 changes: 3 additions & 3 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ With the use and feedback of the project, will user experience and function opti

### Operation instructions

1. Configure the Flutter development environment (Tag of the current version of Flutter SDK ** v1.1.9 **).
1. Configure the Flutter development environment (Tag of the current version of Flutter SDK ** v1.3.2 **).

2. Clone code, execute `Packages get'to install third-party packages.

Expand All @@ -60,7 +60,7 @@ With the use and feedback of the project, will user experience and function opti

4、Be careful

>### Local Flutter SDK version v1.1.9 or more. 2. Does the third-party package version in pubspec. yaml correspond to the third-party package version in pubspec. lock?
>### Local Flutter SDK version v1.3.2 or more. 2. Does the third-party package version in pubspec. yaml correspond to the third-party package version in pubspec. lock?

## Project Structure
Expand Down Expand Up @@ -97,7 +97,7 @@ With the use and feedback of the project, will user experience and function opti

### Third-party framework

>Current Flutter SDK version v1.1.9
>Current Flutter SDK version v1.3.2
|| 功能 |
| -------------------------- | -------------- |
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ android {
applicationId "com.shuyu.gsygithub.gsygithubappflutter"
minSdkVersion 16
targetSdkVersion 28
versionCode 19
versionName "1.1.9"
versionCode 20
versionName "1.2.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Expand Down
6 changes: 3 additions & 3 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ PODS:
- Flutter
- path_provider (0.0.1):
- Flutter
- permission_handler (2.1.0):
- permission_handler (3.0.0):
- Flutter
- Reachability (3.2)
- share (0.5.2):
Expand Down Expand Up @@ -89,11 +89,11 @@ SPEC CHECKSUMS:
FMDB: 6198a90e7b6900cfc046e6bc0ef6ebb7be9236aa
package_info: d7c98b64f60add4c2908b9d94d82a45d3c8827ad
path_provider: 09407919825bfe3c2deae39453b7a5b44f467873
permission_handler: ffc5769b295893830703e8a5b9101e47e12da6af
permission_handler: 03dcf3ade9d5f398b8854b366cb9de718d3daa76
Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
share: 222b5dcc8031238af9d7de91149df65bad1aef75
shared_preferences: 5a1d487c427ee18fcd3ea1f2a131569481834b53
sqflite: 801b6b0983f722fa29baf00d1476e4556ada6de4
sqflite: d1612813fa7db7c667bed9f1d1b508deffc56999
url_launcher: 92b89c1029a0373879933c21642958c874539095

PODFILE CHECKSUM: 7765ea4305eaab0b3dfd384c7de11902aa3195fd
Expand Down
4 changes: 0 additions & 4 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

/* Begin PBXBuildFile section */
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */ = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 /* flutter_assets */; };
3B1CF5E1D5F3697BA6D5E888 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BC05E0EDBFF42659F21BDE4B /* Pods_Runner.framework */; };
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
Expand Down Expand Up @@ -149,7 +148,6 @@
/* Begin PBXFileReference section */
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = "<group>"; };
4B51210C211F395A00E0C9B3 /* Pods.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Pods.xcodeproj; path = Pods/Pods.xcodeproj; sourceTree = "<group>"; };
Expand Down Expand Up @@ -218,7 +216,6 @@
9740EEB11CF90186004384FC /* Flutter */ = {
isa = PBXGroup;
children = (
2D5378251FAA1A9400D5DBA9 /* flutter_assets */,
3B80C3931E831B6300D905FE /* App.framework */,
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
9740EEBA1CF902C7004384FC /* Flutter.framework */,
Expand Down Expand Up @@ -467,7 +464,6 @@
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */,
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
4 changes: 2 additions & 2 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.1.9</string>
<string>1.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>18</string>
<string>20</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
3 changes: 1 addition & 2 deletions lib/common/utils/CommonUtils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ class CommonUtils {

static saveImage(String url) async {
Future<String> _findPath(String imageUrl) async {
final cache = await CacheManager.getInstance();
final file = await cache.getFile(imageUrl);
final file = await DefaultCacheManager().getSingleFile(url);
if (file == null) {
return null;
}
Expand Down
Loading

0 comments on commit 5659ec4

Please sign in to comment.