protocol_registry 0.0.5 copy "protocol_registry: ^0.0.5" to clipboard
protocol_registry: ^0.0.5 copied to clipboard

Register/query/remove URI Schemes without hassle. Available for Windows and Linux.

protocol_registry #

Register/query/remove URI Schemes without hassle. Available for Windows and Linux.

Installation #

flutter pub add protocol_registry

Usage #

/** Get the registry */
final ProtocolRegistryModel registry = getRegistry();

/** Query */
await registry.find(scheme);
await registry.exists(scheme);

/** Add */
await registry.add(scheme);

/** Remove */
await registry.remove(scheme);

Check ./example for examples.

Additional information #

This package has not been completely tested on Linux. MacOS schemes can be added by modifying the Info.plist file. Contributions are always welcomed.

4
likes
140
pub points
1%
popularity

Publisher

unverified uploader

Register/query/remove URI Schemes without hassle. Available for Windows and Linux.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, path

More

Packages that depend on protocol_registry