You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow additional protocol_activation to be specified,
Use-case:
Allow app to be assigned as default handlers for http and https protocol.
Although unrelated, I have a few more questions with regards to my request. Let's say the default browser was overridden, how do I add a function to reassign the default browser.
I have this sample code:
voidconfigure() {
final hkcu =Registry.currentUser;
final http = hkcu.createKey(
r'Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice');
final https = hkcu.createKey(
r'Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice');
// setting the executable path does not work// it wants the ProgId and I have no clue where to get this fromfinal progId =RegistryValue(
'ProgId', RegistryValueType.string, Platform.resolvedExecutable);
http.createValue(progId);
https.createValue(progId);
}
❓ Platform
Windows
The text was updated successfully, but these errors were encountered:
imranismail
changed the title
[FEATURE REQUEST]
[FEATURE REQUEST] Ability to specify additional protocol_activationMar 14, 2022
💬 Description
Allow additional
protocol_activation
to be specified,Use-case:
Allow app to be assigned as default handlers for
http
andhttps
protocol.Although unrelated, I have a few more questions with regards to my request. Let's say the default browser was overridden, how do I add a function to reassign the default browser.
I have this sample code:
❓ Platform
Windows
The text was updated successfully, but these errors were encountered: