Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit a3f9ce7

Browse files
authored
[pathprovider] Fix fall through bug (#1993)
* [pathprovider] Fix fall through bug
1 parent f31cb36 commit a3f9ce7

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

packages/path_provider/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.2.1
2+
3+
* Fix fall through bug.
4+
15
## 1.2.0
26

37
* On Android, `getApplicationSupportDirectory` is now supported using `getFilesDir`.

packages/path_provider/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public void onMethodCall(MethodCall call, Result result) {
4040
break;
4141
case "getApplicationSupportDirectory":
4242
result.success(getApplicationSupportDirectory());
43+
break;
4344
default:
4445
result.notImplemented();
4546
}

packages/path_provider/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for getting commonly used locations on the Android &
33
iOS file systems, such as the temp and app data directories.
44
author: Flutter Team <[email protected]>
55
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider
6-
version: 1.2.0
6+
version: 1.2.1
77

88
flutter:
99
plugin:

0 commit comments

Comments
 (0)