Closed Azurba closed 2 months ago
Hi, Try removing package url_protocol then making a clean build should be fine.
Where did you see documentation stated to add url_protocol
package?
You shouldn't have to do anything to make the example work.
@thanhle7 unfortunately using the flutter clean didn't work for me.
@llfbandit on teh example there is an " import 'url_protocol/api.dart'; ". On a clean project, I copied and pasted the example and the registerProtocolHandler, unregisterProtocolHandler and the import got errors (. When I searched for the url_protocol package, these functions are defined there. So I assumed I had to get this package (function isn't defined and target url URI is not defined) as well.
This is not an external package. This part of lib sources... Closing this because there's nothing related to this package.
Hi! I am trying to use the app_links on a Flutter desktop (Windows) as a recommendation from OAuth2 package in an attempt to implement a redirect function, and on the documentation "READ ME" it is suggested to use the win32_registry package. However in the example code, the package url_protocol is being used to use the registerProtocolHandler on the _registerWindowsProtocol() function which is used to "Register our protocol only on the Windows platform"
Upon trying to get the package url_protocol, it has a dependency conflict with the win32_registry.
Is there any alternative to go around this issue or am I missing anything on the document and am doing anything wrong?
Thank you so much!
Does it related to
[ ] App Links (Android)
[X] Deep Links (Android)
[ ] Universal Links (iOS)
[ ] or Custom URL schemes? (iOS)
Does the example project work?
[ ] Yes
[X] No
[ ] Irrelevant here
Did you fully read the instructions for the targeted platform before submitting this issue? Yes, but I might be missing something? Uploaded your files to webserver, HTTPS, direct connection, scheme pattern setup, ...
[ ] Yes
[ ] No
[X] Irrelevant here