Skip to content

Commit 5afacfc

Browse files
bparrishMinesmauricioluz
authored andcommitted
[webview_flutter_android] Updates pigeon version to support null safety (flutter-team-archive#5395)
1 parent f4494ad commit 5afacfc

17 files changed

Lines changed: 722 additions & 547 deletions

‎packages/webview_flutter/webview_flutter_android/CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.8.6
2+
3+
* Updates pigeon developer dependency to the latest version which adds support for null safety.
4+
15
## 2.8.5
26

37
* Migrates deprecated `Scaffold.showSnackBar` to `ScaffoldMessenger` in example app.

‎packages/webview_flutter/webview_flutter_android/README.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ normally. This package will be automatically included in your app when you do.
99

1010
## Contributing
1111

12-
This package uses [pigeon][3] to generate the communication layer between Flutter and the host platform (Android). The communication interface is defined in the `pigeons/android_webview.dart` file. After editing the communication interface regenerate the communication layer by running the `./generatePigeons.sh` shell script.
12+
This package uses [pigeon][3] to generate the communication layer between Flutter and the host
13+
platform (Android). The communication interface is defined in the `pigeons/android_webview.dart`
14+
file. After editing the communication interface regenerate the communication layer by running
15+
`flutter pub run pigeon --input pigeons/android_webview.dart`.
1316

1417
Due to [flutter/flutter#97744](https://github.com/flutter/flutter/issues/97744), the generated test
1518
pigeon file needs one of its imports updated to properly work with `mockito`.
@@ -26,7 +29,8 @@ to
2629
import 'package:webview_flutter_android/src/android_webview.pigeon.dart';
2730
```
2831

29-
Besides [pigeon][3] this package also uses [mockito][4] to generate mock objects for testing purposes. To generate the mock objects run the following command:
32+
Besides [pigeon][3] this package also uses [mockito][4] to generate mock objects for testing
33+
purposes. To generate the mock objects run the following command:
3034
```bash
3135
flutter packages pub run build_runner build --delete-conflicting-outputs
3236
```

0 commit comments

Comments
 (0)