diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index 648d2a3a..4c59afdd 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,6 @@ + { ? EdgeInsets.all(50) : EdgeInsets.zero; }); - }, "resize") + }, "resize"), + _item(() async { + await Permission.microphone.request(); + }, "request permissions (tests inactive->resume)") ]); if (_animations != null) { children.addAll(_animations!.map((a) => _item(() { diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 41f6602c..8a00efd2 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -20,7 +20,7 @@ dependencies: path_provider: polyvox_filament: path: ../ - + permission_handler: cupertino_icons: ^1.0.2 dev_dependencies: