# permission_handler_html 0.1.4+1

Permission plugin for Flutter. This plugin provides the web API to request and check permissions.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add permission_handler_html
```
Published: 2026-08-01T07:34:58.715360Z
Expected archive SHA-256: 6ea98b3f17f60d3b527f2647ed2ab4dc0f6bfe25b22cb1c363f5d8f62252f6ac

Available in cache; verification: upstream_checksum
## Direct dependencies
- flutter: map[sdk:flutter]
- flutter_web_plugins: map[sdk:flutter]
- permission_handler_platform_interface: ^4.1.0
- web: >=0.5.1 <2.0.0

## Package README (untrusted upstream documentation)
# permission_handler_html

[![pub package](https://img.shields.io/pub/v/permission_handler_html.svg)](https://pub.dartlang.org/packages/permission_handler_html) ![Build status](https://github.com/Baseflow/flutter-permission-handler/workflows/permission_handler_html/badge.svg?branch=master) [![style: flutter lints](https://img.shields.io/badge/style-flutter_lints-40c4ff.svg)](https://pub.dev/packages/flutter_lints)

The official web implementation of the [permission_handler](https://pub.dev/packages/permission_handler) plugin by [Baseflow](https://baseflow.com).

## Usage

This is the officially endorsed web implementation of the permission_handler plugin. This means it will automatically be added to your dependencies when you depend on `permission_handler` in your applications pubspec.yaml.

More detailed instructions on using the API can be found in the [README.md](../permission_handler/README.md) of the [permission_handler](https://pub.dev/packages/permission_handler) package.

## Issues

Please file any issues, bugs, or feature requests as an issue on our [GitHub](https://github.com/Baseflow/flutter-permission-handler/issues) page. Commercial support is available, you can contact us at <hello@baseflow.com>.

## Want to contribute

If you would like to contribute to the plugin (e.g. by improving the documentation, solving a bug, or adding a cool new feature), please carefully review our [contribution guide](../CONTRIBUTING.md) and send us your [pull request](https://github.com/Baseflow/flutter-permission-handler/pulls).

## Author

This permission_handler plugin for Flutter is developed by [Baseflow](https://baseflow.com).

## Changelog
## 0.1.4+1

* Replaces runtime-unsafe .isA<web.DOMException>() calls with Dart is web.DOMException checks to fix web release build failures. 

## 0.1.4+0

* Adds support for the new Android 17 permission `ACCESS_LOCAL_NETWORK`

## 0.1.3+5

- Updates the way how `window.navigator.mediaDevices` is accessed to keep supporting WASM.

## 0.1.3+4

- Fixes a bug causing the application to crash when running on HTTP protocol (not HTTPS or localhost) and the `window.navigator.mediaDevices` property is `null`.

## 0.1.3+3

- Safari < 16 compatibility: Don't crash on missing `window.navigator.permissions` property

## 0.1.3+2

- `web: 1.0.0` compatibility: `PermissionDescriptor` was removed in web package.

## 0.1.3+1

- Fixes the PermissionDescriptor Error when getting the permission status.

## 0.1.3

* Adds support for `web: ^1.0.0`

## 0.1.2

- Migrate to package:web and adding wasm support.

## 0.1.1

- Updates the dependency on `permission_handler_platform_interface` to version 4.1.0 (SiriKit support is only available for iOS and macOS).

## 0.1.0+2

- Fixes plugin initialization for non-https web app.
- Fixes location permission name.
- Improves error handling in the example app.

## 0.1.0+1

- Updates `permission_handler_platform_interface` dependency to version `^4.0.2`.

## 0.1.0

- Adds an initial implementation of Web support for the permission_handler plugin with camera, notifications, and microphone permissions available.







 
