Skip to content

Commit b45594c

Browse files
committed
Merge branch 'master' into add_zoom_to_android_webview
* master: Fix test exclusion logic for nnbd plugins (flutter#3342) [camera] Zoom functionality for Android and iOS (flutter#3315) Add implementation of didFinishProcessingPhoto callback (flutter#3337) [camera] Flash functionality for Android and iOS (flutter#3314) # Conflicts: # packages/webview_flutter/CHANGELOG.md # packages/webview_flutter/example/pubspec.yaml
2 parents a2110c7 + b4466e7 commit b45594c

File tree

41 files changed

+1307
-98
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1307
-98
lines changed

.cirrus.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,16 @@ task:
3939
- flutter channel $CHANNEL
4040
- ./script/incremental_build.sh test
4141
- name: analyze
42+
env:
43+
matrix:
44+
CHANNEL: "master"
45+
CHANNEL: "stable"
4246
script: ./script/incremental_build.sh analyze
4347
- name: build_all_plugins_apk
48+
env:
49+
matrix:
50+
CHANNEL: "master"
51+
CHANNEL: "stable"
4452
script:
4553
# TODO(jackson): Allow web plugins once supported on stable
4654
# https://github.com/flutter/flutter/issues/42864
@@ -144,6 +152,10 @@ task:
144152
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-13-3 | xargs xcrun simctl boot
145153
matrix:
146154
- name: build_all_plugins_ipa
155+
env:
156+
matrix:
157+
CHANNEL: "master"
158+
CHANNEL: "stable"
147159
script:
148160
# TODO(jackson): Allow web plugins once supported on stable
149161
# https://github.com/flutter/flutter/issues/42864

packages/android_intent/test/android_intent_test.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
// @dart = 2.9
6+
57
import 'package:android_intent/flag.dart';
68
import 'package:flutter/services.dart';
79
import 'package:flutter_test/flutter_test.dart';
@@ -11,7 +13,8 @@ import 'package:platform/platform.dart';
1113

1214
void main() {
1315
AndroidIntent androidIntent;
14-
late MockMethodChannel mockChannel;
16+
MockMethodChannel mockChannel;
17+
1518
setUp(() {
1619
mockChannel = MockMethodChannel();
1720
when(mockChannel.invokeMethod<bool>('canResolveActivity', any))

packages/camera/camera/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 0.6.2
2+
3+
* Add zoom support for Android and iOS implementations.
4+
5+
## 0.6.1+1
6+
7+
* Added implementation of the `didFinishProcessingPhoto` on iOS which allows saving image metadata (EXIF) on iOS 11 and up.
8+
9+
## 0.6.1
10+
11+
* Add flash support for Android and iOS implementations.
12+
113
## 0.6.0+2
214

315
* Fix outdated links across a number of markdown files ([#3276](https://github.com/flutter/plugins/pull/3276))

packages/camera/camera/android/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:3.3.0'
12+
classpath 'com.android.tools.build:gradle:3.5.0'
1313
}
1414
}
1515

@@ -40,16 +40,16 @@ android {
4040
sourceCompatibility = '1.8'
4141
targetCompatibility = '1.8'
4242
}
43-
dependencies {
44-
implementation 'androidx.annotation:annotation:1.0.0'
45-
implementation 'androidx.core:core:1.0.0'
46-
}
4743
testOptions {
44+
unitTests.includeAndroidResources = true
4845
unitTests.returnDefaultValues = true
4946
}
5047
}
5148

5249
dependencies {
50+
compileOnly 'androidx.annotation:annotation:1.1.0'
5351
testImplementation 'junit:junit:4.12'
5452
testImplementation 'org.mockito:mockito-core:3.5.13'
53+
testImplementation 'androidx.test:core:1.3.0'
54+
testImplementation 'org.robolectric:robolectric:4.3'
5555
}

0 commit comments

Comments
 (0)