diff --git a/packages/permission_handler_watchos/example/README.md b/packages/permission_handler_watchos/example/README.md index ac2fe02..33017fa 100644 --- a/packages/permission_handler_watchos/example/README.md +++ b/packages/permission_handler_watchos/example/README.md @@ -1,7 +1,8 @@ # permission_handler_example -A watch demo of `permission_handler_watchos`: every permission watchOS has, -with its status. Tapping one asks for it. +`permission_handler_apple`'s own example app, on watchOS: it lists every +permission with its status and asks for one when tapped. Run it, and its +integration test, on an Apple Watch simulator with: ```sh flutter-watchos run -d diff --git a/packages/permission_handler_watchos/example/integration_test/permission_handler_test.dart b/packages/permission_handler_watchos/example/integration_test/permission_handler_test.dart index 4e7cd4d..9d8606a 100644 --- a/packages/permission_handler_watchos/example/integration_test/permission_handler_test.dart +++ b/packages/permission_handler_watchos/example/integration_test/permission_handler_test.dart @@ -37,9 +37,9 @@ void main() { expect(await Permission.storage.status, PermissionStatus.granted); expect(await Permission.storage.request(), PermissionStatus.granted); // The example has neither the Critical Alerts entitlement nor Siri, so - // neither has been asked for. Its Info.plist has no - // NSSiriUsageDescription, so Siri is not even asked about: INPreferences - // ends an app without the Siri entitlement. + // neither has been asked for. Its Info.plist does not set + // PermissionHandlerWatchosSiri, so Siri is not even asked about: + // INPreferences ends an app without the Siri entitlement. expect(await Permission.criticalAlerts.status, PermissionStatus.denied); expect(await Permission.assistant.status, PermissionStatus.denied); });