0 purchases
protocol registry
protocol_registry #
Register/query/remove URI Schemes without hassle. Available for Windows and Linux.
Installation #
flutter pub add protocol_registry
copied to clipboard
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);
copied to clipboard
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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.