Does Supabase Dart package support windows platfor...
# flutter
j
Does Supabase Dart package support windows platform. while following the quick start i seem to get this error in my console logs.
Copy code
[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method getInitialLink on channel uni_links/messages)
#0      MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:154
<asynchronous suspension>
#1      getInitialUri
package:uni_links/uni_links.dart:15
<asynchronous suspension>
#2      SupabaseDeepLinkingMixin._handleInitialUri
package:supabase_flutter/src/supabase_deep_linking_mixin.dart:52
<asynchronous suspension>

════════ Exception caught by services library ══════════════════════════════════
The following MissingPluginException was thrown while activating platform stream on channel uni_links/events:
MissingPluginException(No implementation found for method listen on channel uni_links/events)

When the exception was thrown, this was the stack
#0      MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:154
<asynchronous suspension>
#1      EventChannel.receiveBroadcastStream.<anonymous closure>
package:flutter/…/services/platform_channel.dart:486
<asynchronous suspension>
while the windows application itself is giving me an OS error message.
z
did u use the
supabase_flutter
package?
or just the
supabase
package
because
supabase_flutter
doesnt have official support of windows
thats why i just used the
supabase
package
the flutter one gives u a few utility classes
which u can write for the windows version of ur app urself
j
i used supabase flutter. ty! i will check it out!
b
Unfortunatelly the supabase_flutter package does not support desktop
That's because of uni links, which is a dependency that adds deep linking to the auth part of the package
j
@User so is it possible to achieve a desktop compilation with flutter? just using the supabase package only?
z
absolutely
i use the supabase package
and it builds fine on windows
works as u would expect
u can look at the source of the supabase_flutter package and filter out the deeplinking code
b
I also do. It works fine
j
yeah i will attempt today!
if we remove the deeplinking code with unilinks, does that mean windows platform doesnt need it? or supabase package handles it?
just the authentication redirect part is what im concerned for
z
i dont think the supabase package handles any deeplinking for windows
ive never used redirect for authenticating so im not sure 😅
b
this is the thing. the auth flow here is different
no deeplinking
unfortunately
j
First of all. my gratitude to both of you for taking the time out and answering my questions. thanks! Yeah, im writing up a sample project just to see how auth gets handled from a flutter desktop perspective. if you guys have any sample code or tutorials please help me out as well.