Support web implementation of permission_handler (#1121)
* added integration tests * added basic integration tests * updated integration tests * continued integration tests * added unit test file * Move each permission request to its own private method * Add unit tests and fake web permission handler plugin * added unit tests for camera and microphone * Updated documentation files * Create superclass web_handler.dart * Use OOP delegation pattern for web_handler * Change web_handler.dart to web_delegate.dart * Make WebDelegate class initialization lazy * Create unit test for each method and permission * removed redundant integration_test module * remove redundant test_driver module * Revert unneeded files and add api docs * Add geolocation to web permission_handler * Formatted web_delegate.dart * Avoid swallowing request permission exception * Replace UnimplementedError with UnsupportedError for requestPermissions method Co-authored-by: Maurits van Beusekom <maurits@baseflow.com> * Make WebDelegate instance variables private --------- Co-authored-by: Victor Sanni <victorsanni@google.com> Co-authored-by: Maurits van Beusekom <maurits@baseflow.com>
Showing
permission_handler_web/.metadata
0 → 100644
permission_handler_web/CHANGELOG.md
0 → 100644
permission_handler_web/LICENSE
0 → 100644
permission_handler_web/README.md
0 → 100644
permission_handler_web/example/.gitignore
0 → 100644
permission_handler_web/example/.metadata
0 → 100644
permission_handler_web/example/README.md
0 → 100644
permission_handler_web/example/lib/main.dart
0 → 100644
permission_handler_web/example/pubspec.yaml
0 → 100644
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
permission_handler_web/lib/web_delegate.dart
0 → 100644
permission_handler_web/pubspec.yaml
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment